Views
No views yet
Image (336×336) → CLIP ViT-L/14 (576 tokens) → LDPNetV2 Projector (144 tokens) → Qwen2.5-1.5B| Benchmark | Score |
|---|---|
| MME (Perception) | 1411.5 |
| MMBench | 68.4 |
| GQA | 61.9 |
| ScienceQA | 71.6 |
| TextVQA | 57.0 |
| POPE | 87.5 |
pip install transformers accelerate torch1# Single-round inference
2python chat.py --model HaoyiSun/Switch-KD-Qwen2.5-CLIP-1.8B \
3 --image path/to/image.jpg \
4 --question "Please describe this picture."
5
6# Interactive multi-round chat
7python chat.py --model HaoyiSun/Switch-KD-Qwen2.5-CLIP-1.8B \
8 --image path/to/image.jpg \
9 --interactive
10
11# With custom settings
12python chat.py --model HaoyiSun/Switch-KD-Qwen2.5-CLIP-1.8B \
13 --image path/to/image.jpg \
14 --interactive \
15 --max-new-tokens 1024 \
16 --torch-dtype fp161@article{sun2026switchkd,
2 title={Switch-KD: Visual-Switch Knowledge Distillation for Vision-Language Models},
3 author={Sun, Haoyi and Wang, Xiaoxiao and Mao, Ning and Wang, Qian and Mu, Lifu and Zheng, Wen and Wei, Tao and Chen, Wei},
4 journal={arXiv preprint arXiv:2604.14629},
5 year={2026}
6}