Skip to content

ForgQi/RNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rnn

rnn写诗 main.py 运行进行训练

writes poetry.py 里的gen(‘参数’)参数给数字前多少字随机写诗,给汉字以什么字为开头写诗

如 gen(‘人’)

人近似长安,经帆更夕阳。
隔官凭此日,随意见闲人。
灯积云云远,山深夜鸟惊。
踟蹰明更近,又醉欲难怜。

About

compose a poem base on LSTM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages