HubCloneHubClone
piaAdd citation44bf5e5
History2.64 kB
1# LFM3-VL-2B
2
3**LFM3-VL-2B** is a vision-language model that reads images, documents and screenshots and answers in natural language. It was released by **LiquidAI** with 2.0B parameters.
4
5## Model details
6
7### Model description
8
9- **Developed by:** LiquidAI
10- **Model type:** lfm3 (Image-Text-to-Text)
11- **Parameters:** 2.0B
12- **Language(s):** English (primary), multilingual
13- **License:** apache-2.0
14
15### Model sources
16
17- **Repository:** `LiquidAI/LFM3-VL-2B`
18- **Report:** coming soon
19
20## Uses
21
22### Direct use
23
24LFM3-VL-2B can be used out of the box for image-text-to-text. Typical uses include prototyping, research on reasoning and instruction following, and building applications on top of the released weights.
25
26### Out-of-scope use
27
28The model should not be used to generate content that violates the license, to impersonate real people, or for high-stakes decisions without human review.
29
30## How to use
31
32```python
33from transformers import AutoModelForImageTextToText, AutoProcessor
34
35model_id = "LiquidAI/LFM3-VL-2B"
36processor = AutoProcessor.from_pretrained(model_id)
37model = AutoModelForImageTextToText.from_pretrained(model_id, torch_dtype="auto", device_map="auto")
38
39messages = [
40 {"role": "user", "content": [
41 {"type": "image", "url": "https://example.com/chart.png"},
42 {"type": "text", "text": "What does this chart show?"},
43 ]},
44]
45inputs = processor.apply_chat_template(messages, add_generation_prompt=True, tokenize=True,
46 return_dict=True, return_tensors="pt").to(model.device)
47out = model.generate(**inputs, max_new_tokens=256)
48print(processor.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
49```
50
51## Training data
52
53The model was trained on a mixture of 22T tokens of licensed, publicly available and synthetic data, followed by supervised fine-tuning and preference optimization. Data was filtered for quality, deduplicated and decontaminated against the evaluation sets listed below.
54
55## Evaluation
56
57| Benchmark | LFM3-VL-2B | Previous release |
58| --- | --- | --- |
59| MMLU-Pro | **81.1** | 78.5 |
60| GPQA Diamond | **84.6** | 82.8 |
61| LiveCodeBench v7 | **73.5** | 71.9 |
62| AIME 2026 | **46.5** | 42.6 |
63| IFEval | **82.5** | 78.2 |
64
65Scores are self-reported by the authors with greedy decoding unless stated otherwise.
66
67## Limitations and bias
68
69Like other models of its class, LFM3-VL-2B can produce inaccurate or biased outputs. Evaluate it on your own use case before deploying it.
70
71## Citation
72
73```bibtex
74@misc{liquidai2026lfm3vl2b,
75 title = {LFM3-VL-2B},
76 author = {LiquidAI Team},
77 year = {2026},
78 note = {Model card}
79}
80```