Skip to content

Latest commit

 

History

History
 
 

chap6_RNN

循环神经网络(RNN)

问题描述:

利用循环神经网络,实现唐诗生成任务。

数据集:

唐诗

题目要求:

补全程序,主要是前面的3个空和 生成诗歌的一段代码。(tensorflow) [pytorch 需要补全 对应的 rnn.py 文件中的两处代码]

生成诗歌 开头词汇是 “ 日 、 红 、 山 、 夜 、 湖、 海 、 月 。

参考文献:

​ Xingxing Zhang and Mirella Lapata. 2014. Chinese poetry generation with recurrent neural networks. In Proceedings of the 2014 Conference on EMNLP. Association for Computational Linguistics, October

并且参考了这篇博客 https://blog.csdn.net/Irving_zhang/article/details/76664998