Image-Text-to-Text
Transformers
GGUF
English
conversational
File size: 2,295 Bytes
3a9b205
 
105ef0c
3a9b205
 
 
 
 
 
 
 
 
c116eeb
 
 
 
 
 
 
 
 
3a9b205
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
base_model:
- inclusionAI/ZwZ-4B
datasets:
- inclusionAI/ZwZ-RL-VQA
- inclusionAI/ZoomBench
language:
- en
license: apache-2.0
library_name: transformers
pipeline_tag: image-text-to-text
---
**ZwZ-4B-GGUF**

This repository provides GGUF-format weights for [ZwZ-4B](https://huggingface.co/inclusionAI/ZwZ-4B), split into two components:

 - Language model (LLM): FP16, Q8_0, Q4_K_M
 - Vision encoder (mmproj): FP16, Q8_0, Q4_K_M

These files are compatible with llama.cpp, Ollama, and other GGUF-based tools, supporting inference on CPU, NVIDIA GPU (CUDA), Apple Silicon (Metal), Intel GPUs (SYCL), and more. You can mix precision levels for the language and vision components based on your hardware and performance needs, and even perform custom quantization starting from the FP16 weights.

Enjoy running this multimodal model on your personal device! 🚀


## How to Use

To use these models with `llama.cpp`, please ensure you are using the **latest version**—either by [building from source](https://github.com/ggml-org/llama.cpp/blob/master/docs/build.md) or downloading the most recent [release](https://github.com/ggml-org/llama.cpp/releases/tag/b6907) according to the devices.

You can run inference via the command line or through a web-based chat interface.

### CLI Inference (`llama-mtmd-cli`)

For example, to run ZwZ-4B with an Q8_0  vision encoder and Q8_0 quantized LLM:
```bash
llama-mtmd-cli \
  -m path/to/ZwZ-4B-Q8_0.gguf \
  --mmproj mmproj-ZwZ-4B-Q8_0.gguf\
  --image test.jpeg \
  -p "What is the publisher name of the newspaper?" \
  --temp 1.0 --top-k 20 --top-p 0.95 -n 1024
```
### Web Chat (using `llama-server`)
To serve ZwZ-4B via an OpenAI-compatible API with a web UI:
```bash
llama-server \
  -m path/to/ZwZ-4B-Q8_0.gguf  \
  --mmproj mmproj-ZwZ-4B-Q8_0.gguf
```

## Citation

```bibtex
@article{wei2026zooming,
  title={Zooming without Zooming: Region-to-Image Distillation for Fine-Grained Multimodal Perception},
  author={Wei, Lai and He, Liangbo and Lan, Jun and Dong, Lingzhong and Cai, Yutong and Li, Siyuan and Zhu, Huijia and Wang, Weiqiang and Kong, Linghe and Wang, Yue and Zhang, Zhuosheng and Huang, Weiran},
  journal={arXiv preprint arXiv:2602.11858},
  year={2026}
}
```

## License

This model follows the license of Apache 2.0 License.