Image-Text-to-Text
Transformers
Safetensors
qwen3_vl
qwen3-vl
vision-language
multilingual
ocr
grpo
conversational
Instructions to use DatasetMan/QGO-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DatasetMan/QGO-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="DatasetMan/QGO-8B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("DatasetMan/QGO-8B") model = AutoModelForMultimodalLM.from_pretrained("DatasetMan/QGO-8B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DatasetMan/QGO-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DatasetMan/QGO-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DatasetMan/QGO-8B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/DatasetMan/QGO-8B
- SGLang
How to use DatasetMan/QGO-8B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "DatasetMan/QGO-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DatasetMan/QGO-8B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "DatasetMan/QGO-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DatasetMan/QGO-8B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use DatasetMan/QGO-8B with Docker Model Runner:
docker model run hf.co/DatasetMan/QGO-8B
PM4Bench-Release commited on
Commit ·
ce986fe
1
Parent(s): 3614893
Update paper links, resource navigation, and citation
Browse files
README.md
CHANGED
|
@@ -13,9 +13,32 @@ datasets:
|
|
| 13 |
- DatasetMan/PM4Bench-QGO-Train
|
| 14 |
---
|
| 15 |
|
|
|
|
|
|
|
| 16 |
# QGO-8B
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
[`Qwen/Qwen3-VL-8B-Thinking`](https://huggingface.co/Qwen/Qwen3-VL-8B-Thinking).
|
| 20 |
This repository contains the complete global-step-200 BF16 checkpoint used in
|
| 21 |
the PM4Bench paper.
|
|
@@ -76,3 +99,17 @@ QGO-8B targets multilingual OCR robustness. It inherits limitations and risks
|
|
| 76 |
from the Qwen base model and is not guaranteed to improve every downstream
|
| 77 |
task or language. Coordinate outputs, OCR transcriptions, and long-form
|
| 78 |
reasoning should be validated before use in consequential applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
- DatasetMan/PM4Bench-QGO-Train
|
| 14 |
---
|
| 15 |
|
| 16 |
+
<div align="center">
|
| 17 |
+
|
| 18 |
# QGO-8B
|
| 19 |
|
| 20 |
+
**OCR-centric reinforcement learning for multilingual LVLMs**
|
| 21 |
+
|
| 22 |
+
[](https://arxiv.org/abs/2503.18484v3)
|
| 23 |
+
[](https://little-bird-vodka.github.io/PM4Bench/)
|
| 24 |
+
[](https://github.com/opendatalab/PM4Bench)
|
| 25 |
+
[](https://huggingface.co/datasets/songjhPKU/PM4Bench)
|
| 26 |
+
[](https://huggingface.co/datasets/DatasetMan/PM4Bench-QGO-Train)
|
| 27 |
+
|
| 28 |
+
</div>
|
| 29 |
+
|
| 30 |
+
## Overview
|
| 31 |
+
|
| 32 |
+
The paper [*Benchmarking and Boosting Multilingual Capabilities of LVLMs via
|
| 33 |
+
OCR-Centric Reinforcement Learning*](https://arxiv.org/abs/2503.18484v3)
|
| 34 |
+
introduces the strictly parallel PM4Bench benchmark and finds that OCR is a key
|
| 35 |
+
source of cross-lingual performance gaps under vision-only input. QGO trains
|
| 36 |
+
on fully synthesized OCR data with a dual reward for recognition accuracy and
|
| 37 |
+
reasoning-preserving response structure. It improves average score on every
|
| 38 |
+
PM4Bench task and setting and transfers gains to external multilingual OCR
|
| 39 |
+
benchmarks.
|
| 40 |
+
|
| 41 |
+
QGO-8B is the OCR-centric GRPO checkpoint derived from
|
| 42 |
[`Qwen/Qwen3-VL-8B-Thinking`](https://huggingface.co/Qwen/Qwen3-VL-8B-Thinking).
|
| 43 |
This repository contains the complete global-step-200 BF16 checkpoint used in
|
| 44 |
the PM4Bench paper.
|
|
|
|
| 99 |
from the Qwen base model and is not guaranteed to improve every downstream
|
| 100 |
task or language. Coordinate outputs, OCR transcriptions, and long-form
|
| 101 |
reasoning should be validated before use in consequential applications.
|
| 102 |
+
|
| 103 |
+
## Cite Us
|
| 104 |
+
|
| 105 |
+
```bibtex
|
| 106 |
+
@misc{gao2026benchmarkingboostingmultilingualcapabilities,
|
| 107 |
+
title={Benchmarking and Boosting Multilingual Capabilities of LVLMs via OCR-Centric Reinforcement Learning},
|
| 108 |
+
author={Junyuan Gao and Jiahe Song and Jiang Wu and Runchuan Zhu and Guanlin Shen and Shasha Wang and Xingjian Wei and Haote Yang and Weijia Li and Bin Wang and Lijun Wu and Conghui He},
|
| 109 |
+
year={2026},
|
| 110 |
+
eprint={2503.18484},
|
| 111 |
+
archivePrefix={arXiv},
|
| 112 |
+
primaryClass={cs.CV},
|
| 113 |
+
url={https://arxiv.org/abs/2503.18484},
|
| 114 |
+
}
|
| 115 |
+
```
|