eriktks/conll2003
Updated • 22.6k • 171
How to use BennB/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="BennB/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("BennB/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("BennB/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.253 | 1.0 | 878 | 0.0708 | 0.9027 | 0.9177 | 0.9101 | 0.9795 |
| 0.0518 | 2.0 | 1756 | 0.0624 | 0.9204 | 0.9329 | 0.9266 | 0.9825 |
| 0.031 | 3.0 | 2634 | 0.0618 | 0.9274 | 0.9371 | 0.9322 | 0.9834 |
Base model
distilbert/distilbert-base-uncased