eriktks/conll2003
Updated • 38.9k • 166
How to use sanjay7178/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="sanjay7178/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("sanjay7178/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("sanjay7178/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.0872 | 1.0 | 1756 | 0.0712 | 0.9173 | 0.9332 | 0.9252 | 0.9815 |
| 0.0333 | 2.0 | 3512 | 0.0648 | 0.9295 | 0.9493 | 0.9393 | 0.9861 |
| 0.0174 | 3.0 | 5268 | 0.0616 | 0.9324 | 0.9495 | 0.9409 | 0.9863 |