eriktks/conll2003
Updated • 21.8k • 171
How to use ArunaSaraswathy/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="ArunaSaraswathy/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("ArunaSaraswathy/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("ArunaSaraswathy/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.09 | 1.0 | 1756 | 0.0685 | 0.9215 | 0.9344 | 0.9279 | 0.9822 |
| 0.0341 | 2.0 | 3512 | 0.0640 | 0.9252 | 0.9446 | 0.9348 | 0.9854 |
| 0.017 | 3.0 | 5268 | 0.0628 | 0.9331 | 0.9485 | 0.9407 | 0.9865 |