Model Card for
impresso-project/nel-mgenre-multilingual
The
Impresso multilingual named entity linking (NEL)
model is based on
mGENRE
(multilingual Generative ENtity REtrieval) proposed by
De Cao et al
, a sequence-to-sequence architecture for entity disambiguation based on
mBART
. It uses
constrained generation
to output entity names mapped to Wikidata/QIDs.
This model was adapted for historical texts and fine-tuned on the
HIPE-2022 dataset
, which includes a variety of historical document types and languages.
Model Details
Model Description
Model Description
Developed by:
EPFL from the
Impresso team
. The project is an interdisciplinary project focused on historical media analysis across languages, time, and modalities. Funded by the Swiss National Science Foundation (
CRSII5_173719
,
CRSII5_213585
) and the Luxembourg National Research Fund (grant No. 17498891).
Model type:
mBART-based sequence-to-sequence model with constrained beam search for named entity linking
Languages:
Multilingual (100+ languages, optimized for French, German, and English)
from transformers import AutoTokenizer, pipeline
NEL_MODEL_NAME = "impresso-project/nel-mgenre-multilingual-light"
nel_tokenizer = AutoTokenizer.from_pretrained(NEL_MODEL_NAME)
nel_pipeline = pipeline("generic-nel", model=NEL_MODEL_NAME,
tokenizer=nel_tokenizer,
trust_remote_code=True,
device='cpu')
sentence = "Le 0ctobre 1894, [START] Dreyfvs [END] est arrêté à Paris, accusé d'espionnage pour l'Allemagne — un événement qui déch1ra la société fr4nçaise pendant des années."print(nel_pipeline(sentence))
The type of the entity is
UNK
because the model was not trained on the entity type. The
confidence_nel
score indicates the model's confidence in the prediction.
Use Cases
Entity disambiguation in noisy OCR settings
Linking historical names to modern Wikidata entities
Assisting downstream event extraction and biography generation from historical archives
Limitations
Sensitive to tokenisation and malformed spans
Accuracy degrades on non-Wikidata entities or in highly ambiguous contexts
Focused on historical entity mentions — performance may vary on modern texts
nel-mgenre-multilingual-light huggingface.co is an AI model on huggingface.co that provides nel-mgenre-multilingual-light's model effect (), which can be used instantly with this impresso-project nel-mgenre-multilingual-light model. huggingface.co supports a free trial of the nel-mgenre-multilingual-light model, and also provides paid use of the nel-mgenre-multilingual-light. Support call nel-mgenre-multilingual-light model through api, including Node.js, Python, http.
nel-mgenre-multilingual-light huggingface.co is an online trial and call api platform, which integrates nel-mgenre-multilingual-light's modeling effects, including api services, and provides a free online trial of nel-mgenre-multilingual-light, you can try nel-mgenre-multilingual-light online for free by clicking the link below.
impresso-project nel-mgenre-multilingual-light online free url in huggingface.co:
nel-mgenre-multilingual-light is an open source model from GitHub that offers a free installation service, and any user can find nel-mgenre-multilingual-light on GitHub to install. At the same time, huggingface.co provides the effect of nel-mgenre-multilingual-light install, users can directly use nel-mgenre-multilingual-light installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
nel-mgenre-multilingual-light install url in huggingface.co: