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

max length of hfl/chinese-electra-180g-large-discriminator tokenizer is incorrect #93

Open
AngledLuffa opened this issue Feb 2, 2024 · 0 comments

Comments

@AngledLuffa
Copy link

Hey, I've had good luck with using the embeddings of hfl/chinese-electra-180g-large-discriminator in downstream tasks, so thank you for posting that model.

However, I find that the model_max_length of this model is incorrectly set. It appears to be 512 based on what happens when I run it, but instead, the value in the model itself is set to some arbitrary large number (1000000000000000019884624838656)

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