Instructions to use Nastik05/bert-synthetic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nastik05/bert-synthetic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Nastik05/bert-synthetic")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Nastik05/bert-synthetic") model = AutoModelForTokenClassification.from_pretrained("Nastik05/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.1165
- Precision: 0.9144
- Recall: 0.9330
- F1: 0.9236
- Accuracy: 0.9826
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.3737132066353856e-05
- train_batch_size: 4
- 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.0948 | 1.0 | 2503 | 0.0946 | 0.8544 | 0.8978 | 0.8756 | 0.9759 |
| 0.0506 | 2.0 | 5006 | 0.0819 | 0.9032 | 0.9187 | 0.9109 | 0.9803 |
| 0.0260 | 3.0 | 7509 | 0.0916 | 0.9029 | 0.9234 | 0.9131 | 0.9808 |
| 0.0366 | 4.0 | 10012 | 0.1036 | 0.8879 | 0.9222 | 0.9047 | 0.9791 |
| 0.0180 | 5.0 | 12515 | 0.1020 | 0.9123 | 0.9291 | 0.9206 | 0.9822 |
| 0.0196 | 6.0 | 15018 | 0.1059 | 0.9085 | 0.9291 | 0.9187 | 0.9816 |
| 0.0035 | 7.0 | 17521 | 0.1164 | 0.9092 | 0.9298 | 0.9194 | 0.9814 |
| 0.0021 | 8.0 | 20024 | 0.1152 | 0.9122 | 0.9325 | 0.9223 | 0.9821 |
| 0.0014 | 9.0 | 22527 | 0.1171 | 0.9207 | 0.9345 | 0.9276 | 0.9828 |
| 0.0003 | 10.0 | 25030 | 0.1165 | 0.9144 | 0.9330 | 0.9236 | 0.9826 |
Framework versions
- Transformers 5.2.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 1
Model tree for Nastik05/bert-synthetic
Base model
BAAI/bge-small-en-v1.5