Bert-TextClassification icon indicating copy to clipboard operation
Bert-TextClassification copied to clipboard

Implemention some Baseline Model upon Bert for Text Classification

Results 19 Bert-TextClassification issues
Sort by recently updated
recently updated
newest added

您好,我按照您的readme中的去操作,发现在载入数据的时候会报错了,可能是因为tf、torch的版本问题吧,请您你使用的各个库的版本是多少?感谢

您好,官方包现在改叫transsformers了,我想问一下您给的关于预训练模型的链接是从哪儿找到的,我找了半天没有找到

模型训练完成了,准确率也很高。 但到后面用的时候,往往是对新来的一条或若干条文本,需要预测它对应的标签。 加载训练后的模型,对新数据做预测能否单独写个样例参考一下?

能不能给一下仓库里面的HAN代码的参考资料?

好像不能early_stop,不过我看了好久也看出来有啥问题

如果数据集格式为:sentence_a sentence_b label, 为什么会出现找不到bert_config.json路径(路径已经提前设置好了)

Thanks for sharing the code. Your gradient accumulation implementation helps me a lot on my datasets (roughly >10% f1 improvements with very large batch size). Please check line 87 of...

x = x.squeeze() #x: [batch_size, filter_num] change: x = x.view(batch_size, 2*filter_num) #x: [batch_size,2* filter_num]

您好,我遇到了一个问题,使用训练好的模型做新数据预测时效果很差,但是在测试的时候指标比较高,请问这是什么原因啊,期待您的解答,万分感谢