eriktks/conll2003
Updated • 26.7k • 177
How to use Zarinah/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Zarinah/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Zarinah/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("Zarinah/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.2486 | 1.0 | 878 | 0.0694 | 0.9136 | 0.9263 | 0.9199 | 0.9816 |
| 0.0541 | 2.0 | 1756 | 0.0600 | 0.9215 | 0.9348 | 0.9281 | 0.9836 |
| 0.0304 | 3.0 | 2634 | 0.0605 | 0.9253 | 0.9366 | 0.9309 | 0.9839 |