eriktks/conll2003
Updated โข 45.4k โข 184
How to use chleesg/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="chleesg/distilbert-base-uncased-finetuned-ner") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("chleesg/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("chleesg/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.2515 | 1.0 | 878 | 0.0705 | 0.9067 | 0.9203 | 0.9135 | 0.9804 |
| 0.0529 | 2.0 | 1756 | 0.0621 | 0.9182 | 0.9301 | 0.9241 | 0.9824 |
| 0.0311 | 3.0 | 2634 | 0.0627 | 0.9237 | 0.9348 | 0.9292 | 0.9834 |
Base model
distilbert/distilbert-base-uncased