bert_classfication icon indicating copy to clipboard operation
bert_classfication copied to clipboard

bert、roberta、ernie等方法进行文本分类

Results 7 bert_classfication issues
Sort by recently updated
recently updated
newest added

因为中文的分类数据集太少了,找了半天也没找到怎么修改从网上下载模型参数/模型的链接,想试试跑英文分类!如果方便的话作者能提供一下VX嘛?再次感谢作者

* Building model... Some weights of the model checkpoint at nghuyong/ernie-1.0 were not used when initializing BertForSequenceClassification: ['cls.predictions.decoder.bias', 'cls.predictions.transform.dense.bias', 'cls.predictions.decoder.weight', 'cls.predictions.bias', 'cls.predictions.transform.dense.weight', 'cls.predictions.transform.LayerNorm.bias', 'cls.predictions.transform.LayerNorm.weight'] - This IS expected if you...

是数据title的问题吗

RuntimeError: Error(s) in loading state_dict for RobertaForSequenceClassification: size mismatch for classifier.out_proj.weight: copying a param with shape torch.Size([18, 768]) from checkpoint, the shape in current model is torch.Size([2, 768]). size mismatch...