--- library_name: transformers tags: [Fill Mask, Persian , BERT] --- ## Model Details ### Model Description This model is fine-tuned for the task of masked language modeling in Persian. The model can predict missing words in Persian sentences when a word is replaced by the [MASK] token. It is useful for a range of NLP applications, including text completion, question answering, and contextual understanding of Persian texts. - **Developed by:** Behpouyan - **Model type:** Encoder - **Language(s) (NLP):** Persian ## How to Get Started with the Model ``` python from transformers import AutoTokenizer, AutoModelForMaskedLM import torch # Load the tokenizer and model tokenizer = AutoTokenizer.from_pretrained("Behpouyan/Behpouyan-Fill-Mask") model = AutoModelForMaskedLM.from_pretrained("Behpouyan/Behpouyan-Fill-Mask") # List of 5 Persian sentences with a masked word (replacing a word with [MASK]) sentences = [ "این کتاب بسیار است.", # The book is very شما راضی است.", # The customer is always satisfied with your هستم.", # I am looking for دارد.", # This project needs است." # Our team is