[Misc] Split up pooling tasks (#10820)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2024-12-11 17:28:00 +08:00
committed by GitHub
parent 40766ca1b8
commit 8f10d5e393
27 changed files with 527 additions and 168 deletions

View File

@@ -59,7 +59,7 @@ def run_e5_v(query: Query):
llm = LLM(
model="royokong/e5-v",
task="embedding",
task="embed",
max_model_len=4096,
)
@@ -88,7 +88,7 @@ def run_vlm2vec(query: Query):
llm = LLM(
model="TIGER-Lab/VLM2Vec-Full",
task="embedding",
task="embed",
trust_remote_code=True,
mm_processor_kwargs={"num_crops": 4},
)