AzerBert / README.md
marzinouri's picture
Update README.md
100400d
|
raw
history blame
1.02 kB
metadata
pipeline_tag: fill-mask
widget:
  - text: سن نجورسن [MASK]
    example_title: سن نجورسن [MASK]
  - text: بو [MASK] کتابی ده.
    example_title: بو [MASK] کتابی ده.
  - text: دیل [MASK] اؤنملی دیر.
    example_title: دیل [MASK] اؤنملی دیر.
language:
  - az
metrics:
  - perplexity

AzerBERT

  • Type: BERT-based language model transformer
  • Description: AzerBERT is a pre-trained language model specifically tailored for the Iranian Azerbaijani language. It can be used for various NLP tasks, including text classification, named entity recognition, and more.

How to use

# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="language-ml-lab/AzerBert")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("language-ml-lab/AzerBert")
model = AutoModelForMaskedLM.from_pretrained("language-ml-lab/AzerBert")