eriktks/conll2003
Updated • 22.8k • 175
How to use Hemg/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Hemg/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Hemg/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("Hemg/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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 439 | 0.0877 | 0.8779 | 0.8955 | 0.8866 | 0.9754 |
| 0.2182 | 2.0 | 878 | 0.0626 | 0.9193 | 0.9299 | 0.9245 | 0.9820 |
| 0.0557 | 3.0 | 1317 | 0.0612 | 0.9252 | 0.9323 | 0.9287 | 0.9829 |
| 0.0346 | 4.0 | 1756 | 0.0619 | 0.9253 | 0.9355 | 0.9304 | 0.9834 |
Base model
distilbert/distilbert-base-uncased