Instructions to use TabAnd58/bert-synthetic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TabAnd58/bert-synthetic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="TabAnd58/bert-synthetic")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("TabAnd58/bert-synthetic") model = AutoModelForTokenClassification.from_pretrained("TabAnd58/bert-synthetic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-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.1121
- Precision: 0.9185
- Recall: 0.9318
- F1: 0.9251
- Accuracy: 0.9827
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: 5.373713206635396e-05
- train_batch_size: 4
- 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.1171 | 1.0 | 2503 | 0.0982 | 0.8653 | 0.9026 | 0.8835 | 0.9756 |
| 0.0727 | 2.0 | 5006 | 0.0878 | 0.8998 | 0.9278 | 0.9136 | 0.9806 |
| 0.049 | 3.0 | 7509 | 0.0852 | 0.9021 | 0.9212 | 0.9116 | 0.9814 |
| 0.032 | 4.0 | 10012 | 0.0917 | 0.8980 | 0.9286 | 0.9130 | 0.9814 |
| 0.0213 | 5.0 | 12515 | 0.0960 | 0.9107 | 0.9290 | 0.9198 | 0.9814 |
| 0.015 | 6.0 | 15018 | 0.1028 | 0.9084 | 0.9285 | 0.9184 | 0.9819 |
| 0.0094 | 7.0 | 17521 | 0.1146 | 0.9179 | 0.9298 | 0.9238 | 0.9817 |
| 0.0067 | 8.0 | 20024 | 0.1101 | 0.9169 | 0.9317 | 0.9242 | 0.9822 |
| 0.004 | 9.0 | 22527 | 0.1150 | 0.9216 | 0.9318 | 0.9267 | 0.9827 |
| 0.0022 | 10.0 | 25030 | 0.1121 | 0.9185 | 0.9318 | 0.9251 | 0.9827 |
Framework versions
- Transformers 4.50.3
- Pytorch 2.6.0+cu124
- Datasets 3.5.0
- Tokenizers 0.21.1
- Downloads last month
- 8
Model tree for TabAnd58/bert-synthetic
Base model
BAAI/bge-small-en-v1.5