eriktks/conll2003
Updated • 26.7k • 176
How to use grazh/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="grazh/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("grazh/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("grazh/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.2405 | 1.0 | 878 | 0.0710 | 0.9038 | 0.9208 | 0.9122 | 0.9797 |
| 0.0522 | 2.0 | 1756 | 0.0635 | 0.9198 | 0.9308 | 0.9253 | 0.9823 |
| 0.0307 | 3.0 | 2634 | 0.0645 | 0.9263 | 0.9361 | 0.9312 | 0.9836 |
Base model
distilbert/distilbert-base-uncased