eriktks/conll2003
Updated • 35k • 168
How to use naninya/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="naninya/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("naninya/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("naninya/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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 220 | 0.0800 | 0.8496 | 0.9042 | 0.8761 | 0.9769 |
| No log | 2.0 | 440 | 0.0642 | 0.8964 | 0.9315 | 0.9136 | 0.9828 |
| 0.1541 | 3.0 | 660 | 0.0615 | 0.9021 | 0.9354 | 0.9184 | 0.9833 |
Base model
google-bert/bert-base-cased