-
Notifications
You must be signed in to change notification settings - Fork 71
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
运行bash ./scripts/kgc/knnkge.sh时报错AttributeError: 'KNNKGEPretrainLitModel' object has no attribute 'model' #46
Labels
question
Further information is requested
Comments
请问一下transformers和pytorch_lightning的版本,以及模型文件是否成功下载。 |
请把transformers 版本和requirements.txt 保持一致。
|
请问您的问题是否已解决 |
这个貌似是transformers版本的问题,麻烦您使用python3.8 并且transformers更新到4.6.0. pip install -r requirements.txt 再运行我们的脚本~ |
请问您的问题是否已解决? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我想训练knn-kg模型,出现如上图所示错误。
The text was updated successfully, but these errors were encountered: