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
transformers model padding is not efficient,
lighteval/src/lighteval/models/transformers/transformers_model.py
Line 863 in 75f4429
As the comments say, "we pad to the longest sequence", it should be padding="longest"
padding="longest"
lighteval accelerate \ "pretrained=gpt2" \ "leaderboard|truthfulqa:mc|0|0"
The initial sequence length does not have to be that long (max length)
0.8.0
The text was updated successfully, but these errors were encountered:
Hey ! Being fixed in #669
Sorry, something went wrong.
No branches or pull requests
Describe the bug
transformers model padding is not efficient,
lighteval/src/lighteval/models/transformers/transformers_model.py
Line 863 in 75f4429
As the comments say, "we pad to the longest sequence", it should be
padding="longest"
To Reproduce
lighteval accelerate \ "pretrained=gpt2" \ "leaderboard|truthfulqa:mc|0|0"
Expected behavior
The initial sequence length does not have to be that long (max length)
Version info
0.8.0
The text was updated successfully, but these errors were encountered: