Instructions to use PolarWalrus/dl2-hw2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PolarWalrus/dl2-hw2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="PolarWalrus/dl2-hw2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("PolarWalrus/dl2-hw2") model = AutoModelForTokenClassification.from_pretrained("PolarWalrus/dl2-hw2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
dl2-hw2
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.0864
- Precision: 0.9067
- Recall: 0.9273
- F1: 0.9169
- 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: 2e-05
- train_batch_size: 8
- 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.2128 | 1.0 | 1250 | 0.1338 | 0.8075 | 0.8686 | 0.8369 | 0.9705 |
| 0.0992 | 2.0 | 2500 | 0.0976 | 0.8717 | 0.9076 | 0.8893 | 0.9780 |
| 0.0649 | 3.0 | 3750 | 0.0821 | 0.8897 | 0.9159 | 0.9026 | 0.9805 |
| 0.0512 | 4.0 | 5000 | 0.0796 | 0.8947 | 0.9239 | 0.9091 | 0.9811 |
| 0.0404 | 5.0 | 6250 | 0.0837 | 0.8913 | 0.9248 | 0.9077 | 0.9808 |
| 0.0309 | 6.0 | 7500 | 0.0817 | 0.9084 | 0.9229 | 0.9156 | 0.9826 |
| 0.0257 | 7.0 | 8750 | 0.0827 | 0.9043 | 0.9271 | 0.9156 | 0.9824 |
| 0.0195 | 8.0 | 10000 | 0.0849 | 0.9083 | 0.9263 | 0.9172 | 0.9825 |
| 0.0171 | 9.0 | 11250 | 0.0858 | 0.9053 | 0.9270 | 0.9160 | 0.9825 |
| 0.0154 | 10.0 | 12500 | 0.0864 | 0.9067 | 0.9273 | 0.9169 | 0.9826 |
Framework versions
- Transformers 5.18.0
- Pytorch 2.14.1+cu130
- Datasets 5.0.1
- Tokenizers 0.23.2
- Downloads last month
- 31
Model tree for PolarWalrus/dl2-hw2
Base model
BAAI/bge-small-en-v1.5