HubCloneHubClone
finnUpdate license66c6799
History2.61 kB
1# GLiDE-2B
2
3**GLiDE-2B** is a vision-language model that reads images, documents and screenshots and answers in natural language. It was released by **fastino** with 2.0B parameters.
4
5## Model details
6
7### Model description
8
9- **Developed by:** fastino
10- **Model type:** llama (Image-Text-to-Text)
11- **Parameters:** 2.0B
12- **Language(s):** English (primary), multilingual
13- **License:** mit
14
15### Model sources
16
17- **Repository:** `fastino/GLiDE-2B`
18- **Report:** coming soon
19
20## Uses
21
22### Direct use
23
24GLiDE-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 = "fastino/GLiDE-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 18T 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 | GLiDE-2B | Previous release |
58| --- | --- | --- |
59| MMLU-Pro | **43.5** | 40.9 |
60| GPQA Diamond | **69.4** | 63.7 |
61| LiveCodeBench v7 | **81.9** | 76.5 |
62| AIME 2026 | **72.4** | 68.2 |
63| IFEval | **92.6** | 83.6 |
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, GLiDE-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{fastino2026glide2b,
75 title = {GLiDE-2B},
76 author = {fastino Team},
77 year = {2026},
78 note = {Model card}
79}
80```