Samyro 0.0.1 – development update

Last week I posted a new Python package to Pypi: Samyro, my toolkit for doing RNN-based character synthesis of new text from given text.

I summarize in tweets the journey to the release of the project.  There’s lots more to do, but much of the experimentation now is based on changing the input texts that it reads for comic/artistic/aesthetic effect.

I started out running the PrettyTensor example kit on RNN Shakespeare reading/generation:

and I quickly discovered that early training passes (slowly) approximate the character distribution of English, in weirdly poetic ways. I decided to focus on the poetry of it:

and found that it was eerily …angry:

I decided to build out the general idea into a toolkit for text generation, exposing the interesting variables of the toolkit (the sizes of the network, the input text sources, etc) as library (and CLI) control variables.

I named the project after Tristan Tzara, who is a surprisingly awesome figure in the “nihilist side” of the Dada movement (in addition to other things, he fought with the Republicans in the Spanish Civil War, which sounds pretty non-nihilist to me.)

and found that continuing to train on Shakespeare got more and more … iambic:

But then I found that the project name tzara was already taken on Pypi, so I adjusted to use the name “Samyro”, after an earlier pseudonym of Tzara’s.  I also started to play with texts besides Shakespeare:

and then @eldang started trouble by suggesting TimeCube:

I decided it was wise to release the code when it published its own Time Cube manifesto as a snippet:

Intelligence and induced for a singularity is destroyed but to death of the
evil ever the death rotation.

Evil Singularity

I’ve also done some work with War and Peace, with anecdotal evidence that it can learn vocabulary appropriately as well.

This entry was posted in doggerel, linguistics, Patterns, programming. Bookmark the permalink.