eriktks/conll2003
Updated • 41.3k • 166
How to use swardiantara/distilbert-base-cased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="swardiantara/distilbert-base-cased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("swardiantara/distilbert-base-cased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("swardiantara/distilbert-base-cased-finetuned-ner")This model is a fine-tuned version of distilbert-base-cased 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.2732 | 1.0 | 878 | 0.0916 | 0.8931 | 0.8961 | 0.8946 | 0.9736 |
| 0.0717 | 2.0 | 1756 | 0.0726 | 0.9166 | 0.9212 | 0.9189 | 0.9794 |
| 0.0364 | 3.0 | 2634 | 0.0709 | 0.9170 | 0.9272 | 0.9221 | 0.9804 |