arxyzan's picture
Update README.md
63a29f0 verified
metadata
language:
  - fa
library_name: hezar
tags:
  - token-classification
  - hezar
pipeline_tag: token-classification
base_model:
  - hezarai/distilbert-base-fa

ParsDistilBERT 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/distilbert-fa-pos-lscp-500k")
inputs = ["کتابخانه هوش مصنوعی هزار"]
pos_outputs = pos_model.predict(inputs)
print(pos_outputs)