CoolFace
Modelpublic

samirmsallem/xlm-roberta-base-definitions_ner

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes17downloads
Model Card

NER model for definition component recognition in German scientific texts

xlm-roberta-base-definitions_ner is a NER model (token classification) in the scientific domain in German, finetuned from the model xlm-roberta-base. It was trained using a custom annotated dataset of around 10,000 training and 2,000 test examples containing definition- and non-definition-related sentences from wikipedia articles in german.

The model is specifically designed to recognize and classify components of definitions, using the following entity labels:

  • —DF: Definiendum (the term being defined)
  • —VF: Definitor (the verb or phrase introducing the definition)
  • —GF: Definiens (the explanation or meaning)

Training was conducted using a standard NER objective. The model achieves an F1 score of approximately 83% on the evaluation set.

Here are the overall final metrics on the test dataset after 5 epochs of training:

  • —f1: 0.8262004492199356
  • —precision: 0.8189914550487424
  • —recall: 0.8335374816266536
  • —loss: 0.312337189912796

Model Performance Comparision on wikidefinitionsde_multitask:

ModelPrecisionRecallF1 ScoreEval Samples per SecondEpoch
distilbert-base-multilingual-cased-definitions_ner80.7681.7481.25457.535.0
scibert_scivocab_cased-definitions_ner80.5482.1181.32236.614.0
GottBERT_base_best-definitions_ner82.9882.8182.90272.265.0
xlm-roberta-base-definitions_ner81.9083.3582.62241.215.0
gbert-base-definitions_ner82.7383.5683.14278.875.0
gbert-large-definitions_ner80.6783.3681.99109.832.0