Downloads · 30 days
39
14% of all-time downloads
meutsabdahal/nepali-ner-roberta
nepali-ner-roberta is a token classification model from meutsabdahal. Use it when you need labels on individual words, such as names. The card lists the license as other.
A Nepali named-entity recognition model: IRIISNEPAL/RoBERTaNepali110M fine-tuned on EverestNER. Published as one row of a six-encoder ablation comparing base models under an identical pipeline and protocol. See the be…
Downloads · 30 days
39
14% of all-time downloads
All-time downloads
280
Public
Parameters
124M
496 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors496 MB · 99%
From the Hugging Face model README
A Nepali named-entity recognition model: IRIISNEPAL/RoBERTa_Nepali_110M fine-tuned on EverestNER. Published as one row of a six-encoder ablation comparing base models under an identical pipeline and protocol. See the benchmark repo for the full comparison, method, and error analysis.
O)Intended for named-entity recognition on Nepali text, particularly news-domain text similar to EverestNER's source material (political, geographic, and organizational names skew are expected to be well covered; other domains may see degraded performance).
EVENT is unreliable and should not be trusted as a ranking signal. The EverestNER test set has only 59 Event instances, so its F1 (see table below) carries a wide margin of error and swung between 0.25 and 0.61 across the six models compared in the parent benchmark. Do not build a claim on this model's Event performance specifically.
This model is a research/portfolio artifact, not a production service. It has not been evaluated outside the EverestNER domain.
Identical protocol across every model in the ablation (no per-model hyperparameter tuning, so comparisons between base models are not confounded by which one got a luckier learning rate):
| hyperparameter | value |
|---|---|
| learning rate | 5e-05 |
| epochs | 4 |
| batch size | 16 |
| weight decay | 0.01 |
| warmup ratio | 0.1 |
| max sequence length | 256 |
| checkpoint selection | best dev micro-F1 (seqeval, strict IOB2) |
| seeds | 13, 21, 42 |
EverestNER test set (1,950 sentences), seqeval strict IOB2. Mean +- std across 3 seeds (optimization variance):
| metric | value |
|---|---|
| micro-F1 | 0.9185 +- 0.0020 |
| macro-F1 | 0.8557 +- 0.0024 |
Per-entity (mean across seeds):
| entity | precision | recall | f1 |
|---|---|---|---|
| PER | 0.957 | 0.938 | 0.947 |
| LOC | 0.916 | 0.906 | 0.911 |
| ORG | 0.895 | 0.904 | 0.900 |
| DATE | 0.944 | 0.923 | 0.933 |
| EVENT | 0.562 | 0.616 | 0.587 |
On this seed's own checkpoint, a sentence-level bootstrap over the test set gives a 95% CI of [0.9093, 0.9282] on micro-F1 (test-sampling variance; distinct from the seed mean/std above, which is optimization variance; the two are not combined).
from transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline
tokenizer = AutoTokenizer.from_pretrained("meutsabdahal/nepali-ner-roberta")
model = AutoModelForTokenClassification.from_pretrained("meutsabdahal/nepali-ner-roberta")
ner = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple")
ner("काठमाडौं महानगरपालिकाले नयाँ योजना ल्यायो।")
EverestNER is released for non-commercial use only. This model is a derivative fine-tuned on that data and inherits the same restriction; it is not licensed for commercial use. The training/evaluation code for this project is separately licensed under Apache-2.0; that code license does not extend to this model's weights. See the dataset's own repository for the exact terms.
If you use this model, please credit EverestNER and the base encoder: