eriktks/conll2003
Updated • 39k • 166
How to use CptBaas/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="CptBaas/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("CptBaas/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("CptBaas/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.0886 | 1.0 | 1756 | 0.0748 | 0.9142 | 0.9270 | 0.9205 | 0.9809 |
| 0.035 | 2.0 | 3512 | 0.0590 | 0.9295 | 0.9480 | 0.9387 | 0.9868 |
| 0.0175 | 3.0 | 5268 | 0.0605 | 0.9361 | 0.9510 | 0.9435 | 0.9867 |