This is Qwen3.5-9B-based model, finetuned for OCR of Ainu texts written in カタカナ.
Fuente del modelo
Descripción de la fuente
This is Qwen3.5-9B-based model, finetuned for OCR of Ainu texts written in カタカナ.
from transformers import pipeline
img="https://huggingface.co/KoichiYasuoka/Qwen3.5-9B-AinuOCR/resolve/main/uwerankarap/orig/2026-01-31.jpg"
nlp=pipeline("image-text-to-text","KoichiYasuoka/Qwen3.5-9B-AinuOCR",max_new_tokens=2048)
doc=nlp([{"role":"user","content":[{"type":"image","image":img},{"type":"text","text":"OCR Ainu sentences."}]}])
print(doc[0]["generated_text"][1]["content"])
Fuentes
1 fuenteVerificado 1 ago
Artefactos del modelo
1 artefactoExtractos de fuentes
2 extractos--- language: - "ain" tags: - "ainu" - "OCR" base_model: Qwen/Qwen3.5-9B license: apache-2.0 pipeline_tag: image-text-to-text --- # Qwen3.5-9B-AinuOCR ## Model Description This is [Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B)-based model, finetuned for OCR of Ainu texts written in カタカナ. ## How to Use ``` from transformers import pipeline img="https://huggingface.co/KoichiYasuoka/Qwen3.5-9B-AinuOCR/resolve/main/uwerankarap/orig/2026-01-31.jpg" nlp=pipeline("image-text-to-text","KoichiYasuoka/Qwen3.5-9B-AinuOCR",max_new_tokens=2048) doc=nlp([{"role":"user","content":[{"type":"image","image":img},{"type":"text","text":"OCR Ainu sentences."}]}]) print(doc[0]["generated_text"][1]["content"]) ``` ## Reference 安岡孝一, 安岡素子: [Qwen3.5によるカタカナアイヌ語OCRの開発](http://hdl.handle.net/2433/300894), 情報処理学会研究報告, Vol.2026-CH-141『人文科学とコンピュータ』, No.3 (2026年5月16日), pp.1-5.
安岡孝一, 安岡素子: Qwen3.5によるカタカナアイヌ語OCRの開発, 情報処理学会研究報告, Vol.2026-CH-141『人文科学とコンピュータ』, No.3 (2026年5月16日), pp.1-5.
Source context: 65 downloads · 0 likes · Pipeline image-text-to-text · Repo KoichiYasuoka/Qwen3.5-9B-AinuOCR