How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf prithivMLmods/WeVisDoc-4B-GGUF:
Configure OpenClaw
# Install OpenClaw:
npm install -g openclaw@latest
# Register the local server and set it as the default model:
openclaw onboard --non-interactive --mode local \
  --auth-choice custom-api-key \
  --custom-base-url http://127.0.0.1:8080/v1 \
  --custom-model-id "prithivMLmods/WeVisDoc-4B-GGUF:" \
  --custom-provider-id llama-cpp \
  --custom-compatibility openai \
  --custom-text-input \
  --accept-risk \
  --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
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
1,377
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

Space using prithivMLmods/WeVisDoc-4B-GGUF 1

Collection including prithivMLmods/WeVisDoc-4B-GGUF