Downloads · 30 days
184
68% of all-time downloads
mdpi-ai/org-geo-ner
org-geo-ner is a token classification model from mdpi-ai. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
org-geo-ner is a token-classification (NER) model that extracts organizations and geographic context from affiliation strings. It was fine-tuned in-house by MDPI AG to power mdpi-ror-search, an open-source tool that m…
Downloads · 30 days
184
68% of all-time downloads
All-time downloads
269
Public
Parameters
277M
2.2 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors1.1 GB · 98%
From the Hugging Face model README
org-geo-ner is a token-classification (NER) model that extracts organizations and geographic context from affiliation strings. It was fine-tuned in-house by MDPI AG to power mdpi-ror-search, an open-source tool that matches affiliation strings against the Research Organization Registry (ROR).
B-/I-/O)ORG: parent organization (e.g. university, company, ministry)SUB: sub-organization / department, faculty, institute, labCITY: cityCOUNTRY: countryThis model is designed to extract structured entities from free-text author affiliation strings as found in scholarly manuscripts and metadata (e.g. "Dept. of Physics, ETH, Zürich, Switzerland"). It is the first stage in a pipeline whose downstream goal is to resolve affiliations to ROR IDs. For further details about the pipeline, visit mdpi-ror-search.
It is not intended for general-purpose NER on arbitrary text (news, social media, etc.) as it is specialized for the affiliation/address domain.
The model works out of the box with the transformers token-classification pipeline using aggregation_strategy="simple", which merges wordpiece tokens into full entity spans.
from transformers import pipeline
ner_pipeline = pipeline(
"token-classification",
model="mdpi-ai/org-geo-ner",
aggregation_strategy="simple",
)
text = "MDPI, Grosspeteranlage 5, 4052 Basel, Switzerland."
output = ner_pipeline(text)
for entity in output:
print(f"{entity['entity_group']:<10} {entity['word']:<40} score={entity['score']:.3f}")
Output:
ORG MDPI score=0.855
CITY Basel score=0.994
COUNTRY Switzerland score=1.000
Batch inference works the same way by passing a list of strings:
texts = [
"MDPI, Grosspeteranlage 5, 4052 Basel, Switzerland.",
"Department of Chemistry, MIT, Cambridge, MA, USA.",
]
outputs = ner_pipeline(texts)
For production use, filter low-confidence predictions with a score threshold (e.g. score >= 0.65) before downstream processing.
The model was fine-tuned on an internal, proprietary dataset of affiliation strings annotated for ORG, SUB, CITY, and COUNTRY spans. This dataset is not publicly released.
Evaluated with seqeval on the held-out test split (strict span matching):
| Entity | Precision | Recall | F1 |
|---|---|---|---|
| ORG | 85.5 | 87.9 | 86.6 |
| SUB | 87.1 | 89.6 | 88.3 |
| CITY | 94.7 | 95.8 | 95.2 |
| COUNTRY | 97.8 | 98.8 | 98.3 |
| Overall | 90.5 | 92.3 | 91.4 |
O (e.g. MA in "Cambridge, MA, USA").aggregation_strategy="simple", hyphenated compound organization names (e.g. CREAF-CSIC-UAB) can be split into multiple adjacent ORG spans rather than merged into one, since the tokenizer treats - as a token boundary. Downstream consumers may want to re-merge adjacent same-label spans separated only by punctuation.@misc{orggeoner,
title = {org-geo-ner: A Named Entity Recognition Model for Affiliation Parsing},
author = {MDPI AG},
year = {2026},
howpublished = {\url{https://huggingface.co/mdpi-ai/org-geo-ner}}
}
@inproceedings{duran-silva-etal-2024-affilgood,
title = {{A}ffil{G}ood: Building reliable institution name disambiguation tools to improve scientific literature analysis},
author = {Duran-Silva, Nicolau and Accuosto, Pablo and Przyby{\l}a, Piotr and Saggion, Horacio},
booktitle = {Proceedings of the Fourth Workshop on Scholarly Document Processing (SDP 2024)},
year = {2024},
address = {Bangkok, Thailand},
publisher = {Association for Computational Linguistics},
url = {https://aclanthology.org/2024.sdp-1.13},
pages = {135--144}
}
This model is provided as-is, without warranty of any kind. Predictions should be reviewed before being used in contexts requiring high accuracy, such as automated compliance or reporting workflows.