BertSum:纸的代码微调BERT,用于提取摘要

上传者: 42099814 | 上传时间: 2022-05-06 20:58:07 | 文件大小: 14.99MB | 文件类型: ZIP
BertSum 该代码是针对纸质Fine-tune BERT for Extractive Summarization ( ) !新:请查看我们的其中包含受过训练的模型 CNN / Dailymail的结果(25/3/2019): 楷模 ROUGE-1 ROUGE-2 ROUGE-L 变压器基线 40.9 18.02 37.17 BERTSUM +分类器 43.23 20.22 39.60 BERTSUM +变压器 43.25 20.24 39.63 BERTSUM + LSTM 43.22 20.17 39.59 Python版本:此代码在Python3.6中 软件包要求:pytorch pytorch_pretrained_bert tensorboardX多进程pyrouge 一些代码是从ONMT借来的( ) CNN / Dailymail

文件下载

资源详情

[{"title":"( 36 个子文件 14.99MB ) BertSum:纸的代码微调BERT,用于提取摘要","children":[{"title":"BertSum-master","children":[{"title":"models","children":[{"title":".gitignore <span style='color:#111;'> 13B </span>","children":null,"spread":false}],"spread":true},{"title":"logs","children":[{"title":".gitignore <span style='color:#111;'> 13B </span>","children":null,"spread":false}],"spread":true},{"title":"raw_data","children":[{"title":".gitignore <span style='color:#111;'> 13B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"json_data","children":[{"title":"cnndm_sample.train.0.json <span style='color:#111;'> 83.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"models","children":[{"title":"neural.py <span style='color:#111;'> 7.91KB </span>","children":null,"spread":false},{"title":"encoder.py <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"reporter.py <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false},{"title":"model_builder.py <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"data_loader.py <span style='color:#111;'> 7.38KB </span>","children":null,"spread":false},{"title":"stats.py <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"optimizers.py <span style='color:#111;'> 9.19KB </span>","children":null,"spread":false},{"title":"rnn.py <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"trainer.py <span style='color:#111;'> 15.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"others","children":[{"title":"pyrouge.py <span style='color:#111;'> 22.89KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"logging.py <span style='color:#111;'> 692B </span>","children":null,"spread":false}],"spread":true},{"title":"train.py <span style='color:#111;'> 12.62KB </span>","children":null,"spread":false},{"title":"preprocess.py <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"prepro","children":[{"title":"utils.py <span style='color:#111;'> 870B </span>","children":null,"spread":false},{"title":"data_builder.py <span style='color:#111;'> 11.88KB </span>","children":null,"spread":false},{"title":"smart_common_words.txt <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"distributed.py <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"results","children":[{"title":".gitignore <span style='color:#111;'> 13B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 5.13KB </span>","children":null,"spread":false},{"title":"bert_data","children":[{"title":".gitignore <span style='color:#111;'> 13B </span>","children":null,"spread":false}],"spread":true},{"title":"urls","children":[{"title":"mapping_train.txt <span style='color:#111;'> 44.27MB </span>","children":null,"spread":false},{"title":"cnn_mapping_train.txt <span style='color:#111;'> 9.95MB </span>","children":null,"spread":false},{"title":"mapping_valid.txt <span style='color:#111;'> 2.32MB </span>","children":null,"spread":false},{"title":"cnn_mapping_valid.txt <span style='color:#111;'> 139.48KB </span>","children":null,"spread":false},{"title":"cnn_mapping_test.txt <span style='color:#111;'> 129.94KB </span>","children":null,"spread":false},{"title":"mapping_test.txt <span style='color:#111;'> 2.01MB </span>","children":null,"spread":false}],"spread":true},{"title":"bert_config_uncased_base.json <span style='color:#111;'> 313B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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