bert_score:文本生成的BERT分数-源码

上传者: 42162216 | 上传时间: 2021-05-06 15:28:42 | 文件大小: 956KB | 文件类型: ZIP
BERTScore 论文(ICLR 2020)中介绍了自动评估指标。 新闻: 更新至版本0.3.7 与Huggingface的变压器版本> = 4.0.0兼容。 感谢公共贡献者( , , )。 如果您想在COCO字幕数据集上复制我们的实验,请参见 。 更新至版本0.3.6 支持自定义基准文件 选项--rescale-with-baseline更改为--rescale_with_baseline以便与其他选项一致。 更新至版本0.3.5 与Huggingface的变形金刚> = v3.0.0和次要修复程序( , , )兼容 与效率相关的几项改进( , ) 更新至版本0.3.4 立即与变形金刚v2.11.0兼容(#58) 对于中国人来说,下载预先训练的体重可能很慢。 我们在百度盘上提供了一些模型的副本。 密码:dhe5 密码:jvk7 cased密码:yx3q 库在其度量标准集合中包括BERTScore。 更新至版本0.3.3 使用空字符串修复错误。 支持6种模型和24种较小的模型。 新增了一个用于保持WMT16英制上不同模型的性能(即

文件下载

资源详情

[{"title":"( 99 个子文件 956KB ) bert_score:文本生成的BERT分数-源码","children":[{"title":"bert_score-master","children":[{"title":"MANIFEST.in <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"bert_score_cli","children":[{"title":"score.py <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"visualize.py <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 149B </span>","children":null,"spread":false},{"title":"bert_score.png <span style='color:#111;'> 274.20KB </span>","children":null,"spread":false},{"title":"upload_pypi.sh <span style='color:#111;'> 76B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"example","children":[{"title":"hyps.txt <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"refs.txt <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"refs2.txt <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"Demo.ipynb <span style='color:#111;'> 373.44KB </span>","children":null,"spread":false},{"title":"demo.py <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"hyps_long.txt <span style='color:#111;'> 320.66KB </span>","children":null,"spread":false},{"title":"refs_long.txt <span style='color:#111;'> 328.92KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"journal","children":[{"title":"static","children":[{"title":".png <span style='color:#111;'> 39.68KB </span>","children":null,"spread":false},{"title":"before.png <span style='color:#111;'> 43.45KB </span>","children":null,"spread":false},{"title":"after.png <span style='color:#111;'> 41.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"rescale_baseline.md <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"setup.py <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.79KB </span>","children":null,"spread":false},{"title":"bert_score","children":[{"title":"scorer.py <span style='color:#111;'> 11.14KB </span>","children":null,"spread":false},{"title":"score.py <span style='color:#111;'> 10.52KB </span>","children":null,"spread":false},{"title":"rescale_baseline","children":[{"title":"de","children":[{"title":"xlm-roberta-base.tsv <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":"bert-base-multilingual-cased.tsv <span style='color:#111;'> 454B </span>","children":null,"spread":false},{"title":"xlm-roberta-large.tsv <span style='color:#111;'> 862B </span>","children":null,"spread":false},{"title":"xlm-mlm-100-1280.tsv <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":false},{"title":"fr","children":[{"title":"xlm-roberta-base.tsv <span style='color:#111;'> 455B </span>","children":null,"spread":false},{"title":"bert-base-multilingual-cased.tsv <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"xlm-roberta-large.tsv <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":"xlm-mlm-100-1280.tsv <span style='color:#111;'> 588B </span>","children":null,"spread":false}],"spread":false},{"title":"es","children":[{"title":"xlm-roberta-base.tsv <span style='color:#111;'> 444B </span>","children":null,"spread":false},{"title":"bert-base-multilingual-cased.tsv <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"xlm-roberta-large.tsv <span style='color:#111;'> 853B </span>","children":null,"spread":false},{"title":"xlm-mlm-100-1280.tsv <span style='color:#111;'> 595B </span>","children":null,"spread":false}],"spread":false},{"title":"cs","children":[{"title":"xlm-roberta-base.tsv <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"bert-base-multilingual-cased.tsv <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"xlm-roberta-large.tsv <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"xlm-mlm-100-1280.tsv <span style='color:#111;'> 595B </span>","children":null,"spread":false}],"spread":false},{"title":"fi","children":[{"title":"xlm-roberta-base.tsv <span style='color:#111;'> 440B </span>","children":null,"spread":false},{"title":"bert-base-multilingual-cased.tsv <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"xlm-roberta-large.tsv <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"xlm-mlm-100-1280.tsv <span style='color:#111;'> 589B </span>","children":null,"spread":false}],"spread":false},{"title":"it","children":[{"title":"xlm-roberta-base.tsv <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"bert-base-multilingual-cased.tsv <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"xlm-roberta-large.tsv <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"xlm-mlm-100-1280.tsv <span style='color:#111;'> 600B </span>","children":null,"spread":false}],"spread":false},{"title":"en","children":[{"title":"distilbert-base-multilingual-cased.tsv <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"albert-large-v2.tsv <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"roberta-large-mnli.tsv <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"bert-base-uncased.tsv <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"distilbert-base-uncased.tsv <span style='color:#111;'> 247B </span>","children":null,"spread":false},{"title":"xlm-roberta-base.tsv <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":"bert-base-multilingual-cased.tsv <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":"albert-xxlarge-v1.tsv <span style='color:#111;'> 461B </span>","children":null,"spread":false},{"title":"xlnet-base-cased.tsv <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"xlm-roberta-large.tsv <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"albert-xlarge-v1.tsv <span style='color:#111;'> 878B </span>","children":null,"spread":false},{"title":"xlm-mlm-en-2048.tsv <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"roberta-large.tsv <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"xlm-mlm-100-1280.tsv <span style='color:#111;'> 600B </span>","children":null,"spread":false},{"title":"distilbert-base-uncased-distilled-squad.tsv <span style='color:#111;'> 247B </span>","children":null,"spread":false},{"title":"albert-xxlarge-v2.tsv <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"bert-large-uncased.tsv <span style='color:#111;'> 862B </span>","children":null,"spread":false},{"title":"xlnet-large-cased.tsv <span style='color:#111;'> 868B </span>","children":null,"spread":false},{"title":"albert-large-v1.tsv <span style='color:#111;'> 874B </span>","children":null,"spread":false},{"title":"albert-base-v1.tsv <span style='color:#111;'> 459B </span>","children":null,"spread":false},{"title":"distilroberta-base.tsv <span style='color:#111;'> 237B </span>","children":null,"spread":false},{"title":"albert-xlarge-v2.tsv <span style='color:#111;'> 878B </span>","children":null,"spread":false},{"title":"bert-base-cased-finetuned-mrpc.tsv <span style='color:#111;'> 454B </span>","children":null,"spread":false},{"title":"roberta-base.tsv <span style='color:#111;'> 444B </span>","children":null,"spread":false},{"title":"albert-base-v2.tsv <span style='color:#111;'> 454B </span>","children":null,"spread":false}],"spread":false},{"title":"et","children":[{"title":"xlm-roberta-base.tsv <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"bert-base-multilingual-cased.tsv <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"xlm-roberta-large.tsv <span style='color:#111;'> 859B </span>","children":null,"spread":false},{"title":"xlm-mlm-100-1280.tsv <span style='color:#111;'> 593B </span>","children":null,"spread":false}],"spread":false},{"title":"zh","children":[{"title":"bert-base-chinese.tsv <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"xlm-roberta-base.tsv <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"bert-base-multilingual-cased.tsv <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"xlm-mlm-100-1280.tsv <span style='color:#111;'> 591B </span>","children":null,"spread":false}],"spread":false},{"title":"pt","children":[{"title":"xlm-roberta-base.tsv <span style='color:#111;'> 442B </span>","children":null,"spread":false},{"title":"bert-base-multilingual-cased.tsv <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":"xlm-roberta-large.tsv <span style='color:#111;'> 854B </span>","children":null,"spread":false},{"title":"xlm-mlm-100-1280.tsv <span style='color:#111;'> 592B </span>","children":null,"spread":false}],"spread":false},{"title":"lv","children":[{"title":"xlm-roberta-base.tsv <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"bert-base-multilingual-cased.tsv <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"xlm-roberta-large.tsv <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"xlm-mlm-100-1280.tsv <span style='color:#111;'> 592B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"utils.py <span style='color:#111;'> 21.80KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 65B </span>","children":null,"spread":false}],"spread":true},{"title":"tune_layers","children":[{"title":"README.md <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"tune.sh <span style='color:#111;'> 92B </span>","children":null,"spread":false},{"title":"tune_layers.py <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"download_data.sh <span style='color:#111;'> 357B </span>","children":null,"spread":false}],"spread":true},{"title":"tests","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_score_function.py <span style='color:#111;'> 6.87KB </span>","children":null,"spread":false},{"title":"test_scorer.py <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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