michaelfeil / michaelfeil/infinity

cli to set max_seq_length = 2048

Open
#411 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.