Views
No views yet
| Model | Total Parameters (B) | Visual Encoder | LLM |
|---|---|---|---|
| AndesVL-0.6B | 0.695 | SigLIP2-Base | Qwen3-0.6B |
| AndesVL-1B | 0.927 | AIMv2-Large | Qwen3-0.6B |
| AndesVL-2B | 2.055 | AIMv2-Large | Qwen3-1.7B |
| AndesVL-4B | 4.360 | AIMv2-Large | Qwen3-4B |
1# require transformers>=4.52.4
2
3import torch
4from transformers import AutoModel, AutoTokenizer, CLIPImageProcessor
5
6model_dir = "OPPOer/AndesVL-4B-Instruct"
7
8model = AutoModel.from_pretrained(model_dir, trust_remote_code=True,torch_dtype=torch.bfloat16).cuda()
9tokenizer = AutoTokenizer.from_pretrained(model_dir, trust_remote_code=True)
10image_processor = CLIPImageProcessor.from_pretrained(model_dir, trust_remote_code=True)
11
12messages = [
13 {
14 "role": "user",
15 "content": [
16 {"type": "text", "text": "描述这张图片。"},
17 {
18 "type": "image_url",
19 "image_url": {
20 "url": "https://i-blog.csdnimg.cn/blog_migrate/2f4c88e71f7eabe46d062d2f1ec77d10.jpeg" # image/to/path
21 },
22 }
23 ],
24 },
25 ]
26res = model.chat(messages, tokenizer, image_processor, max_new_tokens=1024, do_sample=True, temperature=0.6)
27print(res)@misc{jin2025andesvltechnicalreportefficient,
title={AndesVL Technical Report: An Efficient Mobile-side Multimodal Large Language Model},
author={AndesVL Team, OPPO AI Center},
year={2025},
eprint={2510.11496},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2510.11496},
}