eriktks/conll2003
Updated • 39.3k • 166
How to use D2Sakai/distilbert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="D2Sakai/distilbert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("D2Sakai/distilbert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("D2Sakai/distilbert-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.2505 | 1.0 | 878 | 0.0693 | 0.9063 | 0.9224 | 0.9143 | 0.9802 |
| 0.0525 | 2.0 | 1756 | 0.0616 | 0.9206 | 0.9331 | 0.9268 | 0.9828 |
| 0.0296 | 3.0 | 2634 | 0.0634 | 0.9267 | 0.9358 | 0.9312 | 0.9832 |
Base model
distilbert/distilbert-base-uncased