eriktks/conll2003
Updated • 26k • 175
How to use Noura/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Noura/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Noura/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("Noura/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.2395 | 1.0 | 878 | 0.0709 | 0.9148 | 0.9186 | 0.9167 | 0.9809 |
| 0.0538 | 2.0 | 1756 | 0.0628 | 0.9228 | 0.9332 | 0.9280 | 0.9828 |
| 0.03 | 3.0 | 2634 | 0.0625 | 0.9267 | 0.9359 | 0.9313 | 0.9836 |