A TrOCR model for Persian (V2)

Example

from hezar.models import Model

model = Model.load("hezarai/trocr-base-fa-v2")
text = model.predict(["image.jpg"])
print(text)
Downloads last month
33
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and the HF Inference API does not support hezar models with pipeline type image-to-text