eriktks/conll2003
Updated • 23.8k • 175
How to use Gladiator/distilbert-base-uncased_ner_conll2003 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Gladiator/distilbert-base-uncased_ner_conll2003") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Gladiator/distilbert-base-uncased_ner_conll2003")
model = AutoModelForTokenClassification.from_pretrained("Gladiator/distilbert-base-uncased_ner_conll2003", 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.1897 | 1.0 | 878 | 0.0544 | 0.9223 | 0.9270 | 0.9246 | 0.9848 |
| 0.0363 | 2.0 | 1756 | 0.0486 | 0.9316 | 0.9391 | 0.9353 | 0.9869 |
| 0.0194 | 3.0 | 2634 | 0.0496 | 0.9369 | 0.9403 | 0.9386 | 0.9873 |
| 0.0114 | 4.0 | 3512 | 0.0526 | 0.9340 | 0.9436 | 0.9388 | 0.9875 |
| 0.0089 | 5.0 | 4390 | 0.0524 | 0.9358 | 0.9438 | 0.9398 | 0.9877 |