eriktks/conll2003
Updated • 33.1k • 177
How to use aishuizoo/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="aishuizoo/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("aishuizoo/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("aishuizoo/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.2403 | 1.0 | 878 | 0.0707 | 0.9057 | 0.9199 | 0.9128 | 0.9799 |
| 0.0508 | 2.0 | 1756 | 0.0616 | 0.9281 | 0.9330 | 0.9305 | 0.9831 |
| 0.031 | 3.0 | 2634 | 0.0611 | 0.9270 | 0.9359 | 0.9314 | 0.9834 |
Base model
distilbert/distilbert-base-uncased