Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

predict_mask.py运行失败 #20

Open
Hachiiiiii opened this issue Mar 14, 2022 · 1 comment
Open

predict_mask.py运行失败 #20

Hachiiiiii opened this issue Mar 14, 2022 · 1 comment

Comments

@Hachiiiiii
Copy link

总是会报这个错误
ValueError: Could not load model ./data/bert_models/chinese_finetuned_lm/pytorch_model.bin with any of the following classes: (<class 'transformers.models.auto.modeling_auto.AutoModelForMaskedLM'>,).
请问您知道是什么原因吗

@tongchangD
Copy link
Owner

你看看tensformer版本,这是我几年前弄的一个小demo.可能版本不对应了,你查查版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants