eriktks/conll2003
Updated • 39.1k • 166
How to use ViktorDo/DistilBERT-finetuned-ner-conll2003 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="ViktorDo/DistilBERT-finetuned-ner-conll2003") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("ViktorDo/DistilBERT-finetuned-ner-conll2003")
model = AutoModelForTokenClassification.from_pretrained("ViktorDo/DistilBERT-finetuned-ner-conll2003")This model is a fine-tuned version of distilbert-base-uncased on the conll2003 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.0807 | 1.0 | 1756 | 0.0581 | 0.9156 | 0.9317 | 0.9236 | 0.9845 |
| 0.0364 | 2.0 | 3512 | 0.0567 | 0.9252 | 0.9384 | 0.9317 | 0.9852 |
| 0.0202 | 3.0 | 5268 | 0.0594 | 0.9293 | 0.9424 | 0.9358 | 0.9861 |