File size: 1,011 Bytes
4fcf02f
 
 
 
 
 
6a482fa
735fa23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
pipeline_tag: token-classification
widget:
  - text: سن نجورسن؟
    example_title: سن نجورسن؟
  - text: من سنی سویرم.
    example_title: من سنی سویرم.
---
# POS Tagger
Type: Fine-tuned BERT-based Part-of-Speech (POS) tagging model
Description: This model has been fine-tuned using [AzerBERT](https://huggingface.co/language-ml-lab/AzerBert) for part-of-speech tagging tasks in Iranian Azerbaijani text. It can be used to annotate text with 11 POS tags, which is essential for various downstream NLP applications.

## How to use
```python
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("token-classification", model="language-ml-lab/postagger-azb")
```

```python
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification

tokenizer = AutoTokenizer.from_pretrained("language-ml-lab/postagger-azb")
model = AutoModelForTokenClassification.from_pretrained("language-ml-lab/postagger-azb")
```