infinity icon indicating copy to clipboard operation
infinity copied to clipboard

cli to set max_seq_length = 2048

Open Liwan-Chen opened this issue 1 year ago • 1 comments

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?

Liwan-Chen avatar Oct 10 '24 03:10 Liwan-Chen

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 avatar Oct 10 '24 05:10 michaelfeil