eriktks/conll2003
Updated • 32.4k • 170
How to use loveplay1983/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="loveplay1983/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("loveplay1983/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("loveplay1983/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.0722 | 1.0 | 1756 | 0.0606 | 0.9173 | 0.9404 | 0.9287 | 0.9830 |
| 0.0272 | 2.0 | 3512 | 0.0666 | 0.9278 | 0.9455 | 0.9366 | 0.9856 |
| 0.0151 | 3.0 | 5268 | 0.0596 | 0.9374 | 0.9519 | 0.9446 | 0.9871 |
Base model
google-bert/bert-base-cased