This is the
GGUF
quantized release of
ArmorOCR
— a two-stage framework for
grounded adversarial OCR perception
built on Qwen3-VL-8B-Instruct. It provides two quantization tiers,
Q8_0
and
Q4_K_M
, for both the main model and its vision projector (
mmproj
), intended to be served with
llama.cpp
.
📖 For training details, the AdvSpot benchmark, and the full evaluation pipeline, please visit the
GitHub repo
.
Quickstart
Build llama.cpp with CUDA support, then serve a tier with
llama-server
+
--mmproj
:
# 3) Run inference against the local server (mirrors the ArmorOCR quickstart)import base64, requests
withopen("path/to/image.png", "rb") as f:
img_url = f"data:image/jpeg;base64,{base64.b64encode(f.read()).decode()}"
resp = requests.post("http://127.0.0.1:8080/v1/chat/completions", json={
"model": "ArmorOCR-GGUF",
"messages": [{"role": "user", "content": [
{"type": "image_url", "image_url": {"url": img_url}},
{"type": "text", "text": ("Please identify the text in the image. ""Put your reasoning inside <analyze></analyze> ""and your final recognized text inside <answer></answer>.")},
]}],
"temperature": 0.0,
"max_tokens": 1024,
}, timeout=600)
print(resp.json()["choices"][0]["message"]["content"])
serve_gguf.sh
is included in this repo for convenience.
Evaluation on AdvSpot
Region-grounded
VQA accuracy
and
IoU
on the
AdvSpot
benchmark. The two GGUF tiers were evaluated on a single
A100
GPU with
llama-server
; the
base
column reports the original ArmorOCR results from the paper (evaluated on PPU, same data).
Category
Sub-type
base
Q8_0
Q4_K_M
Spatial Manipulation
Rotated Text
56.7
60.0
56.7
Mirrored Text
60.0
56.7
50.0
Tiny Text
56.7
63.3
63.3
Glyph Variation
Stylized Text
30.0
20.0
20.0
Handwritten Text
63.3
60.0
53.3
Imaging Degradation
Capture Artifacts
60.0
60.0
56.7
Post-processing
56.7
63.3
66.7
Contextual Blending
Low Contrast
51.4
54.3
48.6
AIGC Fusion
75.0
77.5
72.5
Pattern Overlay
48.6
45.7
42.9
Visual Encoding
Symbol Encoding
52.5
52.5
52.5
Dot Encoding
53.3
56.7
50.0
Line Encoding
60.0
66.7
66.7
Avg. Acc.
55.7
56.9
54.2
Avg. IoU
63.3
58.6
57.2
The quantized checkpoints retain accuracy close to the original ArmorOCR (Q8_0 is marginally higher on Acc), with a slight drop in IoU — consistent with quantizing the vision encoder/projector.
@misc{cao2026armorocrgroundedadversarialvisual,
title={ArmorOCR: Grounded Adversarial Visual Perception via Observation-Transferred Self-Distillation},
author={Linhan Cao and Siyuan Li and Jun Lan and Liangbo He and Guannan Li and Xiaolei Huang and Jun Jia and Shuheng Zhou and Huijia Zhu and Weiqiang Wang and Wei Sun},
year={2026},
eprint={2608.20122},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2608.20122},
}
Runs of inclusionAI ArmorOCR-GGUF on huggingface.co
302
Total runs
0
24-hour runs
25
3-day runs
219
7-day runs
302
30-day runs
More Information About ArmorOCR-GGUF huggingface.co Model
ArmorOCR-GGUF huggingface.co is an AI model on huggingface.co that provides ArmorOCR-GGUF's model effect (), which can be used instantly with this inclusionAI ArmorOCR-GGUF model. huggingface.co supports a free trial of the ArmorOCR-GGUF model, and also provides paid use of the ArmorOCR-GGUF. Support call ArmorOCR-GGUF model through api, including Node.js, Python, http.
ArmorOCR-GGUF huggingface.co is an online trial and call api platform, which integrates ArmorOCR-GGUF's modeling effects, including api services, and provides a free online trial of ArmorOCR-GGUF, you can try ArmorOCR-GGUF online for free by clicking the link below.
inclusionAI ArmorOCR-GGUF online free url in huggingface.co:
ArmorOCR-GGUF is an open source model from GitHub that offers a free installation service, and any user can find ArmorOCR-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of ArmorOCR-GGUF install, users can directly use ArmorOCR-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.