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
导包出现错误 #1
Comments
建议更新transformers库,你的版本可能太低, pip install -U transformers |
|
@KyrieXDL 那就你手动把src/roformer/modeling_roformer.py中的有关add_start_docstrings_to_model_forward代码删掉,顺便问下你的transformers什么版本? |
我目前用的3.4.0的版本 |
非常感谢,我升级到3.5.1已经解决了,我看到transformers官方文档中3.4.0的版本有api还不支持 |
from transformers.file_utils import ModelOutput, add_start_docstrings, add_start_docstrings_to_model_forward ImportError: cannot import name 'add_start_docstrings_to_model_forward'
请问出现这个错误是什么原因呢
The text was updated successfully, but these errors were encountered: