TIGER-Lab/MMEB-train
Viewer • Updated • 2.14M • 3.13k • 18
How to use o-taco/qwen3vl-aokvqa with PEFT:
Task type is invalid.
Configuration Parsing Warning:In adapter_config.json: "peft.task_type" must be a string
LoRA adapter for Qwen/Qwen3-VL-2B-Instruct, trained with the VLM2Vec contrastive-embedding recipe on the A-OKVQA subset of MMEB-train only (single V100 32GB, batch size 64, 440 steps, ~1.6 epochs).
This turns the backbone into a multimodal embedding model (last-token pooled, L2-normalized), not a generative
chat model — load it with VLM2Vec's MMEBModel.load() (src/model.py), not AutoModelForCausalLM.
Qwen/Qwen3-VL-2B-Instructq_proj,k_proj,v_proj,o_proj,gate_proj,up_proj,down_projRequires the VLM2Vec repo (branch with Qwen3-VL + Volta/sdpa support).
from src.arguments import ModelArguments
from src.model import MMEBModel
model_args = ModelArguments(
model_name="Qwen/Qwen3-VL-2B-Instruct",
model_backbone="qwen3_vl",
checkpoint_path="o-taco/qwen3vl-aokvqa",
pooling="last",
normalize=True,
lora=True,
)
model = MMEBModel.load(model_args, is_trainable=False)
Base model
Qwen/Qwen3-VL-2B-Instruct