-
Notifications
You must be signed in to change notification settings - Fork 232
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
How to use max_length (number max of tokens) as an argument? #172
Comments
Hello @piegu , thank you for raising up this issue. So the Hope this resolve your issue. If not, I think we can add one more argument when initializing |
Hi @blakechi, Thank you for your reply. Example: texts in my dataset have a maximum of 128 tokens. Then, I want to be able to set this value as Note: when using |
Sure, I think we can achieve it as what I mentioned here:
@lewtun How do you think? I can open a PR for this 😀 |
Hi,
max_length
is defined here with the value 32.How to modify it?
Thank you.
The text was updated successfully, but these errors were encountered: