eriktks/conll2003
Updated • 39.3k • 166
How to use SiddharthaM/bert-base-uncased-ner-conll2003 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="SiddharthaM/bert-base-uncased-ner-conll2003") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("SiddharthaM/bert-base-uncased-ner-conll2003")
model = AutoModelForTokenClassification.from_pretrained("SiddharthaM/bert-base-uncased-ner-conll2003")This model is a fine-tuned version of bert-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.0871 | 1.0 | 1756 | 0.0728 | 0.9138 | 0.9275 | 0.9206 | 0.9811 |
| 0.0331 | 2.0 | 3512 | 0.0591 | 0.9311 | 0.9514 | 0.9411 | 0.9866 |
| 0.0173 | 3.0 | 5268 | 0.0602 | 0.9342 | 0.9536 | 0.9438 | 0.9870 |