arxyzan commited on
Commit
2dc6ae8
1 Parent(s): 2f214e1

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 BERT model for mask filling. The base BERT model is initialized from https://huggingface.co/HooshvareLab/bert-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/bert-fa-mask-filling")
20
+ inputs = ["ایشالا از [MASK] شروع میکنم"]
21
+ outputs = model.predict(inputs)
22
+ print(outputs)
23
+ ```