eriktks/conll2003
Updated • 39.4k • 166
How to use Perriewang/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Perriewang/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Perriewang/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("Perriewang/distilbert-base-uncased-finetuned-ner")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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 63 | 0.3840 | 0.6009 | 0.56 | 0.5797 | 0.9108 |
| No log | 2.0 | 126 | 0.2487 | 0.7085 | 0.7 | 0.7042 | 0.9345 |
| No log | 3.0 | 189 | 0.2327 | 0.7056 | 0.7 | 0.7028 | 0.9364 |
Base model
distilbert/distilbert-base-uncased