eriktks/conll2003
Updated • 31.8k • 170
How to use aimarsg/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="aimarsg/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("aimarsg/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("aimarsg/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.0867 | 1.0 | 1756 | 0.0695 | 0.9266 | 0.9416 | 0.9341 | 0.9829 |
| 0.0338 | 2.0 | 3512 | 0.0604 | 0.9296 | 0.9495 | 0.9395 | 0.9860 |
| 0.0176 | 3.0 | 5268 | 0.0638 | 0.9308 | 0.9502 | 0.9404 | 0.9860 |