--- license: mit language: - ru tags: - natural-language-processing - poetry-generation - text-generation - tensorflow - lstm --- This model is trained in 2017 with TensorFlow as character-based. Poems by contemporary neo-avant-garde poet Natalia Azarova served as the training corpus. ## Usage To generate new samples, run the script `sample_azarova.py`. The scripts `utils.py` and `model.py` should be in the same folder, and the `save` folder with the model files should be a subfolder (its location can be changed in the script in line 22). ## Train data Train data is non free due to copyright restrictions. But you can find almost all of them on the personal [website of Natalia Azarova](http://natalia-azarova.com/cgi-bin/index.pl?p=poetry_books) ## What for? In an era of winning Transformers, ancient RNN models seem archaic. But I see that they still work better than modern architectures with such important categories from the humanities point of view as poetic style. ## Samples ### верлибр 1 ``` архив- пишет думально под ниговор на за свизантики ду стение и неба подобна Москва 20 – 25 сентября 2006 могу не озеро горизонта синих глубок луг на бахли на стаю болтлизись? слежу ночи кораллов гадаю облаками сэнимальной луна? Ялта 19 сентября ``` ### верлибр 2 ``` ягой углубургслов лисли-от из твёрдой самородный данный глядеть? Эль 7 20 февраль 23-28 апрель 7 фовтом, 3 мая Москва – О2брелье 3 мая 2009 вечеро́м полной с ползёт или деррагона скользить? Москва 23 апреля 2008 ``` ## BibTeX entry and citation info The samples were published in a book published for Natalia Azarova's anniversary, see file `neural_azarova.pdf`. For citation: ``` @inbook{orekhov2017azarova, place={Москва}, title={Нейронная сеть сочиняет стихи Натали Азаровой}, booktitle={Подарок Наталии Азаровой: Сборник статей к юбилею Н. М. Азаровой}, publisher={Культурная революция}, author={Orekhov, Boris}, year={2017}, pages={147–150} } ```