ymcui / Chinese-BERT-wwm

Pre-Training with Whole Word Masking for Chinese BERT(中文BERT-wwm系列模型)
https://ieeexplore.ieee.org/document/9599397
Apache License 2.0
9.68k stars 1.39k forks source link

roberta模型加载错误 #52

Closed BinNong closed 5 years ago

BinNong commented 5 years ago

在使用pytorch_transfomers加载chinese_roberta_wwm_ext_pytorch报错。( 使用【RobertaConfig, RobertaForSequenceClassification, RobertaTokenizer】加载)

ymcui commented 5 years ago

https://github.com/ymcui/Chinese-BERT-wwm#faq 看最后一条

BinNong commented 5 years ago

https://github.com/ymcui/Chinese-BERT-wwm#faq 看最后一条

get it