Downloads · 30 days
242
4% of all-time downloads
David-Magdy/TR_OCR_LARGE
TR_OCR_LARGE is a image-text-to-text model from David-Magdy. 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 apache-2.0.
libraryname: transformers tags: - OCR - handwritten-text-recognition - multilingual - Arabic - English
Downloads · 30 days
242
4% of all-time downloads
All-time downloads
6.5K
Public
Parameters
558M
2.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2.2 GB · 100%
From the Hugging Face model README
library_name: transformers tags:
This is a finetuned version of TROCR Large specialized in handwritten text recognition for Arabic and English languages.
This is a finetuned version of Microsoft's TROCR Large model, adapted for handwritten text recognition in Arabic and English languages using the Khatt and IAM Handwriting datasets.
This model is intended for handwritten text recognition in Arabic and English documents.
The model should not be used for:
Users should be aware that the model is specifically trained for Arabic and English handwritten text and may not perform well on other languages or printed text.
# Sample code to load the model
from transformers import TrOCRProcessor, VisionEncoderDecoderModel
processor = TrOCRProcessor.from_pretrained("David-Magdy/TR_OCR_LARGE")
model = VisionEncoderDecoderModel.from_pretrained("David-Magdy/TR_OCR_LARGE")