arxyzan commited on
Commit
df2d295
1 Parent(s): 1d5c815

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -0
README.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - fa
4
+ library_name: hezar
5
+ tags:
6
+ - fill-mask
7
+ - hezar
8
+ pipeline_tag: fill-mask
9
+ ---
10
+ A RoBERTa model for mask filling. The base RoBERTa model is initialized from https://huggingface.co/HooshvareLab/roberta-fa-zwnj-base.
11
+
12
+ ## Usage
13
+ ```
14
+ pip install hezar
15
+ ```
16
+ ```python
17
+ from hezar.models import Model
18
+
19
+ model = Model.load("hezarai/roberta-fa-mask-filling")
20
+ inputs = ["ایشالا از <mask> شروع میکنم"]
21
+ outputs = model.predict(inputs)
22
+ print(outputs)
23
+ ```