eriktks/conll2003
Updated • 38.3k • 166
How to use onionLad/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="onionLad/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("onionLad/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("onionLad/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 |
|---|---|---|---|---|---|---|---|
| 0.2182 | 1.0 | 878 | 0.0709 | 0.9055 | 0.9290 | 0.9171 | 0.9810 |
| 0.0485 | 2.0 | 1756 | 0.0574 | 0.9270 | 0.9473 | 0.9371 | 0.9858 |
| 0.0241 | 3.0 | 2634 | 0.0562 | 0.9322 | 0.9482 | 0.9401 | 0.9863 |