eriktks/conll2003
Updated • 41.3k • 166
How to use dingzhaohan/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="dingzhaohan/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("dingzhaohan/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("dingzhaohan/distilbert-base-uncased-finetuned-ner")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.244 | 1.0 | 878 | 0.0695 | 0.9145 | 0.9235 | 0.9190 | 0.9812 |
| 0.0545 | 2.0 | 1756 | 0.0602 | 0.9211 | 0.9355 | 0.9282 | 0.9833 |
| 0.0298 | 3.0 | 2634 | 0.0601 | 0.9254 | 0.9377 | 0.9315 | 0.9843 |