eriktks/conll2003
Updated • 22.8k • 175
How to use Udi-Aharon/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Udi-Aharon/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Udi-Aharon/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("Udi-Aharon/distilbert-base-uncased-finetuned-ner", device_map="auto")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.2396 | 1.0 | 878 | 0.0715 | 0.9135 | 0.9228 | 0.9181 | 0.9805 |
| 0.051 | 2.0 | 1756 | 0.0617 | 0.9192 | 0.9334 | 0.9263 | 0.9826 |
| 0.0295 | 3.0 | 2634 | 0.0615 | 0.9243 | 0.9347 | 0.9295 | 0.9837 |