Instructions to use Keiiino/ner-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Keiiino/ner-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Keiiino/ner-model")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Keiiino/ner-model") model = AutoModelForTokenClassification.from_pretrained("Keiiino/ner-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ner-model
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.0880
- Precision: 0.9159
- Recall: 0.9344
- F1: 0.9250
- Accuracy: 0.9839
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: 5e-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.0838 | 1.0 | 626 | 0.0818 | 0.8812 | 0.9148 | 0.8977 | 0.9791 |
| 0.0528 | 2.0 | 1252 | 0.0810 | 0.8937 | 0.9249 | 0.9090 | 0.9812 |
| 0.0359 | 3.0 | 1878 | 0.0815 | 0.8916 | 0.9167 | 0.9040 | 0.9803 |
| 0.0261 | 4.0 | 2504 | 0.0858 | 0.9000 | 0.9196 | 0.9097 | 0.9813 |
| 0.0191 | 5.0 | 3130 | 0.0825 | 0.9022 | 0.9300 | 0.9159 | 0.9820 |
| 0.0147 | 6.0 | 3756 | 0.0818 | 0.9105 | 0.9285 | 0.9194 | 0.9832 |
| 0.0119 | 7.0 | 4382 | 0.0852 | 0.9118 | 0.9344 | 0.9229 | 0.9832 |
| 0.0098 | 8.0 | 5008 | 0.0877 | 0.9067 | 0.9273 | 0.9169 | 0.9827 |
| 0.008 | 9.0 | 5634 | 0.0881 | 0.9153 | 0.9335 | 0.9243 | 0.9834 |
| 0.0065 | 10.0 | 6260 | 0.0880 | 0.9159 | 0.9344 | 0.9250 | 0.9839 |
Framework versions
- Transformers 4.50.3
- Pytorch 2.6.0+cu124
- Datasets 3.5.0
- Tokenizers 0.21.1
- Downloads last month
- 4
Model tree for Keiiino/ner-model
Base model
BAAI/bge-small-en-v1.5