资源简介

基于GPT2模型的5言和7言诗歌生成的测试项目,使用pytorch 框架,里面包含了几万首古诗和已经编好码的字典和数据集,由于模型太大,上传不便,大家自己跑一下训练代码就可以了,跑了20轮之后的模型,目测效果还可以,至少我本人是写不出来这些诗歌了,哈哈

资源截图

代码片段和文件信息

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        459  2020-02-21 08:46  gpt2_chinese_poetry\.idea\gpt2_chinese_poetry.iml

     文件        170  2020-02-21 08:46  gpt2_chinese_poetry\.idea\markdown-navigator\profiles_settings.xml

     文件       6970  2020-02-21 08:46  gpt2_chinese_poetry\.idea\misc.xml

     文件        290  2020-02-21 08:46  gpt2_chinese_poetry\.idea\modules.xml

     文件      35977  2020-02-21 11:16  gpt2_chinese_poetry\.idea\workspace.xml

     文件       2566  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\1.txt

     文件        239  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10.txt

     文件        240  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\100.txt

     文件        240  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\1000.txt

     文件        470  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10000.txt

     文件        234  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10001.txt

     文件        299  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10002.txt

     文件        238  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10003.txt

     文件        475  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10004.txt

     文件        523  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10005.txt

     文件        350  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10006.txt

     文件        354  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10007.txt

     文件        239  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10008.txt

     文件        234  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10009.txt

     文件        241  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\1001.txt

     文件        474  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10010.txt

     文件        354  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10011.txt

     文件        238  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10012.txt

     文件        122  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10013.txt

     文件        240  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10014.txt

     文件        235  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10015.txt

     文件        231  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10016.txt

     文件        121  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10017.txt

     文件        182  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10018.txt

     文件        294  2020-02-21 09:40  gpt2_chinese_poetry\encoded\5yan\10019.txt

............此处省略89824个文件信息

评论

共有 条评论