eriktks/conll2003
Updated • 41.8k • 166
How to use Saiteja/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Saiteja/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Saiteja/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("Saiteja/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 |
|---|---|---|---|---|---|---|---|
| 0.2458 | 1.0 | 878 | 0.0707 | 0.9008 | 0.9230 | 0.9118 | 0.9797 |
| 0.0506 | 2.0 | 1756 | 0.0616 | 0.9260 | 0.9332 | 0.9296 | 0.9830 |
| 0.0312 | 3.0 | 2634 | 0.0617 | 0.9260 | 0.9355 | 0.9307 | 0.9835 |
Base model
distilbert/distilbert-base-uncased