Instructions to use SoulQrat/bert-finetuned-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SoulQrat/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="SoulQrat/bert-finetuned-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("SoulQrat/bert-finetuned-ner") model = AutoModelForTokenClassification.from_pretrained("SoulQrat/bert-finetuned-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-finetuned-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.0870
- Precision: 0.9030
- Recall: 0.9249
- F1: 0.9138
- Accuracy: 0.9819
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_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.2162 | 1.0 | 1250 | 0.1318 | 0.8128 | 0.8701 | 0.8405 | 0.9708 |
| 0.1026 | 2.0 | 2500 | 0.0922 | 0.88 | 0.9101 | 0.8948 | 0.9779 |
| 0.0698 | 3.0 | 3750 | 0.0856 | 0.8790 | 0.9173 | 0.8977 | 0.9783 |
| 0.0515 | 4.0 | 5000 | 0.0868 | 0.8878 | 0.9232 | 0.9052 | 0.9800 |
| 0.0429 | 5.0 | 6250 | 0.0867 | 0.8917 | 0.9217 | 0.9065 | 0.9803 |
| 0.0329 | 6.0 | 7500 | 0.0829 | 0.8949 | 0.9229 | 0.9087 | 0.9808 |
| 0.0262 | 7.0 | 8750 | 0.0824 | 0.9012 | 0.9252 | 0.9131 | 0.9816 |
| 0.0225 | 8.0 | 10000 | 0.0848 | 0.9051 | 0.9237 | 0.9143 | 0.9814 |
| 0.0172 | 9.0 | 11250 | 0.0865 | 0.9013 | 0.9259 | 0.9134 | 0.9813 |
| 0.0174 | 10.0 | 12500 | 0.0870 | 0.9030 | 0.9249 | 0.9138 | 0.9819 |
Framework versions
- Transformers 4.56.2
- Pytorch 2.8.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.1
- Downloads last month
- 8
Model tree for SoulQrat/bert-finetuned-ner
Base model
BAAI/bge-small-en-v1.5