Downloads · 30 days
9
2% of all-time downloads
mansoorhamidzadeh/Named-entity-recognition
Named-entity-recognition is a token classification model from mansoorhamidzadeh. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as mit.
Model Description: This Named-Entity-Recognition (NER) model is designed to identify and classify named entities in Persian (Farsi) text into predefined categories such as person names, organizations, locations, dates…
Downloads · 30 days
9
2% of all-time downloads
All-time downloads
520
Public
Parameters
122M
489 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors489 MB · 99%
From the Hugging Face model README
Model Description: This Named-Entity-Recognition (NER) model is designed to identify and classify named entities in Persian (Farsi) text into predefined categories such as person names, organizations, locations, dates, and more. The model is built using the Hugging Face Transformers library and fine-tuned on the PartAI/TookaBERT-Base model.
Intended Use: The model is intended for use in applications where identifying and classifying entities in Persian text is required. It can be used for information retrieval, content analysis, customer support automation, and more.
Model Architecture:
Dataset: The model was trained on a diverse corpus of Persian text, with a training dataset of 15,000 sentences and a test dataset of 2,000 sentences, to ensure broad applicability and high accuracy.
Data Preprocessing:
Training Configuration:
Training and Validation Losses:
Hardware:
The model predicts the following tags:
import torch
from transformers import pipeline
# Load the NER pipeline
ner_pipeline = pipeline("ner", model="NLPclass/Named-entity-recognition")
# Example text in Persian
text = "باراک اوباما در هاوایی متولد شد."
# Perform NER
entities = ner_pipeline(text)
# Output the entities
print(entities)
@misc{mansoorhamidzadeh,
author = {mansoorhamidzadeh},
title = {Named-Entity-Recognition for Persian using Transformers},
year = {2024},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/mansoorhamidzadeh/Named-entity-recognition}},
}