eriktks/conll2003
Updated • 38.9k • 166
How to use sohamtiwari3120/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="sohamtiwari3120/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("sohamtiwari3120/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("sohamtiwari3120/bert-finetuned-ner")This model is a fine-tuned version of bert-base-uncased 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 | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy | Loc F1 | Misc F1 | Org F1 | Per F1 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.0745 | 1.0 | 1756 | 0.0556 | 0.9183 | 0.9345 | 0.9263 | 0.9848 | 0.9501 | 0.8499 | 0.8775 | 0.9765 |
| 0.0321 | 2.0 | 3512 | 0.0542 | 0.9346 | 0.9475 | 0.9410 | 0.9872 | 0.9618 | 0.8761 | 0.9073 | 0.9773 |
| 0.0172 | 3.0 | 5268 | 0.0589 | 0.9362 | 0.9500 | 0.9430 | 0.9873 | 0.9616 | 0.8783 | 0.9121 | 0.9797 |