eriktks/conll2003
Updated • 38.9k • 166
How to use dylanalloy/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="dylanalloy/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("dylanalloy/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("dylanalloy/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.0868 | 1.0 | 1756 | 0.0651 | 0.9158 | 0.9371 | 0.9263 | 0.9828 |
| 0.0351 | 2.0 | 3512 | 0.0635 | 0.9286 | 0.9493 | 0.9388 | 0.9864 |
| 0.0182 | 3.0 | 5268 | 0.0575 | 0.9337 | 0.9530 | 0.9433 | 0.9873 |