eriktks/conll2003
Updated • 38.9k • 166
How to use rootacess/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="rootacess/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("rootacess/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("rootacess/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.0883 | 1.0 | 1756 | 0.0691 | 0.9187 | 0.9318 | 0.9252 | 0.9819 |
| 0.0343 | 2.0 | 3512 | 0.0636 | 0.9231 | 0.9475 | 0.9351 | 0.9858 |
| 0.0192 | 3.0 | 5268 | 0.0598 | 0.9333 | 0.9512 | 0.9422 | 0.9869 |