[Models] Allow converting Qwen3-VL into Reranker model (#31890)

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
This commit is contained in:
Isotr0py
2026-01-08 08:10:15 +00:00
committed by GitHub
parent 573a1d1119
commit eac3b96ec0
8 changed files with 287 additions and 13 deletions
+9
View File
@@ -612,6 +612,15 @@ _AUTOMATIC_CONVERTED_MODELS = {
"tomaarsen/Qwen3-Reranker-0.6B-seq-cls"
),
"Qwen3ForTokenClassification": _HfExamplesInfo("bd2lcco/Qwen3-0.6B-finetuned"),
"Qwen3VLForSequenceClassification": _HfExamplesInfo(
"Qwen/Qwen3-VL-Reranker-2B",
is_available_online=False,
hf_overrides={
"architectures": ["Qwen3VLForSequenceClassification"],
"classifier_from_token": ["no", "yes"],
"is_original_qwen3_reranker": True,
},
),
}
_MULTIMODAL_EXAMPLE_MODELS = {