https://github.com/airaria/rnnchinesepoem
Generate Chinese poems using RNN and other techniques.
https://github.com/airaria/rnnchinesepoem
deep-learning language-model poem rnn tensorflow
Last synced: 10 days ago
JSON representation
Generate Chinese poems using RNN and other techniques.
- Host: GitHub
- URL: https://github.com/airaria/rnnchinesepoem
- Owner: airaria
- License: mit
- Created: 2017-08-25T12:55:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-20T16:16:54.000Z (almost 9 years ago)
- Last Synced: 2025-08-27T14:34:17.239Z (10 months ago)
- Topics: deep-learning, language-model, poem, rnn, tensorflow
- Language: Python
- Size: 3.17 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RNNChinesePoem
A RNN-based LM model trained on quan_tang_shi.txt dataset, which can be used to generate poems.
The ckpt files are saved to save_model/.
the tensorboard's graph files are saved to graphs/.
## 更新说明
添加了平仄。
添加了NCE loss.
## Requirements
- python 3.X
- Tensorflow >= 1.2
## Usage
TODO。
目前参数写在main.py里。修改后直接运行python main.py 即可。
TODO:
- add tones. Done.
- add rhymes.
- add attention mechanism.
## Acknowledgements
quan_tang_shi.txt 来自 hx364/Chinese_Poem_RNN.
Inspired by wzyonggege/RNN_poetry_generator and hzy46/Char-RNN-tensorflow.