Skip to content
ModelListedExternal
Download

DocShield 0.8B

DocShield-0.8B is a forensic-grade vision-language model for document / image forgery analysis. It inspects an input document image, reasons over visual tampering traces and logical consistency, and produces a...

KindText modelVersionmodel

Model source

Kind
Text model
File size
1.59 GB
Version
vmodel
Updated
Sep 22, 2026
Downloads
65
Source
Hugging Face

Source excerpt

DocShield-0.8B is a forensic-grade vision-language model for document / image forgery analysis. It inspects an input document image, reasons over visual tampering traces and logical consistency, and produces a...

Sources

1 source
Hugging FacePrimaryVersion 190926a347eec769230891b8b2589595b340fd0e
huggingface.co/vankey/DocShield-0.8B/tree/190926a347eec769230891b8b2589595b340fd0e

Verified Sep 11

Model artifacts

1 artifact

model.safetensors

safetensors · 1.59 GB · SHA-256 d9c483c9d08a…e916 · Hugging Face

Download

Source excerpts

2 excerpts

--- library_name: transformers license: apache-2.0 language: - zh - en pipeline_tag: image-text-to-text tags: - forgery-detection - document-forensics - image-tampering - vision-language-model - vlm - qwen3.5-vl --- <p align="center"> <img src="docshield_showcase.png" alt="DocShield-0.8B showcase" width="70%"> </p> # DocShield-0.8B **DocShield-0.8B** is a forensic-grade vision-language model for **document / image forgery analysis**. It inspects an input document image, reasons over visual tampering traces and logical consistency, and produces a structured forgery-analysis report with localized tampered regions (grounding coordinates), per-region reasoning, an overall conclusion, and a fraud-risk score. It is fine-tuned from **Qwen3.5-VL-0.8B** with supervised training on forensic document-forgery data, and supports Qwen3.5 thinking mode. 📄 **Paper:** [arxiv.org/abs/2604.02694](https://arxiv.org/abs/2604.02694) ## Training data DocShield-0.8B was developed using the **RealText** forensic document datasets: - [vankey/RealText-V1](https://huggingface.co/datasets/vankey/RealText-V1) - [vankey/RealText-V2](https://huggingface.co/datasets/vankey/RealText-V2) ## Capabilities - **Visual forgery trace analysis** — crude redaction / mosaic, font & anti-aliasing inconsistency, edge halos, copy-paste artifacts, compression mismatches. - **Logical & fact-checking** — price/quantity contradictions, date conflicts, bulk-discount logic violations. - **Semantic alteration detection** — subtle spec substitutions (e.g. color, material) that bypass crude visual checks. - **Localization** — bounding-box coordinates for each tampered region with per-anomaly reasoning. - **Structured report** — conclusion (`FORGED` / authentic) + fraud-risk score. ## Model details | | | |---|---| | Base model | Qwen3.5-VL-0.8B | | Architecture | Qwen3_5ForConditionalGeneration (hybrid linear / full attention) | | Precision (weights) | bfloat16 | | Max new tokens | 1024 (default) | | Thinking mode | supported (`--thinking` / `--no-thinking`) | > The base model is **not** bundled here. This repository only releases the > fine-tuned DocShield-0.8B weights. ## Quick start Install dependencies: ```bash pip install -U transformers torch torchvision pillow qwen-vl-utils ``` > Requires a `transformers` version with native **Qwen3.5-VL (`qwen3_5`)** support. > The released we...

Source context: 65 downloads · 1 likes · Pipeline image-text-to-text · Library transformers · Repo vankey/DocShield-0.8B