eriktks/conll2003
Updated • 33.9k • 169
How to use ShadowTwin41/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="ShadowTwin41/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("ShadowTwin41/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("ShadowTwin41/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 | 293 | 0.0844 | 0.8714 | 0.9123 | 0.8914 | 0.9760 |
| 0.1765 | 2.0 | 586 | 0.0601 | 0.9109 | 0.9357 | 0.9231 | 0.9834 |
| 0.1765 | 3.0 | 879 | 0.0586 | 0.9128 | 0.9406 | 0.9265 | 0.9842 |