Views
No views yet
layers_to_transform = all 28) — i.e. standard full-depth LoRA, used here as the
baseline endpoint for a sweep that otherwise restricts LoRA to only the last k% of layers (25/50/75% frozen)
while keeping the rest of the model frozen-but-forward-computing rather than pruned. See
o-taco/VLM2Vec, branch aokvqa-single-gpu,
run_freeze_sweep.sh / plot_freeze_vs_pruning.py for the full sweep and comparison against depth-pruning
strategies.MMEBModel.load() (src/model.py), not AutoModelForCausalLM.Qwen/Qwen3-VL-2B-Instructq_proj,k_proj,v_proj,o_proj,gate_proj,up_proj,down_proj, all 28 decoder layers adaptedcompute_train_accuracy.py) = 0.86 (chance = 0.25)sdpa support).1from src.arguments import ModelArguments
2from src.model import MMEBModel
3
4model_args = ModelArguments(
5 model_name="Qwen/Qwen3-VL-2B-Instruct",
6 model_backbone="qwen3_vl",
7 checkpoint_path="o-taco/qwen3vl-aokvqa-freeze0pct",
8 pooling="last",
9 normalize=True,
10 lora=True,
11)
12model = MMEBModel.load(model_args, is_trainable=False)