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.55k stars 1.38k forks source link

模型都接入到transformers,tensorflow也支持吗 #159

Closed shulongdeng22 closed 3 years ago

shulongdeng22 commented 3 years ago

本目录发布的模型已接入Huggingface-Transformers。在transformers中使用这些模型的话,只支持pytorch吗?是不是不支持tensorflow ,按照官方的例子使用pythorch是可以调用的,但是使用tensorflow就会报错

ymcui commented 3 years ago

是的,只支持PyTorch,早期没有放TF2的文件。 你可以把TF1.X的模型转换成TF2.X的格式。https://github.com/ymcui/Chinese-BERT-wwm/issues/156

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

Closing the issue, since no updates observed. Feel free to re-open if you need any further assistance.