eriktks/conll2003
Updated • 23.2k • 175
How to use hiraltalsaniya/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="hiraltalsaniya/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("hiraltalsaniya/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("hiraltalsaniya/distilbert-base-uncased-finetuned-ner", 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.2418 | 1.0 | 878 | 0.0703 | 0.8958 | 0.9178 | 0.9067 | 0.9794 |
| 0.0513 | 2.0 | 1756 | 0.0604 | 0.9250 | 0.9314 | 0.9282 | 0.9830 |
| 0.0302 | 3.0 | 2634 | 0.0612 | 0.9241 | 0.9352 | 0.9296 | 0.9833 |
Base model
distilbert/distilbert-base-uncased