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

cli to set max_seq_length = 2048 #411

Open
Liwan-Chen opened this issue Oct 10, 2024 · 1 comment
Open

cli to set max_seq_length = 2048 #411

Liwan-Chen opened this issue Oct 10, 2024 · 1 comment

Comments

@Liwan-Chen
Copy link

Feature request

embedding_model = os.getenv("EMBEDDING_MODEL_FOR_INTENT_TRAINING", "jinaai/jina-embeddings-v2-base-zh")
I requested the model jinaai/jina-embeddings-v2-base-zh through infinity.
Is there any method to set the model's max_seq_length = 2048?

Motivation

Is there any method to set the model's max_seq_length = 2048?

Your contribution

Is there any method to set the model's max_seq_length = 2048?

@michaelfeil
Copy link
Owner

michaelfeil commented Oct 10, 2024

https://huggingface.co/jinaai/jina-embeddings-v2-base-zh/discussions/17

can you try infinity_emb v2 --model-id jinaai/jina-embeddings-v2-base-zh --revision refs/pr/17

@michaelfeil michaelfeil changed the title how to set max_seq_length = 2048 cli to set max_seq_length = 2048 Oct 11, 2024
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

2 participants