How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf prithivMLmods/WeVisDoc-4B-GGUF:
# Run inference directly in the terminal:
llama cli -hf prithivMLmods/WeVisDoc-4B-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf prithivMLmods/WeVisDoc-4B-GGUF:
# Run inference directly in the terminal:
llama cli -hf prithivMLmods/WeVisDoc-4B-GGUF:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf prithivMLmods/WeVisDoc-4B-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf prithivMLmods/WeVisDoc-4B-GGUF:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf prithivMLmods/WeVisDoc-4B-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf prithivMLmods/WeVisDoc-4B-GGUF:
Use Docker
docker model run hf.co/prithivMLmods/WeVisDoc-4B-GGUF:
Quick Links

WeVisDoc-4B-GGUF

WeVisDoc-4B is an end-to-end document parsing model developed by Tencent that converts page images directly into structured Markdown output, complete with LaTeX-formatted formulas and HTML tables. Fine-tuned from Qwen3-VL-4B-Instruct, it is designed specifically for document parsing (rather than being a general-purpose vision-language model) and supports both English and Chinese. The model achieves state-of-the-art results among end-to-end document parsing specialists, scoring 95.38 Overall on OmniDocBench v1.6 and a mean Overall score of 75.54 across the three PureDocBench tracks (Clean, Digital Degraded, and Real Degraded), ranking first in all four reported settings while outperforming larger models like olmOCR-2-7B. Released under the Apache 2.0 license, it can be deployed via vLLM (requiring vLLM ≥0.11.1) for efficient serving or run locally with Transformers, and is accompanied by a smaller 2B variant (WeVisDoc-2B) for lighter deployments.

Model Files

File Name Quant Type File Size File Link
WeVisDoc-4B.BF16.gguf BF16 8.83 GB Download
WeVisDoc-4B.F16.gguf F16 8.83 GB Download
WeVisDoc-4B.Q3_K_L.gguf Q3_K_L 2.41 GB Download
WeVisDoc-4B.Q3_K_M.gguf Q3_K_M 2.24 GB Download
WeVisDoc-4B.Q4_K_M.gguf Q4_K_M 2.72 GB Download
WeVisDoc-4B.Q4_K_S.gguf Q4_K_S 2.6 GB Download
WeVisDoc-4B.Q5_K_M.gguf Q5_K_M 3.16 GB Download
WeVisDoc-4B.Q5_K_S.gguf Q5_K_S 3.09 GB Download
WeVisDoc-4B.Q6_K.gguf Q6_K 3.63 GB Download
WeVisDoc-4B.Q8_0.gguf Q8_0 4.69 GB Download
WeVisDoc-4B.mmproj-bf16.gguf mmproj-bf16 839 MB Download
WeVisDoc-4B.mmproj-f16.gguf mmproj-f16 839 MB Download
WeVisDoc-4B.mmproj-q8_0.gguf mmproj-q8_0 454 MB Download

llama.cpp

LLM inference in C/C++ — https://github.com/ggml-org/llama.cpp

Downloads last month
246
GGUF
Model size
4B params
Architecture
qwen3vl
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for prithivMLmods/WeVisDoc-4B-GGUF

Quantized
(3)
this model

Collection including prithivMLmods/WeVisDoc-4B-GGUF