eriktks/conll2003
Updated • 41.4k • 166
How to use LuisMBA/bert-finetuned-ner-ex-nlp-course with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="LuisMBA/bert-finetuned-ner-ex-nlp-course") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("LuisMBA/bert-finetuned-ner-ex-nlp-course")
model = AutoModelForTokenClassification.from_pretrained("LuisMBA/bert-finetuned-ner-ex-nlp-course")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.0762 | 1.0 | 1756 | 0.0623 | 0.9107 | 0.9374 | 0.9239 | 0.9827 |
| 0.0353 | 2.0 | 3512 | 0.0701 | 0.9312 | 0.9455 | 0.9383 | 0.9845 |
| 0.0217 | 3.0 | 5268 | 0.0639 | 0.9356 | 0.9510 | 0.9432 | 0.9862 |
Base model
google-bert/bert-base-cased