eriktks/conll2003
Updated • 36.3k • 167
How to use chari-md/bert-finetuned-ner-trainer with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="chari-md/bert-finetuned-ner-trainer") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("chari-md/bert-finetuned-ner-trainer")
model = AutoModelForTokenClassification.from_pretrained("chari-md/bert-finetuned-ner-trainer")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.0861 | 1.0 | 1756 | 0.0623 | 0.9173 | 0.9310 | 0.9241 | 0.9832 |
| 0.0342 | 2.0 | 3512 | 0.0644 | 0.9297 | 0.9483 | 0.9389 | 0.9856 |
| 0.0165 | 3.0 | 5268 | 0.0607 | 0.9392 | 0.9515 | 0.9453 | 0.9868 |