Instructions to use asdqwrad/dl2hw2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use asdqwrad/dl2hw2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="asdqwrad/dl2hw2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("asdqwrad/dl2hw2") model = AutoModelForTokenClassification.from_pretrained("asdqwrad/dl2hw2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
dl2hw2
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.0873
- Precision: 0.8876
- Recall: 0.9211
- F1: 0.9040
- Accuracy: 0.9794
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: 6
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.1647 | 1.0 | 1250 | 0.1367 | 0.8266 | 0.8663 | 0.8460 | 0.9709 |
| 0.0977 | 2.0 | 2500 | 0.0963 | 0.8610 | 0.9032 | 0.8816 | 0.9770 |
| 0.0734 | 3.0 | 3750 | 0.0890 | 0.8688 | 0.9143 | 0.8910 | 0.9781 |
| 0.0425 | 4.0 | 5000 | 0.0880 | 0.8842 | 0.9211 | 0.9022 | 0.9796 |
| 0.0320 | 5.0 | 6250 | 0.0882 | 0.8845 | 0.9212 | 0.9025 | 0.9794 |
| 0.0328 | 6.0 | 7500 | 0.0873 | 0.8876 | 0.9211 | 0.9040 | 0.9794 |
Framework versions
- Transformers 5.13.1
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 20
Model tree for asdqwrad/dl2hw2
Base model
BAAI/bge-small-en-v1.5