postagger-azb / README.md
mahsaamani's picture
Update README.md
735fa23
|
raw
history blame
1.01 kB
---
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")
```