Can't load weights for 'hfl/chinese-roberta-wwm-ext-large'.

but

5

Hi @wwwwww931121
This model has only pytorch weights, to load it in TF you’ll need to set from_pt to True

TFBertModel.from_pretrained("hfl/chinese-roberta-wwm-ext-large", from_pt=True) 
1 Like

The method is useful!
I really appreciate it!