BERT-中文文本分类-pytorch:此存储库包含用于文本分类的预训练BERT模型的PyTorch实现-源码

上传者: 42107561 | 上传时间: 2021-08-27 20:50:35 | 文件大小: 46KB | 文件类型: ZIP
PyTorch的BERT中文文本分类 此存储库包含用于中文文本分类的预训练BERT模型的PyTorch实现。 代码结构 在项目的根目录,您将看到: ├── pybert | └── callback | | └── lrscheduler.py   | | └── trainingmonitor.py  | | └── ... | └── config | | └── base.py #a configuration file for storing model parameters | └── dataset    | └── io     | | └── be

文件下载

资源详情

[{"title":"( 46 个子文件 46KB ) BERT-中文文本分类-pytorch:此存储库包含用于文本分类的预训练BERT模型的PyTorch实现-源码","children":[{"title":"BERT-chinese-text-classification-pytorch-master","children":[{"title":".gitignore <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"run_bert.py <span style='color:#111;'> 11.96KB </span>","children":null,"spread":false},{"title":"pybert","children":[{"title":"output","children":[{"title":"feature","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"log","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true},{"title":"checkpoints","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true},{"title":"result","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true},{"title":"embedding","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true},{"title":"figure","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"model","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"nn","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"bert_for_multi_class.py <span style='color:#111;'> 868B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"dataset","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"callback","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"lrscheduler.py <span style='color:#111;'> 18.62KB </span>","children":null,"spread":false},{"title":"earlystopping.py <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"trainingmonitor.py <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"modelcheckpoint.py <span style='color:#111;'> 4.25KB </span>","children":null,"spread":false},{"title":"progressbar.py <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"optimizater.py <span style='color:#111;'> 18.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"pretrain","children":[{"title":"bert","children":[{"title":"base-chinese","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true},{"title":"configs","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"base.py <span style='color:#111;'> 928B </span>","children":null,"spread":false}],"spread":true},{"title":"preprocessing","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"preprocessor.py <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"augmentation.py <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"train","children":[{"title":"trainer.py <span style='color:#111;'> 7.23KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"metrics.py <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"losses.py <span style='color:#111;'> 273B </span>","children":null,"spread":false}],"spread":true},{"title":"common","children":[{"title":"tools.py <span style='color:#111;'> 10.81KB </span>","children":null,"spread":false}],"spread":false},{"title":"io","children":[{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"bert_processor.py <span style='color:#111;'> 8.17KB </span>","children":null,"spread":false},{"title":"task_data.py <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false}],"spread":false},{"title":"test","children":[{"title":"predictor.py <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":".gitignore <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 288B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 174B </span>","children":null,"spread":false}],"spread":true},{"title":"BERT-chinese-text-classification-pytorch.iml <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 332B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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