MoL hybrid: Vicuna-13B + CLIP + DINOv2 with text
Paper · Code and setup · Project
This checkpoint routes CLIP and DINOv2 features separately, projects each stream,
upsamples the DINO feature grid, concatenates their channels, and applies a learned
10,240→5,120 projection. The backbone is Vicuna-13B, with hybrid routing and k=1.
The DINOv2 branch uses its aligned text encoder for routing.
Download and evaluate
Install the MoL repository and prepare evaluation data using its README, then:
hf download wjdghks950/vicuna_clip_dinov2_hybrid \
--local-dir checkpoints/vicuna_clip_dinov2_hybrid
CUDA_VISIBLE_DEVICES=0 python scripts/evaluate.py \
--model-path checkpoints/vicuna_clip_dinov2_hybrid \
--benchmark vstar \
--question-file data/eval/vstar/questions.jsonl \
--image-folder data/eval/vstar \
--output-dir outputs/vicuna_clip_dinov2_hybrid/vstar
The package includes the full language model, both routers/projectors, the fusion
projection, and tokenizer. Use the MoL loader; generic AutoModelForCausalLM does
not implement the dual-encoder path. Vision/text encoder dependencies are loaded
by MoL. Routing settings and k are stored in config.json.
V* evaluation
Fresh evaluation of this package with the release code: 89.92% (214/238).
The archived run scored 90.34% (215/238). The two runs agree on 237 of 238
answers; direct_attributes/sa_39518 changed from A to D. The cause of that
single-answer difference has not been established.
| Subset | Fresh score | Correct / total |
|---|---|---|
| All local questions | 89.92% | 214 / 238 |
| Direct attributes | 91.30% | 105 / 115 |
| Relative position | 98.68% | 75 / 76 |
| OCR | 66.67% | 20 / 30 |
| GPT4V-hard | 82.35% | 14 / 17 |
This is the historical 238-question local collection, including 47 OCR and GPT4V-hard questions beyond the 191 direct-attribute/relative-position questions. On those 191 standard-category questions alone, the fresh score is 94.24% (180/191). Do not compare the 238-question aggregate directly with a score on 191 questions. Predictions were complete, with no missing answers.
Evaluation used greedy decoding, the vicuna_v1 template, FP16 inference,
PyTorch 2.1.2, and Transformers 4.37.2 on one H100. Both routers, both projectors,
and the learned fusion tensors were checked against the package after loading.
See evaluation_evidence.json for the code revision, question-file hash, and
archived/fresh results. Update MoL to commit 3d61dff5ebbfc7e8d11f7cb6f91fc5de0ed88a0e or later for the
DINO text-width and CLIP token-selection loader fixes.
Provenance
Source experiment:
llava-v1.5-13b-moe-finetune_2e-4_text-cond-attn-token-router_clip_dino_hybrid_k=1_no_normalize_on_v_concate_upsample_lb_scale_clip_1.0/checkpoint-4000.
This is the selected step-4000 checkpoint, not the last training step. The run name
contains historical labels; fusion_type=concate_upsample in the configuration
identifies the actual fusion mechanism.
Weights and configuration are byte-for-byte copies of the source checkpoint.
release_manifest.json records SHA256 checksums. Optimizer states and training
logs are omitted. inference_config.json summarizes the loading settings.
Upstream model licenses and terms continue to apply; this package does not assign new rights to the base model or encoder weights.