eriktks/conll2003
Updated • 41.5k • 166
How to use cvnberk/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="cvnberk/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("cvnberk/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("cvnberk/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.2565 | 1.0 | 878 | 0.0714 | 0.9014 | 0.9214 | 0.9113 | 0.9797 |
| 0.0503 | 2.0 | 1756 | 0.0622 | 0.9248 | 0.9309 | 0.9278 | 0.9828 |
| 0.0312 | 3.0 | 2634 | 0.0611 | 0.9264 | 0.9372 | 0.9318 | 0.9835 |
Base model
distilbert/distilbert-base-uncased