language: | |
- fa | |
library_name: hezar | |
tags: | |
- fill-mask | |
- hezar | |
pipeline_tag: fill-mask | |
base_model: | |
- hezarai/bert-base-fa | |
A BERT model for mask filling. The base BERT model is initialized from https://huggingface.co/HooshvareLab/bert-fa-zwnj-base. | |
## Usage | |
``` | |
pip install hezar | |
``` | |
```python | |
from hezar.models import Model | |
model = Model.load("hezarai/bert-fa-mask-filling") | |
inputs = ["ایشالا از [MASK] شروع میکنم"] | |
outputs = model.predict(inputs) | |
print(outputs) | |
``` |