File size: 480 Bytes
4475bd0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
language:
- fa
library_name: hezar
tags:
- fill-mask
- hezar
pipeline_tag: fill-mask
---
A DistilBERT model for mask filling. The base DistilBERT model is initialized from https://huggingface.co/HooshvareLab/distilbert-fa-zwnj-base.

## Usage
```
pip install hezar
```
```python
from hezar.models import Model

model = Model.load("hezarai/distilbert-fa-mask-filling")
inputs = ["ایشالا از [MASK] شروع میکنم"]
outputs = model.predict(inputs)
print(outputs)
```