eriktks/conll2003
Updated • 41.4k • 166
How to use bthomas/tuto-bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="bthomas/tuto-bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("bthomas/tuto-bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("bthomas/tuto-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.0218 | 1.0 | 1756 | 0.0714 | 0.9372 | 0.9524 | 0.9447 | 0.9862 |
| 0.0123 | 2.0 | 3512 | 0.0761 | 0.9347 | 0.9510 | 0.9428 | 0.9859 |
| 0.0063 | 3.0 | 5268 | 0.0827 | 0.9380 | 0.9525 | 0.9452 | 0.9867 |