Skip to content

Commit 5f0e107

Browse files
model: Add missing required dependencies to jina models (#4564)
get the following when running ```` ImportError: This modeling file requires the following packages that were not found in your environment: peft. Run `pip install peft`
1 parent 61aca85 commit 5f0e107

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

mteb/models/model_implementations/jina_models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ def encode(
812812
primaryClass={cs.CL},
813813
url={https://arxiv.org/abs/2602.15547},
814814
}""",
815+
extra_requirements_groups=["peft"],
815816
)
816817

817818

@@ -867,6 +868,7 @@ def encode(
867868
primaryClass={cs.CL},
868869
url={https://arxiv.org/abs/2602.15547},
869870
}""",
871+
extra_requirements_groups=["peft"],
870872
)
871873

872874
jina_reranker_v3 = ModelMeta(

0 commit comments

Comments
 (0)