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

ImportError: cannot import name 'DebertaV2ForMultipleChoice' from 'transformers' #2

Closed
liqinga opened this issue Oct 27, 2023 · 1 comment

Comments

@liqinga
Copy link

liqinga commented Oct 27, 2023

image 在运行 sh run_ft.sh 时会在finetuning.py中出现ImportError: cannot import name 'DebertaV2ForMultipleChoice' from 'transformers'这个报错,我尝试进入到transformers包中找到这个类也没有找到。
@GeekDream-x
Copy link
Owner

@liqinga 您好,由于二次预训练和精调阶段transformers版本不一致导致,现已更新,直接使用本项目根目录提供的transformers即可。

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