eriktks/conll2003
Updated • 33.6k • 170
How to use oguzinc/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="oguzinc/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("oguzinc/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("oguzinc/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.0752 | 1.0 | 1756 | 0.0627 | 0.9066 | 0.9372 | 0.9216 | 0.9833 |
| 0.0362 | 2.0 | 3512 | 0.0672 | 0.9331 | 0.9478 | 0.9404 | 0.9854 |
| 0.0223 | 3.0 | 5268 | 0.0642 | 0.9339 | 0.9507 | 0.9422 | 0.9863 |
Base model
google-bert/bert-base-cased