Views
No views yet
| Model | Average | MathVista | MathVision | MathVerse | DynaMath | WeMath | LogicVista |
|---|---|---|---|---|---|---|---|
| Qwen2-VL-2B | 20.5 | 48.0 | 16.1 | 17.5 | 3.8 | 10.8 | 26.6 |
| InternVL2.5-2B | 21.2 | 51.1 | 14.0 | 22.3 | 4.4 | 8.0 | 27.3 |
| InternVL3-2B | 29.1 | 57.6 | 20.2 | 24.5 | 14.8 | 22.9 | 40.3 |
| Qwen2.5-VL-3B | 31.8 | 61.2 | 21.9 | 31.2 | 13.2 | 22.9 | 40.3 |
| VLM-R1-3B-Math-0305 | 33.4 | 62.7 | 21.9 | 32.2 | 13.0 | 30.0 | 40.5 |
| Taichu-VLR-3B | 33.6 | 64.9 | 23.1 | 32.1 | 12.6 | 30.4 | 38.7 |
| VLAA-Thinker-Qwen2.5VL-3B | 35.4 | 61.0 | 24.4 | 36.4 | 18.2 | 33.8 | 38.5 |
| TBAC-VLR1-3B-preview | 35.7 | 64.8 | 25.0 | 33.2 | 17.7 | 32.4 | 40.8 |

1from transformers import Qwen2_5_VLForConditionalGeneration, AutoTokenizer, AutoProcessor
2from qwen_vl_utils import process_vision_info
3
4model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
5 "TencentBAC/TBAC-VLR1-3B-preview", torch_dtype="auto", device_map="auto"
6)
7
8processor = AutoProcessor.from_pretrained("TencentBAC/TBAC-VLR1-3B-preview")
9
10messages = [
11 {
12 "role": "system",
13 "content": "You are a helpful assistant. The user asks a question, and you solve it. You need first think about the reasoning process in the mind and then provides the user with the answer. The answer are enclosed within \\boxed{} tags i.e., reasoning process here \\boxed{ answer here }."
14 },
15 {
16 "role": "user",
17 "content": [
18 {
19 "type": "image",
20 "image": image_path,
21 },
22 {"type": "text", "text": query},
23 ],
24 }
25]
26
27# Preparation for inference
28text = processor.apply_chat_template(
29 messages, tokenize=False, add_generation_prompt=True
30)
31image_inputs, video_inputs = process_vision_info(messages)
32inputs = processor(
33 text=[text],
34 images=image_inputs,
35 videos=video_inputs,
36 padding=True,
37 return_tensors="pt",
38)
39inputs = inputs.to("cuda")
40
41# Inference: Generation of the output
42generated_ids = model.generate(**inputs, max_new_tokens=128, do_sample=False)
43generated_ids_trimmed = [
44 out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
45]
46output_text = processor.batch_decode(
47 generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
48)
49print(output_text)@misc{Xu2025tbacvlr1,
title={TBAC-VLR1-3B-preview},
author={Junzhe Xu and Yuyang yin},
url={https://huggingface.co/TencentBAC/TBAC-VLR1-3B-preview},
year={2025},
}