eriktks/conll2003
Updated • 39k • 166
How to use Nguyens/bert-finetuned-ner-accelerate with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Nguyens/bert-finetuned-ner-accelerate") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Nguyens/bert-finetuned-ner-accelerate")
model = AutoModelForTokenClassification.from_pretrained("Nguyens/bert-finetuned-ner-accelerate")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.0211 | 1.0 | 1756 | 0.0741 | 0.9254 | 0.9443 | 0.9348 | 0.9851 |
| 0.0126 | 2.0 | 3512 | 0.0741 | 0.9331 | 0.9485 | 0.9407 | 0.9862 |
| 0.0084 | 3.0 | 5268 | 0.0797 | 0.9354 | 0.9509 | 0.9431 | 0.9867 |
Base model
google-bert/bert-base-cased