Instructions to use mirusanova/dl2-homework-02 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mirusanova/dl2-homework-02 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="mirusanova/dl2-homework-02")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("mirusanova/dl2-homework-02") model = AutoModelForTokenClassification.from_pretrained("mirusanova/dl2-homework-02", device_map="auto") - Notebooks
- Google Colab
- Kaggle
dl2-homework-02
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.0867
- Precision: 0.9054
- Recall: 0.9260
- F1: 0.9156
- Accuracy: 0.9825
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: 8
- 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.3194 | 1.0 | 1250 | 0.1313 | 0.8043 | 0.8718 | 0.8367 | 0.9699 |
| 0.1092 | 2.0 | 2500 | 0.0932 | 0.8795 | 0.9066 | 0.8928 | 0.9785 |
| 0.07 | 3.0 | 3750 | 0.0844 | 0.8812 | 0.9147 | 0.8976 | 0.9793 |
| 0.0518 | 4.0 | 5000 | 0.0885 | 0.8905 | 0.9263 | 0.9080 | 0.9800 |
| 0.0382 | 5.0 | 6250 | 0.0817 | 0.8985 | 0.9254 | 0.9118 | 0.9817 |
| 0.03 | 6.0 | 7500 | 0.0822 | 0.8991 | 0.9253 | 0.9120 | 0.9816 |
| 0.0251 | 7.0 | 8750 | 0.0845 | 0.8997 | 0.9243 | 0.9118 | 0.9815 |
| 0.0222 | 8.0 | 10000 | 0.0836 | 0.9094 | 0.9253 | 0.9173 | 0.9827 |
| 0.0182 | 9.0 | 11250 | 0.0852 | 0.9033 | 0.9263 | 0.9147 | 0.9821 |
| 0.0156 | 10.0 | 12500 | 0.0867 | 0.9054 | 0.9260 | 0.9156 | 0.9825 |
Framework versions
- Transformers 4.51.3
- Pytorch 2.11.0+cu130
- Datasets 4.8.5
- Tokenizers 0.21.4
- Downloads last month
- 42
Model tree for mirusanova/dl2-homework-02
Base model
BAAI/bge-small-en-v1.5