eriktks/conll2003
Updated • 38.3k • 166
How to use GustawB/distilbert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="GustawB/distilbert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("GustawB/distilbert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("GustawB/distilbert-finetuned-ner")This model is a fine-tuned version of distilbert-base-cased 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.0937 | 1.0 | 1756 | 0.0894 | 0.8737 | 0.9010 | 0.8872 | 0.9733 |
| 0.045 | 2.0 | 3512 | 0.0833 | 0.9117 | 0.9258 | 0.9187 | 0.9802 |
| 0.0299 | 3.0 | 5268 | 0.0748 | 0.9139 | 0.9342 | 0.9239 | 0.9820 |
Base model
distilbert/distilbert-base-cased