|
--- |
|
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) |
|
``` |