How to use from the
Use from the
Transformers library
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("GaborMadarasz/ocr-T5")
model = AutoModelForSeq2SeqLM.from_pretrained("GaborMadarasz/ocr-T5", device_map="auto")
Quick Links

An mT5-large model finetuned for Post-OCR correcting Hungarian texts.

max_token = 512 (preferably just one sentence)

prefix: "ocr: "

More details later. :)

Downloads last month
14
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support