michaelfeil / michaelfeil/infinity
cli to set max_seq_length = 2048
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 206
- PR merge metrics
- No merged PRs in 30d
Description
### 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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the CLI entry point and the model-configuration path used for jinaai/jina-embeddings-v2-base-zh. Determine how a max_seq_length value could be exposed, then verify that the CLI accepts 2048 and applies it to the requested model.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100