Downloads · 30 days
106
24% of all-time downloads
tohoku-cijs/qwen3.5-2b-ndl-honkoku-kuzushiji-ocr
qwen3.5-2b-ndl-honkoku-kuzushiji-ocr is a image-text-to-text model from tohoku-cijs. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. The card lists the license as other.
End-to-end vision-language OCR for pre-modern and early-modern Japanese documents. Full fine-tune of Qwen/Qwen3.5-2B on a combined corpus of printed honkoku transcriptions and Kuzushiji cursive pages.
Downloads · 30 days
106
24% of all-time downloads
All-time downloads
445
Public
Parameters
2.2B
4.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors4.4 GB · 100%
From the Hugging Face model README
End-to-end vision-language OCR for pre-modern and early-modern Japanese documents. Full fine-tune of Qwen/Qwen3.5-2B on a combined corpus of printed honkoku transcriptions and Kuzushiji cursive pages.
Total: ~23.9k training pages. Held-out eval set: 416 honkoku rows (cleaned_v2 val) + 120 Kuzushiji rows (kaggle held-out val).
vllm serve tohoku-cijs/qwen3.5-2b-ndl-honkoku-kuzushiji-ocr \
--served-model-name ocr --trust-remote-code \
--max-model-len 16384 --gpu-memory-utilization 0.7
import base64, requests
with open("page.jpg", "rb") as f:
b64 = base64.b64encode(f.read()).decode()
r = requests.post(
"http://localhost:8000/v1/chat/completions",
json={
"model": "ocr",
"messages": [{
"role": "user",
"content": [{"type": "image_url",
"image_url": {"url": f"data:image/jpeg;base64,{b64}"}}],
}],
"temperature": 0.0,
"max_tokens": 2048,
},
)
print(r.json()["choices"][0]["message"]["content"])