token-classification

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

distilroberta-base-ner-conll2003

This model is a fine-tuned version of distilroberta-base on the conll2003 dataset.

eval F1-Score: 95,29 (CoNLL-03)
test F1-Score: 90,74 (CoNLL-03)

eval F1-Score: 95,29 (CoNLL++ / CoNLL-03 corrected)
test F1-Score: 92,23 (CoNLL++ / CoNLL-03 corrected)

Model Usage

from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline

tokenizer = AutoTokenizer.from_pretrained("philschmid/distilroberta-base-ner-conll2003")
model = AutoModelForTokenClassification.from_pretrained("philschmid/distilroberta-base-ner-conll2003")

nlp = pipeline("ner", model=model, tokenizer=tokenizer, grouped_entities=True)
example = "My name is Philipp and live in Germany"

nlp(example)

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

Training results

CoNNL2003

It achieves the following results on the evaluation set:

It achieves the following results on the test set:

CoNNL++ / CoNLL2003 corrected

It achieves the following results on the evaluation set:

It achieves the following results on the test set:

Framework versions