Instructions to use draiqws/bge-small-conll-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use draiqws/bge-small-conll-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="draiqws/bge-small-conll-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("draiqws/bge-small-conll-ner") model = AutoModelForTokenClassification.from_pretrained("draiqws/bge-small-conll-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bge-small-conll-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.2087
- Precision: 0.9143
- Recall: 0.9323
- F1: 0.9233
- Accuracy: 0.9830
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_FUSED 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.0205 | 1.0 | 625 | 0.1898 | 0.8981 | 0.9241 | 0.9109 | 0.9816 |
| 0.0164 | 2.0 | 1250 | 0.2068 | 0.9040 | 0.9251 | 0.9144 | 0.9814 |
| 0.0192 | 3.0 | 1875 | 0.2145 | 0.8930 | 0.9297 | 0.9109 | 0.9805 |
| 0.0082 | 4.0 | 2500 | 0.2117 | 0.9079 | 0.9305 | 0.9190 | 0.9824 |
| 0.0157 | 5.0 | 3125 | 0.2126 | 0.9017 | 0.9295 | 0.9154 | 0.9818 |
| 0.0117 | 6.0 | 3750 | 0.2003 | 0.9136 | 0.9291 | 0.9213 | 0.9827 |
| 0.0194 | 7.0 | 4375 | 0.2060 | 0.9163 | 0.9329 | 0.9245 | 0.9830 |
| 0.0104 | 8.0 | 5000 | 0.2117 | 0.9131 | 0.9305 | 0.9217 | 0.9827 |
| 0.0051 | 9.0 | 5625 | 0.2097 | 0.9168 | 0.9334 | 0.9250 | 0.9830 |
| 0.0181 | 10.0 | 6250 | 0.2087 | 0.9143 | 0.9323 | 0.9233 | 0.9830 |
Framework versions
- Transformers 5.2.0
- Pytorch 2.10.0+cu128
- Datasets 4.8.4
- Tokenizers 0.22.2
- Downloads last month
- 2
Model tree for draiqws/bge-small-conll-ner
Base model
BAAI/bge-small-en-v1.5