bert sentiment:使用BERT的细粒度情感分类 源码

上传:qqmuscle36329 浏览: 16 推荐: 0 文件:ZIP 大小:5.21KB 上传时间:2021-04-08 18:43:23 版权申诉
使用BERT的细粒度情感分类 此存储库包含用于获取的结果的代码。 用法 可以使用run.py运行各种配置的实验。 首先,安装python软件包(最好在一个干净的virtualenv中): pip install -r requirements.txt Usage: run.py [OPTIONS] Train BERT sentiment classifier. Options: -c, --bert-config TEXT Pretrained BERT configuration -b, --binary Use binary labels, ignore neutrals -r, --root Use only root nodes of SST -s, --save
上传资源
用户评论