Downloads · 30 days
5.3K
20% of all-time downloads
dh-unibe/trocr-kurrent
trocr-kurrent is a image-text-to-text model from dh-unibe. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
Handwritten Text Recognition model for 19th century German.
Downloads · 30 days
5.3K
20% of all-time downloads
All-time downloads
26.8K
Public
Parameters
334M
4 GB on disk
Likes
12
Public
Click a slice to open those files.
.bin1.3 GB · 50%
From the Hugging Face model README
# TrOCR Kurrent-Model 19th century Handwritten Text Recognition model for 19th century German.
Part of the developments at the Digital Humanities@University of Bern. Developed by Jonas Widmer and Tobias Hodel in conjunction with researchers and institutions mentioned below.
Base model: microsoft/trocr-base-handwritten
Train Lines: 292'997
Eval Lines: 7'513
Test Lines: 15'817
Epochs: 19.66 / 20
Eval CER: 0.02827
Test CER: 0.02655
Finetuned on Kurrent-dataset, containing:
The model has not been extensively tested. Potential biases are still to be identified.
This is a VisionEncoderDecoderModel for line images: it reads one cropped
text line per call, which is also what the CER above was measured on. A whole
page is not an input it has — pass one and it returns a fragment of it.
Segment the page first (kraken, eScriptorium, Transkribus, or any line
segmenter) and pass the crops one at a time. In the DH Bern serving stack the
model is registered level: line and the gateway segments with kraken before
calling it; the reasoning and the measurements behind that rule are in
thodel/serving-atr-inference#165.