Full-Parameter Fine-Tuned Qwen/Qwen3-VL-8B-Instruct Document, Table, Receipt, Invoice & Math OCR VLM — trained via Full-Parameter BF16 ZeRO-1 DDP on Apache-2.0 Qwen/Qwen3-VL-8B-Instruct across our strictly permissive 43,895-sample 6-domain structured document parsing corpus.
Delivers a massive +38.05 pt jump across 5 strictly held-out document benchmarks (2,244 images):
52.51% -> 90.56% (+38.05 pts!)3.22% -> 90.19% Field F1 (+86.97 pts, 100.0% Valid JSON, 47.0% Exact JSON!)2.97% -> 90.70% Field F1 (+87.73 pts, 100.0% Valid JSON!)76.42% -> 85.37% Cell F1 (+8.95 pts) · 93.09% HTML 1-NED (+20.09 pts!)86.36% -> 94.95% 1-NED (+8.59 pts, Exact Match doubled 27.64% -> 56.51%, Handwritten Exact 66.18%!)91.60% ANLS (85.3% Exact Match)Part of the Flintglass Prism Open-Source Agent & RAG Stack · Complete PrismParse Family:
PrismParse-2B(88.44%) ·PrismParse-4B(90.05%) ·PrismParse-8B(90.56%,Qwen3-VL) ·PrismParse-9B(91.16%) · GGUF Quantizations:flintglass/PrismParse-8B-GGUF(Q4_K_M,Q6_K,Q8_0+mmproj-F16)
Evaluated deterministically (do_sample=False) across 5 strictly held-out benchmarks (zero overlap with training images):
| Model | Base | CORD Receipts (Field F1) | Invoices (Field F1) | PubTabNet Tables (Cell F1 / 1-NED) | LaTeX OCR (1-NED / Exact) | DocVQA (ANLS) | 5-Bench Avg |
|---|---|---|---|---|---|---|---|
Qwen/Qwen3-VL-8B-Instruct (Base) |
Qwen3-VL-8B | 3.22% | 2.97% | 76.42% / 73.00% | 86.36% / 27.64% | 93.56% | 52.51% |
flintglass/PrismParse-8B |
Qwen3-VL-8B | 90.19% | 90.70% | 85.37% / 93.09% | 94.95% / 56.51% | 91.60% | 90.56% |
| Delta vs Base | — | +86.97 | +87.73 | +8.95 / +20.09 | +8.59 / +28.87 | -1.96 | +38.05 |
86.37% -> 95.42% 1-NED, Exact Match 24.00% -> 55.20% (+31.20 pts!)86.25% -> 91.48% 1-NED, Exact Match 54.41% -> 66.18% (+11.77 pts!)transformers)import torch
from PIL import Image
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "flintglass/PrismParse-8B"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto").eval()
image = Image.open("receipt.jpg").convert("RGB")
messages = [
{
"role": "user",
"content": [
{"type": "image", "image": image},
{"type": "text", "text": "Extract all line items, subtotals, tax, and total from this receipt as a single strict JSON object."},
],
}
]
inputs = processor.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_dict=True, return_tensors="pt").to(model.device)
with torch.inference_mode():
out = model.generate(**inputs, max_new_tokens=1024, do_sample=False)
print(processor.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Qwen/Qwen3-VL-8B-Instruct (Apache-2.0)Best val_loss = 0.0662).model-00001-of-00005.safetensors 3.7 GiBmodel-00003-of-00005.safetensors 3.7 GiBmodel-00004-of-00005.safetensors 3.7 GiBmodel-00002-of-00005.safetensors 3.6 GiBmodel-00005-of-00005.safetensors 1.6 GiBQwen/Qwen3-VL-8B-Instruct