Skip to content
Local AI Wizard
Your machine
Theme

GOT-OCR2_0

StepFun · stepfun-ai/GOT-OCR2_0

Weights license: Apache 2.0 · code and components may use other terms

Hub downloads · 30 days282.9KPopularity, not quality · read 2026-10-25
Memory needed~1 GBQ4 weights + working room, before the machine's reserve
Parameters0.7 BHub safetensors total
Repository updated2025-02-04A commit is not a release date

Quality

No comparable score

We track no public, comparable benchmark that covers this model yet. No score is inferred.

Reported by the publisher

The publisher's card states no benchmark result for this checkpoint (read 2026-10-25). not published on the card · read 2026-10-25

Runs on

Fast memory holds it 119

The planning estimate fits the memory the model can use quickly: graphics card VRAM, or unified memory within the macOS GPU share.

Show all 119

Hardware profiles grouped by the Q4 planning estimate on each machine (dedicated GPUs reserve 2 GB; unified and system memory 25%, 2 to 8 GB): the fast memory holds it, it is within memory but outside the fast part (layers offloaded to PC RAM, or above the macOS GPU share), or the machine is one memory tier short. Not a measured fit or speed.

Consider it for

StepFun released GOT-OCR2_0 on 2024-09-03: a vision-language model that answers about images, with 716M parameters on the Hugging Face count and the Apache 2.0 license. Languages the publisher declares: Multilingual.

Check first

License: commercial use allowed. At Q4 the weights load about 0.5 GB before each machine's reserve; image resolution, video frames and context add memory, and the vision encoder needs support in the runtime you pick.

Measured speed

No published measurement for this checkpoint

Tokens per second are shown only when a source publishes them with hardware, build and setup. They are never estimated.

How to run

Runtime compatibility and tokens per second have not been measured for this entry. Published metadata and a memory estimate do not prove a successful local run.

Documented ways to run it

Copied as printed in the linked source (read 2026-10-18); not run by this site.

Transformers · model card · Usage
from transformers import AutoModel, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained('ucaslcl/GOT-OCR2_0', trust_remote_code=True)
model = AutoModel.from_pretrained('ucaslcl/GOT-OCR2_0', trust_remote_code=True, low_cpu_mem_usage=True, device_map='cuda', use_safetensors=True, pad_token_id=tokenizer.eos_token_id)
model = model.eval().cuda()


# input your test image
image_file = 'xxx.jpg'

# plain texts OCR
res = model.chat(tokenizer, image_file, ocr_type='ocr')

# format texts OCR:
# res = model.chat(tokenizer, image_file, ocr_type='format')

# fine-grained OCR:
# res = model.chat(tokenizer, image_file, ocr_type='ocr', ocr_box='')
# res = model.chat(tokenizer, image_file, ocr_type='format', ocr_box='')
# res = model.chat(tokenizer, image_file, ocr_type='ocr', ocr_color='')
# res = model.chat(tokenizer, image_file, ocr_type='format', ocr_color='')

# multi-crop OCR:
# res = model.chat_crop(tokenizer, image_file, ocr_type='ocr')
# res = model.chat_crop(tokenizer, image_file, ocr_type='format')

# render the formatted OCR results:
# res = model.chat(tokenizer, image_file, ocr_type='format', render=True, save_render_file = './demo.html')

print(res)

Choose my computer

Technical details

What the source and the catalog store for this checkpoint. Missing fields are left out, never zero.

Checkpoint / source
stepfun-ai/GOT-OCR2_0
Task
image-text-to-text
Architecture
GOTQwenForCausalLM
Weight license
Apache 2.0stepfun-ai/GOT-OCR2_0 model card (Hugging Face) · read 2026-10-18source
Commercial use
Allowed Apache License 2.0 text (SPDX) · read 2026-10-18license text
Languages
MultilingualModel card metadata · read 2026-10-25source
Released
GOT-OCR2.0 README news (GitHub) · read 2026-10-18source
Every stored field11 fields
Revision checked
979938bf89ccdc949c0131ddd3841e24578a4742
Architecture
GOTQwenForCausalLM
Hub task tag
image-text-to-text
Formats
safetensors
Access
Open download
Publisher kind
Official
Hub parameter count
716,033,280safetensors.total
Repository created
2024-09-12creation is not the model's release
Repository updated
2025-02-04a commit is not a release date
Hub downloads (30 days) · likes
282,922 · 1,575this repository only · read 2026-10-25
Catalog state
Hub config or weights found; no inventory benchmark link

Sources

Identity and published specifications come from the checkpoint page. Benchmark scores belong to the named release and do not measure speed on your computer.

Curated facts checked: 2026-10-18. The license and release date cite the publisher's sources; parameters, files and task come from the Hugging Face record, and memory is a labelled estimate from its parameter count. A value no source states stays empty; a repository commit is not a model release date.