Instructions to use AlexBfh/DL-HW-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AlexBfh/DL-HW-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="AlexBfh/DL-HW-2")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("AlexBfh/DL-HW-2") model = AutoModelForTokenClassification.from_pretrained("AlexBfh/DL-HW-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
DL-HW-2
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.0785
- Precision: 0.8974
- Recall: 0.9244
- F1: 0.9107
- Accuracy: 0.9815
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: 32
- eval_batch_size: 64
- 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
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.0682 | 1.0 | 313 | 0.0809 | 0.8752 | 0.9090 | 0.8918 | 0.9795 |
| 0.0562 | 2.0 | 626 | 0.0793 | 0.8871 | 0.9100 | 0.8984 | 0.9803 |
| 0.0504 | 3.0 | 939 | 0.0779 | 0.8888 | 0.9164 | 0.9024 | 0.9806 |
| 0.0398 | 4.0 | 1252 | 0.0777 | 0.8872 | 0.9202 | 0.9034 | 0.9806 |
| 0.0317 | 5.0 | 1565 | 0.0781 | 0.8820 | 0.9194 | 0.9003 | 0.9804 |
| 0.0282 | 6.0 | 1878 | 0.0785 | 0.8880 | 0.9222 | 0.9048 | 0.9804 |
| 0.0225 | 7.0 | 2191 | 0.0782 | 0.8977 | 0.9246 | 0.9110 | 0.9816 |
| 0.0254 | 8.0 | 2504 | 0.0787 | 0.8968 | 0.9256 | 0.9110 | 0.9815 |
| 0.0203 | 9.0 | 2817 | 0.0785 | 0.8974 | 0.9244 | 0.9107 | 0.9815 |
Framework versions
- Transformers 4.57.0
- Pytorch 2.8.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.1
- Downloads last month
- 96
Model tree for AlexBfh/DL-HW-2
Base model
BAAI/bge-small-en-v1.5