📜 ⬆️ ⬇️

Self-made bot writes erotic stories

Erotic literature is stereotyped: the same exciting words, epithets and, of course, the same actions. Same ideal conditions of creativity for a bot!

Journalist Daniela Hernandez (Daniela Hernandez, pictured) decided to test this theory .

A familiar programmer told her that it took at least 750,000 words to train a neural network, so the search for texts took some time. She downloaded works from several specialized electronic libraries, where erotica is published under the Creative Commons license, and also asked the authors to share their novels for the experiment.

For learning "erotic bot" took the free program char-rnn - a multi-level recurrent neural network that learns to predict the next letters in the sequence. On samples of eroticism like “Immortal Simpsons” from the Daniela library, the neural network should have learned to compose the corresponding words and sentences.
')
The girl had no programming experience, but he was not needed. On the Internet you can find clear instructions on how to train char-rnn. By the way, German developer Samim Winiger (Samim Winiger) gave a TED lecture on this topic. He previously created a neural network that can recognize porn on video. That is, Winiger is an experienced specialist in the field of, say, neural networks.

Then Daniela registered at the Terminal cloud service, uploaded the collected texts there and started the char-rnn in the virtual machine.



The virtual machine did not cost too much: $ 0.006 per hour. After several days of training, Erotibot was ready to compose his own works.

For the bot to work, you need to enter the first phrases, and then he himself. For example, here are some samples in the text and audio option (speech synthesizer from Acapela Box ).





It must be admitted, the bot's vocabulary is weird, sometimes it even uses non-existent words. But this is just an amateur handicraft on a small dictionary base. Another thing, if the creation of such programs will take professionals ...

Source: https://habr.com/ru/post/365801/


All Articles