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

关于参数remove_unused_columns = false #299

Open
Kenneth0901 opened this issue Sep 8, 2024 · 0 comments
Open

关于参数remove_unused_columns = false #299

Kenneth0901 opened this issue Sep 8, 2024 · 0 comments

Comments

@Kenneth0901
Copy link

我看了一下transformer trainer.py以及trianer_utils.py的源码,他是根据模型forward的signature列,在dataset传入collator之前删去forward不需要的列,我看网上很多人建议设置成true,而且也可以正常微调,但是本项目如果设置为True的话就会在传入collator之前将target mask删去,导致无法collator。

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

1 participant