eriktks/conll2003
Updated • 25.1k • 176
How to use arielb30/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="arielb30/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("arielb30/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("arielb30/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.2477 | 1.0 | 878 | 0.0706 | 0.9034 | 0.9164 | 0.9099 | 0.9796 |
| 0.0515 | 2.0 | 1756 | 0.0578 | 0.9194 | 0.9357 | 0.9275 | 0.9832 |
| 0.0305 | 3.0 | 2634 | 0.0594 | 0.9251 | 0.9374 | 0.9312 | 0.9839 |
Base model
distilbert/distilbert-base-uncased