eriktks/conll2003
Updated • 33.8k • 169
How to use yajatpawar/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="yajatpawar/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("yajatpawar/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("yajatpawar/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.3157 | 1.0 | 1756 | 0.2809 | 0.6808 | 0.5308 | 0.5965 | 0.8926 |
| 0.1897 | 2.0 | 3512 | 0.2156 | 0.7269 | 0.6557 | 0.6894 | 0.9221 |
| 0.1409 | 3.0 | 5268 | 0.1967 | 0.7283 | 0.7060 | 0.7170 | 0.9289 |
Base model
google-bert/bert-base-cased