模型:
philschmid/distilroberta-base-ner-conll2003
任务:
标记分类许可:
apache-2.0This 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)
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)
The following hyperparameters were used during training:
It achieves the following results on the evaluation set:
It achieves the following results on the test set:
It achieves the following results on the evaluation set:
It achieves the following results on the test set: