End of training
Browse files
README.md
ADDED
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: Qwen/Qwen2.5-7B
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- sumukshashidhar-testing/reasoning-rerankers-relevance-sft-data
|
10 |
+
model-index:
|
11 |
+
- name: reasoning-v0.2-qwen2.5-7b
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
19 |
+
<details><summary>See axolotl config</summary>
|
20 |
+
|
21 |
+
axolotl version: `0.7.0`
|
22 |
+
```yaml
|
23 |
+
base_model: Qwen/Qwen2.5-7B
|
24 |
+
hub_model_id: sumukshashidhar-testing/reasoning-v0.2-qwen2.5-7b
|
25 |
+
trust_remote_code: true
|
26 |
+
|
27 |
+
load_in_8bit: false
|
28 |
+
load_in_4bit: false
|
29 |
+
strict: false
|
30 |
+
bf16: true
|
31 |
+
hf_use_auth_token: true
|
32 |
+
|
33 |
+
plugins:
|
34 |
+
- axolotl.integrations.liger.LigerPlugin
|
35 |
+
liger_rope: true
|
36 |
+
liger_rms_norm: true
|
37 |
+
liger_glu_activation: true
|
38 |
+
liger_layer_norm: true
|
39 |
+
liger_fused_linear_cross_entropy: true
|
40 |
+
save_safetensors:
|
41 |
+
|
42 |
+
datasets:
|
43 |
+
- path: sumukshashidhar-testing/reasoning-rerankers-relevance-sft-data
|
44 |
+
type: completion
|
45 |
+
field: text
|
46 |
+
dataset_prepared_path: .axolotl_cache_data/reasoning-rerankers
|
47 |
+
shuffle_merged_datasets: true
|
48 |
+
# dataset_exact_deduplication: true
|
49 |
+
val_set_size: 0.05
|
50 |
+
output_dir: /scratch/reasoning-reankers/reasoning-v0.1-qwen2.5-7b
|
51 |
+
push_dataset_to_hub: sumukshashidhar-testing/reasoning-rerankers-relevance-sft-data-in-progress
|
52 |
+
|
53 |
+
sequence_length: 2048
|
54 |
+
sample_packing: true
|
55 |
+
pad_to_sequence_len: true
|
56 |
+
|
57 |
+
adapter: lora
|
58 |
+
lora_r: 256
|
59 |
+
lora_alpha: 32
|
60 |
+
lora_dropout: 0.05
|
61 |
+
peft_use_rslora: true
|
62 |
+
lora_target_linear: true
|
63 |
+
|
64 |
+
gradient_accumulation_steps: 1
|
65 |
+
micro_batch_size: 32
|
66 |
+
eval_batch_size: 1
|
67 |
+
num_epochs: 3
|
68 |
+
learning_rate: 5e-4
|
69 |
+
warmup_ratio: 0.05
|
70 |
+
evals_per_epoch: 2
|
71 |
+
saves_per_epoch: 2
|
72 |
+
gradient_checkpointing: true
|
73 |
+
lr_scheduler: cosine
|
74 |
+
optimizer: paged_adamw_8bit
|
75 |
+
|
76 |
+
profiler_steps: 100
|
77 |
+
save_safetensors: true
|
78 |
+
train_on_inputs: true
|
79 |
+
wandb_project: reasoning-rerankers
|
80 |
+
wandb_name: rr-qwen-7b
|
81 |
+
deepspeed: zero1.json
|
82 |
+
|
83 |
+
```
|
84 |
+
|
85 |
+
</details><br>
|
86 |
+
|
87 |
+
# reasoning-v0.2-qwen2.5-7b
|
88 |
+
|
89 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-7B](https://huggingface.co/Qwen/Qwen2.5-7B) on the sumukshashidhar-testing/reasoning-rerankers-relevance-sft-data dataset.
|
90 |
+
It achieves the following results on the evaluation set:
|
91 |
+
- Loss: 0.4119
|
92 |
+
|
93 |
+
## Model description
|
94 |
+
|
95 |
+
More information needed
|
96 |
+
|
97 |
+
## Intended uses & limitations
|
98 |
+
|
99 |
+
More information needed
|
100 |
+
|
101 |
+
## Training and evaluation data
|
102 |
+
|
103 |
+
More information needed
|
104 |
+
|
105 |
+
## Training procedure
|
106 |
+
|
107 |
+
### Training hyperparameters
|
108 |
+
|
109 |
+
The following hyperparameters were used during training:
|
110 |
+
- learning_rate: 0.0005
|
111 |
+
- train_batch_size: 32
|
112 |
+
- eval_batch_size: 1
|
113 |
+
- seed: 42
|
114 |
+
- distributed_type: multi-GPU
|
115 |
+
- num_devices: 8
|
116 |
+
- total_train_batch_size: 256
|
117 |
+
- total_eval_batch_size: 8
|
118 |
+
- optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
119 |
+
- lr_scheduler_type: cosine
|
120 |
+
- lr_scheduler_warmup_steps: 49
|
121 |
+
- num_epochs: 3.0
|
122 |
+
|
123 |
+
### Training results
|
124 |
+
|
125 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
126 |
+
|:-------------:|:------:|:----:|:---------------:|
|
127 |
+
| No log | 0.0030 | 1 | 2.2497 |
|
128 |
+
| 0.51 | 0.5 | 166 | 0.7306 |
|
129 |
+
| 0.2733 | 1.0 | 332 | 0.5004 |
|
130 |
+
| 0.1938 | 1.5 | 498 | 0.4445 |
|
131 |
+
| 0.1783 | 2.0 | 664 | 0.4152 |
|
132 |
+
| 0.1446 | 2.5 | 830 | 0.4147 |
|
133 |
+
| 0.1424 | 3.0 | 996 | 0.4119 |
|
134 |
+
|
135 |
+
|
136 |
+
### Framework versions
|
137 |
+
|
138 |
+
- PEFT 0.14.0
|
139 |
+
- Transformers 4.48.3
|
140 |
+
- Pytorch 2.4.0
|
141 |
+
- Datasets 3.2.0
|
142 |
+
- Tokenizers 0.21.1
|