Downloads · 30 days
32
3% of all-time downloads
Keyven/german-ocr-2b-gguf
german-ocr-2b-gguf is a image-text-to-text model from Keyven. 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 apache-2.0.
Kompaktes Vision-Language Modell für deutsche Dokumenten-OCR.
Downloads · 30 days
32
3% of all-time downloads
All-time downloads
924
Public
Repo size
1.6 GB
Likes
6
Public
Click a slice to open those files.
.gguf1.6 GB · 100%
From the Hugging Face model README
Kompaktes Vision-Language Modell für deutsche Dokumenten-OCR.
| Datei | Größe | Beschreibung |
|---|---|---|
German-OCR-Engine.2B.gguf | 1.03 GB | LLM Engine (Q4_K) |
German-OCR-Worker-2B.gguf | 424 MB | Vision Encoder |
llama-mtmd-cli \
-m German-OCR-Engine.2B.gguf \
--mmproj German-OCR-Worker-2B.gguf \
--image rechnung.png \
-p "Extrahiere den Text aus diesem Dokument:" \
-ngl 99
pip install german-ocr[llamacpp]
from german_ocr import GermanOCR
ocr = GermanOCR(backend="llamacpp")
text = ocr.extract("rechnung.png")
print(text)
| Hardware | Speed | Accuracy |
|---|---|---|
| RTX 4060 | 127 tok/s | 100% |
| CPU-only | 23 tok/s | 100% |
Apache 2.0
Keyvan Hardani - keyvan.ai