We present
NERmembert-large-4entities
, which is a
CamemBERT large
fine-tuned for the Name Entity Recognition task for the French language on four French NER datasets for 4 entities (LOC, PER, ORG, MISC).
All these datasets were concatenated and cleaned into a single dataset that we called
frenchNER_4entities
.
There are a total of
384,773
rows, of which
328,757
are for training,
24,131
for validation and
31,885
for testing.
Our methodology is described in a blog post available in
English
or
French
.
Dataset
The dataset used is
frenchNER_4entities
, which represents ~385k sentences labeled in 4 categories:
Label
Examples
PER
"La Bruyère", "Gaspard de Coligny", "Wittgenstein"
ORG
"UTBM", "American Airlines", "id Software"
LOC
"République du Cap-Vert", "Créteil", "Bordeaux"
MISC
"Wolfenstein 3D", "Révolution française", "Coupe du monde de football"
The distribution of the entities is as follows:
Splits
O
PER
LOC
ORG
MISC
train
7,539,692
307,144
286,746
127,089
799,494
validation
544,580
24,034
21,585
5,927
18,221
test
720,623
32,870
29,683
7,911
21,760
Evaluation results
The evaluation was carried out using the
evaluate
python package.
frenchNER_4entities
For space reasons, we show only the F1 of the different models. You can see the full results below the table.
from transformers import pipeline
ner = pipeline('token-classification', model='CATIE-AQ/NERmembert-large-4entities', tokenizer='CATIE-AQ/NERmembert-large-4entities', aggregation_strategy="simple")
results = ner(
"Le dévoilement du logo officiel des JO s'est déroulé le 21 octobre 2019 au Grand Rex. Ce nouvel emblème et cette nouvelle typographie ont été conçus par le designer Sylvain Boyer avec les agences Royalties & Ecobranding. Rond, il rassemble trois symboles : une médaille d'or, la flamme olympique et Marianne, symbolisée par un visage de femme mais privée de son bonnet phrygien caractéristique. La typographie dessinée fait référence à l'Art déco, mouvement artistique des années 1920, décennie pendant laquelle ont eu lieu pour la dernière fois les Jeux olympiques à Paris en 1924. Pour la première fois, ce logo sera unique pour les Jeux olympiques et les Jeux paralympiques."
)
print(result)
Carbon Efficiency (kg/kWh):
0.078 (estimated from
electricitymaps
for the day of January 10, 2024.)
Carbon Emitted
(Power consumption x Time x Carbon produced based on location of power grid)
: 0.08 kg eq. CO2
Citations
NERmembert-large-4entities
@misc {NERmembert2024,
author = { {BOURDOIS, Loïck} },
organization = { {Centre Aquitain des Technologies de l'Information et Electroniques} },
title = { NERmembert-large-4entities (Revision 1cd8be5) },
year = 2024,
url = { https://huggingface.co/CATIE-AQ/NERmembert-large-4entities },
doi = { 10.57967/hf/1752 },
publisher = { Hugging Face }
}
multiconer
@inproceedings{multiconer2-report,
title={{SemEval-2023 Task 2: Fine-grained Multilingual Named Entity Recognition (MultiCoNER 2)}},
author={Fetahu, Besnik and Kar, Sudipta and Chen, Zhiyu and Rokhlenko, Oleg and Malmasi, Shervin},
booktitle={Proceedings of the 17th International Workshop on Semantic Evaluation (SemEval-2023)},
year={2023},
publisher={Association for Computational Linguistics}}
@article{multiconer2-data,
title={{MultiCoNER v2: a Large Multilingual dataset for Fine-grained and Noisy Named Entity Recognition}},
author={Fetahu, Besnik and Chen, Zhiyu and Kar, Sudipta and Rokhlenko, Oleg and Malmasi, Shervin},
year={2023}}
multinerd
@inproceedings{tedeschi-navigli-2022-multinerd,
title = "{M}ulti{NERD}: A Multilingual, Multi-Genre and Fine-Grained Dataset for Named Entity Recognition (and Disambiguation)",
author = "Tedeschi, Simone and Navigli, Roberto",
booktitle = "Findings of the Association for Computational Linguistics: NAACL 2022",
month = jul,
year = "2022",
address = "Seattle, United States",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2022.findings-naacl.60",
doi = "10.18653/v1/2022.findings-naacl.60",
pages = "801--812"}
pii-masking-200k
@misc {ai4privacy_2023,
author = { {ai4Privacy} },
title = { pii-masking-200k (Revision 1d4c0a1) },
year = 2023,
url = { https://huggingface.co/datasets/ai4privacy/pii-masking-200k },
doi = { 10.57967/hf/1532 },
publisher = { Hugging Face }}
wikiann
@inproceedings{rahimi-etal-2019-massively,
title = "Massively Multilingual Transfer for {NER}",
author = "Rahimi, Afshin and Li, Yuan and Cohn, Trevor",
booktitle = "Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics",
month = jul,
year = "2019",
address = "Florence, Italy",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/P19-1015",
pages = "151--164"}
wikiner
@article{NOTHMAN2013151,
title = {Learning multilingual named entity recognition from Wikipedia},
journal = {Artificial Intelligence},
volume = {194},
pages = {151-175},
year = {2013},
note = {Artificial Intelligence, Wikipedia and Semi-Structured Resources},
issn = {0004-3702},
doi = {https://doi.org/10.1016/j.artint.2012.03.006},
url = {https://www.sciencedirect.com/science/article/pii/S0004370212000276},
author = {Joel Nothman and Nicky Ringland and Will Radford and Tara Murphy and James R. Curran}}
frenchNER_4entities
@misc {frenchNER2024,
author = { {BOURDOIS, Loïck} },
organization = { {Centre Aquitain des Technologies de l'Information et Electroniques} },
title = { frenchNER_4entities },
year = 2024,
url = { https://huggingface.co/CATIE-AQ/frenchNER_4entities },
doi = { 10.57967/hf/1751 },
publisher = { Hugging Face }
}
CamemBERT
@inproceedings{martin2020camembert,
title={CamemBERT: a Tasty French Language Model},
author={Martin, Louis and Muller, Benjamin and Su{\'a}rez, Pedro Javier Ortiz and Dupont, Yoann and Romary, Laurent and de la Clergerie, {\'E}ric Villemonte and Seddah, Djam{\'e} and Sagot, Beno{\^\i}t},
booktitle={Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics},
year={2020}}
NERmembert-large-4entities huggingface.co is an AI model on huggingface.co that provides NERmembert-large-4entities's model effect (), which can be used instantly with this CATIE-AQ NERmembert-large-4entities model. huggingface.co supports a free trial of the NERmembert-large-4entities model, and also provides paid use of the NERmembert-large-4entities. Support call NERmembert-large-4entities model through api, including Node.js, Python, http.
NERmembert-large-4entities huggingface.co is an online trial and call api platform, which integrates NERmembert-large-4entities's modeling effects, including api services, and provides a free online trial of NERmembert-large-4entities, you can try NERmembert-large-4entities online for free by clicking the link below.
CATIE-AQ NERmembert-large-4entities online free url in huggingface.co:
NERmembert-large-4entities is an open source model from GitHub that offers a free installation service, and any user can find NERmembert-large-4entities on GitHub to install. At the same time, huggingface.co provides the effect of NERmembert-large-4entities install, users can directly use NERmembert-large-4entities installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
NERmembert-large-4entities install url in huggingface.co: