arxyzan's picture
Update README.md
54d1a28 verified
metadata
language:
  - fa
library_name: hezar
tags:
  - fill-mask
  - hezar
pipeline_tag: fill-mask
base_model:
  - hezarai/roberta-base-fa

A RoBERTa model for mask filling. The base RoBERTa model is initialized from https://huggingface.co./HooshvareLab/roberta-fa-zwnj-base.

Usage

pip install hezar
from hezar.models import Model

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