Instructions to use basuta13/bge-small-en-ner-conll2003 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use basuta13/bge-small-en-ner-conll2003 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="basuta13/bge-small-en-ner-conll2003")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("basuta13/bge-small-en-ner-conll2003") model = AutoModelForTokenClassification.from_pretrained("basuta13/bge-small-en-ner-conll2003", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bge-small-en-ner-conll2003
This model is a fine-tuned version of BAAI/bge-small-en-v1.5 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0866
- Precision: 0.8889
- Recall: 0.9197
- F1: 0.9041
- Accuracy: 0.9802
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 32
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.2928 | 1.0 | 313 | 0.2528 | 0.6919 | 0.7317 | 0.7113 | 0.9497 |
| 0.1803 | 2.0 | 626 | 0.1514 | 0.8201 | 0.8649 | 0.8419 | 0.9705 |
| 0.1193 | 3.0 | 939 | 0.1194 | 0.8417 | 0.8978 | 0.8689 | 0.9744 |
| 0.0929 | 4.0 | 1252 | 0.1035 | 0.8613 | 0.9058 | 0.8829 | 0.9775 |
| 0.0731 | 5.0 | 1565 | 0.0978 | 0.8711 | 0.9100 | 0.8901 | 0.9783 |
| 0.0715 | 6.0 | 1878 | 0.0911 | 0.8853 | 0.9170 | 0.9009 | 0.9797 |
| 0.0582 | 7.0 | 2191 | 0.0891 | 0.8778 | 0.9191 | 0.8980 | 0.9792 |
| 0.0443 | 8.0 | 2504 | 0.0879 | 0.8878 | 0.9187 | 0.9030 | 0.9802 |
| 0.0454 | 9.0 | 2817 | 0.0872 | 0.8861 | 0.9201 | 0.9027 | 0.9800 |
| 0.0447 | 10.0 | 3130 | 0.0866 | 0.8889 | 0.9197 | 0.9041 | 0.9802 |
Framework versions
- Transformers 4.50.0
- Pytorch 2.11.0+cu128
- Datasets 3.4.1
- Tokenizers 0.21.4
- Downloads last month
- 16
Model tree for basuta13/bge-small-en-ner-conll2003
Base model
BAAI/bge-small-en-v1.5