Downloads · 30 days
26
33% of all-time downloads
UAzimov/uzbek-ner-xlmr-large
uzbek-ner-xlmr-large is a token classification model from UAzimov. 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.
Token-classification model for Uzbek Named Entity Recognition: FacebookAI/xlm-roberta-large fine-tuned on 3,776 Gold-train sentences (uznlp-uz/uzbekNER, seed-7 split). SUFFIX-INCLUSIVE convention — entity spans includ…
Downloads · 30 days
26
33% of all-time downloads
All-time downloads
79
Public
Parameters
559M
2.3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2.2 GB · 99%
From the Hugging Face model README
Token-classification model for Uzbek Named Entity Recognition: FacebookAI/xlm-roberta-large
fine-tuned on 3,776 Gold-train sentences (uznlp-uz/uzbek_NER, seed-7 split). SUFFIX-INCLUSIVE
convention — entity spans include Uzbek case/possessive/plural suffixes as annotated in Gold
(e.g. Zarafshonga = B-LOC).
FacebookAI/xlm-roberta-large is MIT).uznlp-uz/uzbek_NER, DOI 10.57967/hf/9399).
No new human annotation in this release — weights + eval predictions only.| Split | P | R | F1 | 95% bootstrap CI |
|---|---|---|---|---|
| Gold-400 (this checkpoint) | 0.790 | 0.795 | 0.793 | [0.762, 0.824] |
| LLM-200 subset (this checkpoint) | 0.808 | 0.810 | 0.809 | [0.767, 0.850] |
For comparison on the same splits: in-domain CRF 0.771/0.727 · GPT-5.6-Luna few-shot 0.621 · memorization 0.522 · GLiNER 0.495 · BERTbek-transfer 0.482. Full tables in the paper.
O, B-PER I-PER, B-ORG I-ORG, B-LOC I-LOC, B-MISC I-MISC, B-TEMPORAL I-TEMPORAL,
B-NUMERIC I-NUMERIC, B-WORK I-WORK, B-MONEY I-MONEY (BIO).
from transformers import AutoTokenizer, AutoModelForTokenClassification
import torch
tok = AutoTokenizer.from_pretrained("UAzimov/uzbek-ner-xlmr-large")
model = AutoModelForTokenClassification.from_pretrained("UAzimov/uzbek-ner-xlmr-large")
model.eval()
words = ["Prezident", "Shavkat", "Mirziyoyev", "Samarqandga", "keldi", "."]
enc = tok(words, is_split_into_words=True, return_tensors="pt", truncation=True)
with torch.no_grad():
pred = model(**enc).logits.argmax(-1)[0].tolist()
wids, tags, seen = enc.word_ids(), ["O"] * len(words), set()
id2l = model.config.id2label
for j, w in enumerate(wids):
if w is None or w in seen or w >= len(words):
continue
seen.add(w)
tags[w] = id2l[pred[j]]
print(list(zip(words, tags)))
# [('Prezident', 'O'), ('Shavkat', 'B-PER'), ('Mirziyoyev', 'I-PER'),
# ('Samarqandga', 'B-LOC'), ('keldi', 'O'), ('.', 'O')]
First-subword label alignment (continuation subwords ignored at decode).
FacebookAI/xlm-roberta-large · fresh token-classification head (17 labels)uznlp-uz/uzbek_NER)@misc{azimov2026uzbeknerxlmr,
title = {uzbek-ner-xlmr-large: XLM-R-large fine-tuned for Uzbek NER on Uzbek-NER-Gold},
author = {Azimov, Utkirbek},
year = {2026},
howpublished = {\url{https://huggingface.co/UAzimov/uzbek-ner-xlmr-large}},
license = {MIT},
}
Base data: Elov, B. B. & Alaev, R. H. (2026). Uzbek NER Gold.
https://huggingface.co/datasets/uznlp-uz/uzbek_NER (CC-BY-4.0, DOI 10.57967/hf/9399).
Full benchmark paper with all 15 systems: see repo paper.md.