arxyzan commited on
Commit
4eab14c
1 Parent(s): d463d54

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - fa
4
+ pipeline_tag: image-to-text
5
+ library_name: hezar
6
+ ---
7
+ A TrOCR model for Persian (V2)
8
+
9
+ #### Example
10
+ ```python
11
+ from hezar import Model
12
+
13
+ model = Model.load("hezarai/trocr-base-fa-v2")
14
+ text = model.predict(["image.jpg"])
15
+ print(text)
16
+ ```