How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("token-classification", model="pourmand1376/NER_Farsi")
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification

tokenizer = AutoTokenizer.from_pretrained("pourmand1376/NER_Farsi")
model = AutoModelForTokenClassification.from_pretrained("pourmand1376/NER_Farsi", device_map="auto")
Quick Links

This model can classify tokens and do Name Entity Recognition task in Farsi.

Feel free to test it. You can copy from below samples.

من امیر پورمند هستم و در خبرگزاری فارس استان زنجان هستم. 

This model is based on Farsi Bert and is finetuned on Name Entity Recognition task for 10 epochs.

Downloads last month
12
Safetensors
Model size
0.1B params
Tensor type
I64
·
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support