Downloads · 30 days
20
10% of all-time downloads
akam-ot/ku-ner-xlmr
ku-ner-xlmr is a token classification model from akam-ot. Use it when you need labels on individual words, such as names. The card lists the license as apache-2.0.
This is a fine-tuned xlm-roberta-base model for Named Entity Recognition (NER) in Kurmanji Kurdish. It was trained on a manually annotated dataset of 7,919 sentences covering news and other text sources. The model ide…
Downloads · 30 days
20
10% of all-time downloads
All-time downloads
205
Public
Parameters
277M
8.9 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.1 GB · 98%
From the Hugging Face model README
This is a fine-tuned xlm-roberta-base model for Named Entity Recognition (NER) in Kurmanji Kurdish. It was trained on a manually annotated dataset of 7,919 sentences covering news and other text sources. The model identifies the following entity types:
xlm-roberta-base (270M parameters)Final held-out test set: 716 sentences (≈12k tokens)
| Metric | Value |
|---|---|
| Precision | 0.8668 |
| Recall | 0.8803 |
| F1 Score | 0.8735 |
👉 Streamlit Demo
Paste a sentence in Kurmanji Kurdish (Latin script) and explore the model’s predictions in your browser.
You can load and use the model via Hugging Face 🤗 Transformers:
from transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline
model_id = "akam-ot/ku-ner-xlmr"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForTokenClassification.from_pretrained(model_id)
ner = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple")
sentence = "Navê min Hejar e û ez li Hewlêr dijîm."
results = ner(sentence)
for ent in results:
print(f"{ent['word']} → {ent['entity_group']} (score: {ent['score']:.2f})")