How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="HooshvareLab/roberta-fa-zwnj-base")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("HooshvareLab/roberta-fa-zwnj-base")
model = AutoModelForMaskedLM.from_pretrained("HooshvareLab/roberta-fa-zwnj-base", device_map="auto")
Quick Links

Roberta

This model can tackle the zero-width non-joiner character for Persian writing. Also, the model was trained on new multi-types corpora with a new set of vocabulary.

Questions?

Post a Github issue on the ParsRoBERTa Issues repo.

Downloads last month
1,806
Inference Providers NEW
Examples
Mask token: <mask>

Model tree for HooshvareLab/roberta-fa-zwnj-base

Finetunes
34 models