marzinouri commited on
Commit
22edf8a
·
1 Parent(s): 20c9aa1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +28 -5
README.md CHANGED
@@ -1,8 +1,31 @@
1
  ---
2
  pipeline_tag: fill-mask
3
  widget:
4
- - text: سن نجورسن [MASK]
5
- example_title: سن نجورسن [MASK]
6
- - text: بو [MASK] کتابی ده.
7
- example_title: بو [MASK] کتابی ده.
8
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  pipeline_tag: fill-mask
3
  widget:
4
+ - text: سن نجورسن [MASK]
5
+ example_title: سن نجورسن [MASK]
6
+ - text: بو [MASK] کتابی ده.
7
+ example_title: بو [MASK] کتابی ده.
8
+ language:
9
+ - az
10
+ metrics:
11
+ - perplexity
12
+ ---
13
+ # AzerBERT
14
+ - Type: BERT-based language model transformer
15
+ - 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.
16
+
17
+ ## How to use
18
+ ```python
19
+ # Use a pipeline as a high-level helper
20
+ from transformers import pipeline
21
+
22
+ pipe = pipeline("fill-mask", model="language-ml-lab/AzerBert")
23
+ ```
24
+
25
+ ```python
26
+ # Load model directly
27
+ from transformers import AutoTokenizer, AutoModelForMaskedLM
28
+
29
+ tokenizer = AutoTokenizer.from_pretrained("language-ml-lab/AzerBert")
30
+ model = AutoModelForMaskedLM.from_pretrained("language-ml-lab/AzerBert")
31
+ ```