eriktks/conll2003
Updated • 21.3k • 171
How to use roschmid/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="roschmid/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("roschmid/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("roschmid/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.2399 | 1.0 | 878 | 0.0678 | 0.9097 | 0.9211 | 0.9154 | 0.9804 |
| 0.0502 | 2.0 | 1756 | 0.0628 | 0.9152 | 0.9320 | 0.9235 | 0.9820 |
| 0.0299 | 3.0 | 2634 | 0.0631 | 0.9207 | 0.9352 | 0.9279 | 0.9832 |