-
Notifications
You must be signed in to change notification settings - Fork 37
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
Will numbers not in the question be treated as constants automatically? #10
Comments
you can view this page https://mwptoolkit.readthedocs.io/en/latest/mwptoolkit/mwptoolkit.utils.preprocess_tool.number_transfer.html we name constants as generate numbers. these numbers will be added to decoder vocabulary automatically. you could see 'min_generate_keep', a parameter of function number_transfer, which decide a number whether to keep as a generate number(whether to add to decoder vocabulary). I hope the reply helps you. |
Thanks, now I get it! |
Hi, I checked the documentation and didn't find any notes for constants. So will numbers not in the problem text, but in the equations, be automatically treated as constants and added to the decoder's vocabulary?
Thanks!
The text was updated successfully, but these errors were encountered: