eriktks/conll2003
Updated • 41.3k • 166
How to use adel-cybral/TinyBERT-finetuned-NER with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="adel-cybral/TinyBERT-finetuned-NER") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("adel-cybral/TinyBERT-finetuned-NER")
model = AutoModelForTokenClassification.from_pretrained("adel-cybral/TinyBERT-finetuned-NER")This model is a fine-tuned version of huawei-noah/TinyBERT_General_4L_312D 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.5173 | 1.0 | 878 | 0.2116 | 0.7429 | 0.7756 | 0.7589 | 0.9493 |
| 0.196 | 2.0 | 1756 | 0.1528 | 0.8262 | 0.8383 | 0.8323 | 0.9620 |
| 0.1444 | 3.0 | 2634 | 0.1355 | 0.8447 | 0.8606 | 0.8526 | 0.9652 |
| 0.116 | 4.0 | 3512 | 0.1255 | 0.8452 | 0.8660 | 0.8555 | 0.9663 |
| 0.1116 | 5.0 | 4390 | 0.1232 | 0.8465 | 0.8707 | 0.8584 | 0.9671 |