File size: 539 Bytes
1bb1aa8
 
 
 
5f93a6f
 
 
1bb1aa8
c79cd62
 
1bb1aa8
b519075
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
language:
- fa
library_name: hezar
tags:
- token-classification
- hezar
pipeline_tag: token-classification
base_model:
- hezarai/bert-base-fa
---
ParsBERT model trained on the [LSCP-500k dataset](https://huggingface.co/datasets/hezarai/lscp-pos-500k) for part of speech tagging.

### Usage
```
pip install hezar
```
```python
from hezar.models import Model

pos_model = Model.load("hezarai/bert-fa-pos-lscp-500k")
inputs = ["کتابخانه هوش مصنوعی هزار"]
pos_outputs = pos_model.predict(inputs)
print(pos_outputs)
```