autoliuweijie / K-BERT

Source code of K-BERT (AAAI2020)
https://ojs.aaai.org//index.php/AAAI/article/view/5681
949 stars 212 forks source link

about model.bin #62

Open phc4valid opened 3 years ago

phc4valid commented 3 years ago

Dear @autoliuweijie ,

Thank you so much for your innovative study. I was wondering that if there is any chances that I change BERT to BERT-like models (etc:RoBERTa-chinese ,MacBERT). Is it possible if I simply change path to the downloaded model.bin from huggingface converted using uer/convert_bert_from_huggingface_to_uer.py. Really looking forward to your kind response. Stay safe.

Kind regards, Elmer

AlanLinZhizhou commented 3 years ago

Have you managed to convert the model to uer's form? I ultilize the file "convert_bert_from_huggingface_to_uer.py" to convert the model downloaded from huggingface, however by levaraging the model ,K-BERT's acc on binary sentiment classification only reached 59%. I wonder have you encountered the same problem, or do you have any ideas or suggestions on sloving this? Thank you so much for attetion, linzz