Downloads · 30 days
19
10% of all-time downloads
hezarai/bert-fa-mask-filling
bert-fa-mask-filling is a fill-mask model from hezarai. Use it when you need the model to fill a missing word. It is set up for hezar.
A BERT model for mask filling. The base BERT model is initialized from https://huggingface.co/HooshvareLab/bert-fa-zwnj-base.
Downloads · 30 days
19
10% of all-time downloads
All-time downloads
189
Public
Repo size
473 MB
Likes
0
Public
Click a slice to open those files.
.pt473 MB · 100%
From the Hugging Face model README
A BERT model for mask filling. The base BERT model is initialized from https://huggingface.co/HooshvareLab/bert-fa-zwnj-base.
pip install hezar
from hezar.models import Model
model = Model.load("hezarai/bert-fa-mask-filling")
inputs = ["ایشالا از [MASK] شروع میکنم"]
outputs = model.predict(inputs)
print(outputs)