Open_QG:开源QG系统(Question Generation,问题生成),基于Pytorch和Transformer编写-源码

上传者: 42131367 | 上传时间: 2021-07-08 19:48:23 | 文件大小: 6.18MB | 文件类型: ZIP
开源QG系统(Question Generation,问题生成) 当前实验结果不理想,但确实是按照标准变压器实现的,有兴趣的大佬拿来做baseline的话提升空间应该会很大(手动滑稽)作者目前在做别的QG研究,暂时无暇继续完善该项目,有兴趣的大佬可以直接叉,也欢迎在issue区留言或者直接找到作者的联系方式 系统基本介绍 使用Python版本:Python3.6(其中模型评估部分脚本基于Python2.7)使用深度学习框架:Pytorch0.4.1使用模型结构:变压器使用数据集:SQuAD(可扩展到其他QG数据集) 代码运行方式: ./pipeline.sh [指定运行模式] [指定GPU] 指定运行模式包括: 0:安装依赖包1:加载数据集2:数据预处理3:模型训练4:模型测试5:模型评估6:测试演示 可以同时指定多个运行模式,例如希望顺序执行“ 3:模型训练”和“ 4:模型测试”阶

文件下载

资源详情

[{"title":"( 37 个子文件 6.18MB ) Open_QG:开源QG系统(Question Generation,问题生成),基于Pytorch和Transformer编写-源码","children":[{"title":"Open_QG-master","children":[{"title":"pipeline.sh <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"vocab.py <span style='color:#111;'> 6.77KB </span>","children":null,"spread":false},{"title":"beam.py <span style='color:#111;'> 9.20KB </span>","children":null,"spread":false},{"title":"train.py <span style='color:#111;'> 11.69KB </span>","children":null,"spread":false},{"title":"rnnsearch.py <span style='color:#111;'> 5.71KB </span>","children":null,"spread":false},{"title":"test.py <span style='color:#111;'> 5.96KB </span>","children":null,"spread":false},{"title":"app.py <span style='color:#111;'> 877B </span>","children":null,"spread":false},{"title":"dataset.py <span style='color:#111;'> 6.65KB </span>","children":null,"spread":false},{"title":"optimizer.py <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"load_dataset.py <span style='color:#111;'> 7.55KB </span>","children":null,"spread":false},{"title":"demo.py <span style='color:#111;'> 4.13KB </span>","children":null,"spread":false},{"title":"transformer.py <span style='color:#111;'> 23.97KB </span>","children":null,"spread":false},{"title":"logger.py <span style='color:#111;'> 573B </span>","children":null,"spread":false},{"title":"preprocess.py <span style='color:#111;'> 9.12KB </span>","children":null,"spread":false},{"title":"params.py <span style='color:#111;'> 9.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"evaluate","children":[{"title":"__init__.py <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"meteor","children":[{"title":"meteor.py <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"meteor-1.5.jar <span style='color:#111;'> 6.03MB </span>","children":null,"spread":false}],"spread":true},{"title":"multi-bleu.perl <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"eval.py <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"bleu","children":[{"title":"bleu_scorer.py <span style='color:#111;'> 8.58KB </span>","children":null,"spread":false},{"title":"bleu.py <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 6B </span>","children":null,"spread":false}],"spread":true},{"title":"rouge","children":[{"title":"__init__.py <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"rouge.py <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false}],"spread":true},{"title":"cider","children":[{"title":"cider_scorer.py <span style='color:#111;'> 7.51KB </span>","children":null,"spread":false},{"title":"cider.py <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 21B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 6B </span>","children":null,"spread":false}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false},{"title":"image","children":[{"title":"demo.png <span style='color:#111;'> 120.54KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 44B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明