eriktks/conll2003
Updated • 22.2k • 172
How to use lucasmtz/distilbert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="lucasmtz/distilbert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("lucasmtz/distilbert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("lucasmtz/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.244 | 1.0 | 878 | 0.0714 | 0.9104 | 0.9181 | 0.9142 | 0.9797 |
| 0.0568 | 2.0 | 1756 | 0.0605 | 0.9183 | 0.9351 | 0.9266 | 0.9827 |
| 0.0302 | 3.0 | 2634 | 0.0610 | 0.9252 | 0.9370 | 0.9311 | 0.9834 |