Instructions to use ktsp/ner-with-synthetic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ktsp/ner-with-synthetic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ktsp/ner-with-synthetic")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ktsp/ner-with-synthetic") model = AutoModelForTokenClassification.from_pretrained("ktsp/ner-with-synthetic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ner-with-synthetic
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.1585
- Precision: 0.8646
- Recall: 0.8862
- F1: 0.8752
- Accuracy: 0.9723
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: 8.528995903129795e-05
- train_batch_size: 4
- eval_batch_size: 8
- seed: 67
- 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: 3.0
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.1146 | 1.0 | 2503 | 0.0941 | 0.8875 | 0.9026 | 0.8950 | 0.9770 |
| 0.0625 | 2.0 | 5006 | 0.0874 | 0.8958 | 0.9147 | 0.9052 | 0.9795 |
| 0.0369 | 3.0 | 7509 | 0.0868 | 0.9081 | 0.9266 | 0.9173 | 0.9817 |
Framework versions
- Transformers 5.18.0
- Pytorch 2.11.0+cu130
- Datasets 4.8.5
- Tokenizers 0.23.2
- Downloads last month
- 3
Model tree for ktsp/ner-with-synthetic
Base model
BAAI/bge-small-en-v1.5