Closed guoxiaojun1999 closed 4 years ago
Hi,
Please use BertTokenizer
and BertModel
, as indicated in https://github.com/ymcui/Chinese-BERT-wwm/blob/master/README_EN.md#huggingface-transformers
I have just tested under transformers==2.9.1
, and everything goes well.
Close this issue since no further discussions on this topic. Feel free to reopen if necessary.
I tried to use chinese roberta model according to this url https://huggingface.co/hfl/chinese-roberta-wwm-ext
But it does not work and raises error like this