We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我看了一下transformer trainer.py以及trianer_utils.py的源码,他是根据模型forward的signature列,在dataset传入collator之前删去forward不需要的列,我看网上很多人建议设置成true,而且也可以正常微调,但是本项目如果设置为True的话就会在传入collator之前将target mask删去,导致无法collator。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我看了一下transformer trainer.py以及trianer_utils.py的源码,他是根据模型forward的signature列,在dataset传入collator之前删去forward不需要的列,我看网上很多人建议设置成true,而且也可以正常微调,但是本项目如果设置为True的话就会在传入collator之前将target mask删去,导致无法collator。
The text was updated successfully, but these errors were encountered: