eriktks/conll2003
Updated • 26k • 175
How to use blaze999/finetuned-ner-conll with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="blaze999/finetuned-ner-conll") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("blaze999/finetuned-ner-conll")
model = AutoModelForTokenClassification.from_pretrained("blaze999/finetuned-ner-conll", device_map="auto")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.218 | 1.0 | 878 | nan | 0.9080 | 0.9367 | 0.9221 | 0.9827 |
| 0.0449 | 2.0 | 1756 | nan | 0.9277 | 0.9485 | 0.9380 | 0.9857 |
| 0.0232 | 3.0 | 2634 | nan | 0.9285 | 0.9488 | 0.9386 | 0.9862 |
Base model
google-bert/bert-base-cased