Instructions to use helloclock/bge-small-en-v1.5-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use helloclock/bge-small-en-v1.5-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="helloclock/bge-small-en-v1.5-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("helloclock/bge-small-en-v1.5-ner") model = AutoModelForTokenClassification.from_pretrained("helloclock/bge-small-en-v1.5-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bge-small-en-v1.5-ner
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.0831
- Precision: 0.8998
- Recall: 0.9254
- F1: 0.9124
- Accuracy: 0.9810
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: 16
- 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
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.2197 | 1.0 | 625 | 0.1742 | 0.7822 | 0.8281 | 0.8045 | 0.9642 |
| 0.1275 | 2.0 | 1250 | 0.1146 | 0.8604 | 0.8925 | 0.8762 | 0.9757 |
| 0.111 | 3.0 | 1875 | 0.0930 | 0.8626 | 0.9101 | 0.8857 | 0.9772 |
| 0.0562 | 4.0 | 2500 | 0.0873 | 0.8803 | 0.9162 | 0.8979 | 0.9797 |
| 0.0498 | 5.0 | 3125 | 0.0846 | 0.8877 | 0.9208 | 0.9040 | 0.9799 |
| 0.0481 | 6.0 | 3750 | 0.0810 | 0.8874 | 0.9230 | 0.9048 | 0.9804 |
| 0.0459 | 7.0 | 4375 | 0.0826 | 0.8947 | 0.9232 | 0.9087 | 0.9807 |
| 0.0276 | 8.0 | 5000 | 0.0832 | 0.8977 | 0.9254 | 0.9113 | 0.9809 |
| 0.0273 | 9.0 | 5625 | 0.0832 | 0.8994 | 0.9257 | 0.9124 | 0.9807 |
| 0.0276 | 10.0 | 6250 | 0.0831 | 0.8998 | 0.9254 | 0.9124 | 0.9810 |
Framework versions
- Transformers 4.50.0
- Pytorch 2.11.0+cu128
- Datasets 3.4.1
- Tokenizers 0.21.4
- Downloads last month
- -
Model tree for helloclock/bge-small-en-v1.5-ner
Base model
BAAI/bge-small-en-v1.5