eriktks/conll2003
Updated • 39.1k • 166
How to use ramybaly/ner_conll2003 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="ramybaly/ner_conll2003") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("ramybaly/ner_conll2003")
model = AutoModelForTokenClassification.from_pretrained("ramybaly/ner_conll2003")This model is a fine-tuned version of bert-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.423 | 1.0 | 877 | 0.0656 | 0.9158 | 0.9268 | 0.9213 | 0.9818 |
| 0.0575 | 2.0 | 1754 | 0.0574 | 0.9285 | 0.9445 | 0.9364 | 0.9847 |
| 0.0295 | 3.0 | 2631 | 0.0631 | 0.9414 | 0.9456 | 0.9435 | 0.9859 |
| 0.0155 | 4.0 | 3508 | 0.0680 | 0.9395 | 0.9467 | 0.9431 | 0.9860 |
| 0.0097 | 5.0 | 4385 | 0.0694 | 0.9385 | 0.9513 | 0.9449 | 0.9863 |
| 0.0059 | 6.0 | 5262 | 0.0743 | 0.9363 | 0.9471 | 0.9416 | 0.9860 |
| 0.0041 | 7.0 | 6139 | 0.0803 | 0.9371 | 0.9518 | 0.9444 | 0.9862 |