eriktks/conll2003
Updated • 41.1k • 166
How to use worknick/bert-base-cased-finetuned-conll2003 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="worknick/bert-base-cased-finetuned-conll2003") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("worknick/bert-base-cased-finetuned-conll2003")
model = AutoModelForTokenClassification.from_pretrained("worknick/bert-base-cased-finetuned-conll2003")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.2349 | 0.57 | 500 | 0.0885 | 0.8957 | 0.8980 | 0.8968 | 0.9747 |
| 0.0822 | 1.14 | 1000 | 0.0774 | 0.9184 | 0.9219 | 0.9202 | 0.9802 |
| 0.0476 | 1.71 | 1500 | 0.0683 | 0.9345 | 0.9325 | 0.9335 | 0.9833 |
| 0.0368 | 2.28 | 2000 | 0.0653 | 0.9333 | 0.9430 | 0.9381 | 0.9847 |
| 0.028 | 2.85 | 2500 | 0.0670 | 0.9279 | 0.9342 | 0.9311 | 0.9835 |
| 0.0171 | 3.42 | 3000 | 0.0643 | 0.9410 | 0.9469 | 0.9439 | 0.9860 |
| 0.0149 | 3.99 | 3500 | 0.0667 | 0.9369 | 0.9477 | 0.9422 | 0.9856 |
| 0.0088 | 4.56 | 4000 | 0.0698 | 0.9360 | 0.9473 | 0.9416 | 0.9855 |