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

The tokenizer max length should be equal to model max length #65

Open
Rami-Ismael opened this issue Aug 4, 2023 · 0 comments
Open

The tokenizer max length should be equal to model max length #65

Rami-Ismael opened this issue Aug 4, 2023 · 0 comments

Comments

@Rami-Ismael
Copy link

I don't know any model transformer models where the where the model max length is 500.
Second, I know that any model with a max length should be equal to power of 2 if it's on a gpu.

https://github.com/weaviate/t2v-transformers-models/blob/7709cdef264d240af71a1c83e8dc1aec540a376e/vectorizer.py#L64C1-L65C64

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