BERT-NER:用BERT的Pytorch命名实体识别-源码

上传者: 42139042 | 上传时间: 2021-09-26 14:36:03 | 文件大小: 1.61MB | 文件类型: ZIP
伯特·纳尔 使用google BERT进行CoNLL-2003 NER! 使用Python训练模型并使用C ++进行推理 要求 python3 pip3 install -r requirements.txt 跑步 python run_ner.py --data_dir=data/ --bert_model=bert-base-cased --task_name=ner --output_dir=out_base --max_seq_length=128 --do_train --num_train_epochs 5 --do_eval --warmup_proportion=0.1 结果 BERT库 验证数据 precision recall f1-score support PER 0.9677 0.9745

文件下载

资源详情

[{"title":"( 32 个子文件 1.61MB ) BERT-NER:用BERT的Pytorch命名实体识别-源码","children":[{"title":"BERT-NER-dev","children":[{"title":".gitattributes <span style='color:#111;'> 31B </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 33.71KB </span>","children":null,"spread":false},{"title":"run_ner.py <span style='color:#111;'> 26.39KB </span>","children":null,"spread":false},{"title":"img","children":[{"title":"curl.png <span style='color:#111;'> 95.33KB </span>","children":null,"spread":false},{"title":"postman.png <span style='color:#111;'> 166.26KB </span>","children":null,"spread":false},{"title":"make.png <span style='color:#111;'> 168.84KB </span>","children":null,"spread":false},{"title":"cmake.png <span style='color:#111;'> 170.16KB </span>","children":null,"spread":false},{"title":"inference.png <span style='color:#111;'> 106.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.67KB </span>","children":null,"spread":false},{"title":"bert.py <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"cpp-app","children":[{"title":"CMakeLists.txt <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"unilib","children":[{"title":"unistrip.h <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"uninorms.h <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"utf16.h <span style='color:#111;'> 6.83KB </span>","children":null,"spread":false},{"title":"utf16.cpp <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"tokenizer.h <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"uninorms.cpp <span style='color:#111;'> 224.59KB </span>","children":null,"spread":false},{"title":"utf8.h <span style='color:#111;'> 9.37KB </span>","children":null,"spread":false},{"title":"version.cpp <span style='color:#111;'> 672B </span>","children":null,"spread":false},{"title":"tokenizer.cpp <span style='color:#111;'> 10.28KB </span>","children":null,"spread":false},{"title":"unicode.cpp <span style='color:#111;'> 177.31KB </span>","children":null,"spread":false},{"title":"unistrip.cpp <span style='color:#111;'> 35.69KB </span>","children":null,"spread":false},{"title":"version.h <span style='color:#111;'> 754B </span>","children":null,"spread":false},{"title":"unicode.h <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"utf8.cpp <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false}],"spread":false},{"title":"app.cpp <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"test.txt <span style='color:#111;'> 730.56KB </span>","children":null,"spread":false},{"title":"train.txt <span style='color:#111;'> 3.13MB </span>","children":null,"spread":false},{"title":"valid.txt <span style='color:#111;'> 808.05KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"api.py <span style='color:#111;'> 470B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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