A TrOCR model for Persian. This is just a preview to verify the model works in Hezar. This model will be trained on more and better datasets soon!

Example

from hezar.models import Model

model = Model.load("trocr-base-fa-v1")
text = model.predict(["image.jpg"])
print(text)
Downloads last month
32
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The HF Inference API does not support image-to-text models for hezar library.