nevmenandr
commited on
Commit
•
d6b3bde
1
Parent(s):
2ed3359
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,89 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
language:
|
4 |
+
- ru
|
5 |
+
tags:
|
6 |
+
- natural-language-processing
|
7 |
+
- poetry-generation
|
8 |
+
- text-generation
|
9 |
+
- tensorflow
|
10 |
+
- lstm
|
11 |
+
---
|
12 |
+
|
13 |
+
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.
|
14 |
+
|
15 |
+
## Usage
|
16 |
+
|
17 |
+
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).
|
18 |
+
|
19 |
+
## Train data
|
20 |
+
|
21 |
+
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)
|
22 |
+
|
23 |
+
## What for?
|
24 |
+
|
25 |
+
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.
|
26 |
+
|
27 |
+
## Samples
|
28 |
+
|
29 |
+
### верлибр 1
|
30 |
+
|
31 |
+
```
|
32 |
+
архив-
|
33 |
+
пишет думально
|
34 |
+
под ниговор на
|
35 |
+
за свизантики
|
36 |
+
ду стение и неба подобна
|
37 |
+
|
38 |
+
Москва
|
39 |
+
20 – 25 сентября 2006
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
могу не озеро горизонта
|
44 |
+
синих глубок луг на бахли на стаю
|
45 |
+
болтлизись?
|
46 |
+
слежу ночи кораллов гадаю облаками
|
47 |
+
сэнимальной луна?
|
48 |
+
|
49 |
+
Ялта
|
50 |
+
|
51 |
+
19 сентября
|
52 |
+
```
|
53 |
+
|
54 |
+
### верлибр 2
|
55 |
+
|
56 |
+
```
|
57 |
+
ягой углубургслов лисли-от
|
58 |
+
|
59 |
+
из твёрдой
|
60 |
+
самородный данный глядеть?
|
61 |
+
|
62 |
+
Эль 7 20 февраль 23-28 апрель 7 фовтом, 3 мая
|
63 |
+
Москва – О2брелье
|
64 |
+
3 мая 2009
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
вечеро́м полной с ползёт или деррагона скользить?
|
69 |
+
|
70 |
+
Москва
|
71 |
+
23 апреля 2008
|
72 |
+
```
|
73 |
+
|
74 |
+
|
75 |
+
## BibTeX entry and citation info
|
76 |
+
|
77 |
+
The samples were published in a book published for Natalia Azarova's anniversary, see file `neural_azarova.pdf`. For citation:
|
78 |
+
|
79 |
+
```
|
80 |
+
@inbook{orekhov2017azarova,
|
81 |
+
place={Москва},
|
82 |
+
title={Нейронная сеть сочиняет стихи Натали Азаровой},
|
83 |
+
booktitle={Подарок Наталии Азаровой: Сборник статей к юбилею Н. М. Азаровой},
|
84 |
+
publisher={Культурная революция},
|
85 |
+
author={Orekhov, Boris},
|
86 |
+
year={2017},
|
87 |
+
pages={147–150}
|
88 |
+
}
|
89 |
+
```
|