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

tokenizer.model_max_length is incorrect #51

Open
mh-northlander opened this issue Jan 31, 2023 · 1 comment
Open

tokenizer.model_max_length is incorrect #51

mh-northlander opened this issue Jan 31, 2023 · 1 comment

Comments

@mh-northlander
Copy link
Collaborator

The parameter model_max_length of chitra tokenizer seems too large.

> sudachitra.sudachitra.BertSudachipyTokenizer.from_pretrained("chiTra-1.0").model_max_length
1000000000000000019884624838656
@mh-northlander
Copy link
Collaborator Author

Adding "model_max_length": 512 to the tokenizer_config.json will solve this problem.

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