Instructions to use linguichenko/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 linguichenko/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="linguichenko/bge-small-en-v1.5-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("linguichenko/bge-small-en-v1.5-ner") model = AutoModelForTokenClassification.from_pretrained("linguichenko/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.0875
- Precision: 0.9071
- Recall: 0.9280
- F1: 0.9174
- Accuracy: 0.9825
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: 8
- eval_batch_size: 8
- 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.1483 | 1.0 | 1252 | 0.1312 | 0.8318 | 0.8697 | 0.8503 | 0.9714 |
| 0.0864 | 2.0 | 2504 | 0.0961 | 0.8578 | 0.9049 | 0.8808 | 0.9768 |
| 0.0615 | 3.0 | 3756 | 0.0832 | 0.8961 | 0.9162 | 0.9060 | 0.9809 |
| 0.0431 | 4.0 | 5008 | 0.0788 | 0.8996 | 0.9226 | 0.9109 | 0.9820 |
| 0.0419 | 5.0 | 6260 | 0.0805 | 0.8929 | 0.9228 | 0.9076 | 0.9814 |
| 0.0324 | 6.0 | 7512 | 0.0851 | 0.8999 | 0.9270 | 0.9132 | 0.9815 |
| 0.0177 | 7.0 | 8764 | 0.0873 | 0.9087 | 0.9258 | 0.9171 | 0.9823 |
| 0.0283 | 8.0 | 10016 | 0.0870 | 0.9004 | 0.9266 | 0.9133 | 0.9820 |
| 0.0192 | 9.0 | 11268 | 0.0875 | 0.9071 | 0.9280 | 0.9174 | 0.9825 |
Framework versions
- Transformers 4.50.0
- Pytorch 2.6.0+cu124
- Datasets 3.4.1
- Tokenizers 0.21.2
- Downloads last month
- 6
Model tree for linguichenko/bge-small-en-v1.5-ner
Base model
BAAI/bge-small-en-v1.5