eriktks/conll2003
Updated • 39.3k • 166
How to use silpakanneganti/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="silpakanneganti/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("silpakanneganti/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("silpakanneganti/bert-finetuned-ner")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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 220 | 0.0930 | 0.8595 | 0.8995 | 0.8790 | 0.9737 |
| No log | 2.0 | 440 | 0.0629 | 0.8931 | 0.9322 | 0.9122 | 0.9819 |
| 0.1689 | 3.0 | 660 | 0.0591 | 0.9047 | 0.9362 | 0.9202 | 0.9836 |