eriktks/conll2003
Updated • 38.3k • 166
How to use roncmic/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="roncmic/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("roncmic/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("roncmic/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.2412 | 1.0 | 878 | 0.0686 | 0.9041 | 0.9249 | 0.9144 | 0.9803 |
| 0.0519 | 2.0 | 1756 | 0.0596 | 0.9236 | 0.9339 | 0.9287 | 0.9831 |
| 0.0298 | 3.0 | 2634 | 0.0606 | 0.9258 | 0.9372 | 0.9315 | 0.9837 |
Base model
distilbert/distilbert-base-uncased