eriktks/conll2003
Updated • 32.7k • 169
How to use Ak128umar/bert-finetuned-ner_1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Ak128umar/bert-finetuned-ner_1") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Ak128umar/bert-finetuned-ner_1")
model = AutoModelForTokenClassification.from_pretrained("Ak128umar/bert-finetuned-ner_1")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.0777 | 1.0 | 1756 | 0.0649 | 0.9089 | 0.9322 | 0.9204 | 0.9821 |
| 0.0352 | 2.0 | 3512 | 0.0688 | 0.9319 | 0.9460 | 0.9389 | 0.9850 |
| 0.0222 | 3.0 | 5268 | 0.0633 | 0.9347 | 0.9493 | 0.9420 | 0.9864 |
Base model
google-bert/bert-base-cased