An open API service indexing awesome lists of open source software.

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.

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.