arxyzan's picture
Update README.md
b519075 verified
metadata
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 for part of speech tagging.

Usage

pip install hezar
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)