Generate poems using seq2seq model.
NOTE: We cannot guarantee any effectiveness of this model. Since nobody will maintain this repo, it will be archived from now.
- tensorflow 1.14 (cpu or gpu)
- gensim
- Clone this repo.
- Install dependencies.
- Set
model.GPU
if you'd like to useCudnnLSTM
; ElseLSTMBlockFusedCell
. - Run
word2vec.py
at the first time. - Run
train.py
.wujue
is better for a test. - Run
compose.py
. Choose only the trained model.
@jinfagang tensorflow_poems