tkwiecinski commited on
Commit
c442e25
·
verified ·
1 Parent(s): 814b301

Finalize run summary on main

Browse files
Files changed (3) hide show
  1. README.md +40 -0
  2. manifest.yaml +179 -0
  3. resolved_config.yaml +69 -0
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: meta-llama/Llama-3.1-8B-Instruct
4
+ tags:
5
+ - amr-fma
6
+ - lora_sft
7
+ - domain:tool_use
8
+ - phase:P1
9
+ ---
10
+
11
+ # amr-fma/amr-fma-Llama-3.1-8B-Instruct-lora_sft-sdpo_tooluse-p1_sft_math_tooluse-s43
12
+
13
+ amr-fma training run.
14
+
15
+ - **Method**: `lora_sft`
16
+ - **Base model**: `meta-llama/Llama-3.1-8B-Instruct`
17
+ - **Dataset**: `lasgroup/SDPO` (slug: `sdpo_tooluse`)
18
+ - **Seed**: `43`
19
+ - **Git commit**: `8b979a30de6dfbf3b5a1052e42d8c0453b214d3f`
20
+ - **Exp name**: `p1_sft_math_tooluse`
21
+ - **WandB run**: `4l3ivdio`
22
+
23
+ ## Tags
24
+ - phase:P1
25
+ - domain:tool_use
26
+
27
+ ## Checkpoints (branches)
28
+ - step 1 → revision `step-00001`
29
+ - step 3 → revision `step-00003`
30
+ - step 7 → revision `step-00007`
31
+ - step 14 → revision `step-00014`
32
+ - step 29 → revision `step-00029`
33
+ - step 57 → revision `step-00057`
34
+ - step 114 → revision `step-00114`
35
+
36
+ Pin a specific checkpoint with `revision=...` in
37
+ `AutoModelForCausalLM.from_pretrained` / `PeftModel.from_pretrained`.
38
+
39
+ ## Hyperparameter sections
40
+ `checkpointing`, `dataset`, `evaluation`, `final_adapter_path`, `lora`, `model`, `optimization`, `prompt_style`, `runtime`, `sdpo`, `sequence`, `total_steps`
manifest.yaml ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ method: lora_sft
2
+ base_model_id: meta-llama/Llama-3.1-8B-Instruct
3
+ seed: 43
4
+ exp_name: p1_sft_math_tooluse
5
+ git_commit: 8b979a30de6dfbf3b5a1052e42d8c0453b214d3f
6
+ dataset: lasgroup/SDPO
7
+ dataset_slug: sdpo_tooluse
8
+ manifest_path: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/manifest.yaml
9
+ tags:
10
+ phase: P1
11
+ domain: tool_use
12
+ hyperparams:
13
+ model:
14
+ base_model_id: meta-llama/Llama-3.1-8B-Instruct
15
+ model_family: llama3
16
+ target_modules:
17
+ - q_proj
18
+ - k_proj
19
+ - v_proj
20
+ - o_proj
21
+ - gate_proj
22
+ - up_proj
23
+ - down_proj
24
+ dataset:
25
+ name: lasgroup/SDPO
26
+ split: train
27
+ text_field: prompt
28
+ max_samples: null
29
+ eval_samples: 256
30
+ config: null
31
+ domain: tool_use
32
+ slug: sdpo_tooluse
33
+ format: tooluse
34
+ min_level: null
35
+ sequence:
36
+ max_length: 2048
37
+ packing: true
38
+ lora:
39
+ r: 16
40
+ alpha: 32
41
+ dropout: 0.05
42
+ target_modules:
43
+ - q_proj
44
+ - k_proj
45
+ - v_proj
46
+ - o_proj
47
+ - gate_proj
48
+ - up_proj
49
+ - down_proj
50
+ optimization:
51
+ num_train_epochs: 3
52
+ per_device_batch_size: 4
53
+ gradient_accumulation_steps: 8
54
+ learning_rate: 0.0002
55
+ warmup_ratio: 0.05
56
+ weight_decay: 0.01
57
+ lr_scheduler_type: cosine
58
+ max_grad_norm: 1.0
59
+ checkpointing:
60
+ num_checkpoints: 8
61
+ save_total_limit: 64
62
+ schedule: log
63
+ save_steps: null
64
+ runtime:
65
+ logging_steps: 20
66
+ bf16: true
67
+ gradient_checkpointing: true
68
+ wandb: true
69
+ wandb_project: amr-fma-train
70
+ hf_push: true
71
+ hf_org: tkwiecinski
72
+ hf_visibility: public
73
+ force_restart: false
74
+ sdpo: null
75
+ evaluation:
76
+ enabled: true
77
+ eval_steps: 200
78
+ strategy: steps
79
+ prompt_style: null
80
+ final_adapter_path: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/adapter_final
81
+ total_steps: 114
82
+ checkpoints:
83
+ - step: 1
84
+ dir: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-1
85
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-1
86
+ metadata:
87
+ source: trainer_on_save
88
+ metrics:
89
+ eval_loss: 1.272672
90
+ eval_runtime: 21.1731
91
+ eval_samples_per_second: 3.826
92
+ eval_steps_per_second: 0.992
93
+ eval_perplexity: 3.570381
94
+ hf_revision: step-00001
95
+ hf_commit: 0d4986498ea3fc44e19079d35eee157277715f70
96
+ - step: 3
97
+ dir: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-3
98
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-3
99
+ metadata:
100
+ source: trainer_on_save
101
+ metrics:
102
+ eval_loss: 1.206122
103
+ eval_runtime: 11.0618
104
+ eval_samples_per_second: 7.323
105
+ eval_steps_per_second: 1.898
106
+ eval_perplexity: 3.340504
107
+ hf_revision: step-00003
108
+ hf_commit: 5848980eb5187a5b6a3c445cb411af3bd64e9680
109
+ - step: 7
110
+ dir: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-7
111
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-7
112
+ metadata:
113
+ source: trainer_on_save
114
+ metrics:
115
+ eval_loss: 0.781388
116
+ eval_runtime: 11.0652
117
+ eval_samples_per_second: 7.32
118
+ eval_steps_per_second: 1.898
119
+ eval_perplexity: 2.184502
120
+ hf_revision: step-00007
121
+ hf_commit: 3312a9ced0a76447d646da154b3009d3b37778b5
122
+ - step: 14
123
+ dir: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-14
124
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-14
125
+ metadata:
126
+ source: trainer_on_save
127
+ metrics:
128
+ eval_loss: 0.466285
129
+ eval_runtime: 11.0629
130
+ eval_samples_per_second: 7.322
131
+ eval_steps_per_second: 1.898
132
+ eval_perplexity: 1.594061
133
+ hf_revision: step-00014
134
+ hf_commit: 53df359874697e9811bf984311da87e0bf65903b
135
+ - step: 29
136
+ dir: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-29
137
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-29
138
+ metadata:
139
+ source: trainer_on_save
140
+ metrics:
141
+ eval_loss: 0.379769
142
+ eval_runtime: 11.0591
143
+ eval_samples_per_second: 7.324
144
+ eval_steps_per_second: 1.899
145
+ eval_perplexity: 1.461946
146
+ hf_revision: step-00029
147
+ hf_commit: 4531078bb439378d5a6bfdfdc88e4d4eef143a6d
148
+ - step: 57
149
+ dir: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-57
150
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-57
151
+ metadata:
152
+ source: trainer_on_save
153
+ metrics:
154
+ eval_loss: 0.271018
155
+ eval_runtime: 11.0913
156
+ eval_samples_per_second: 7.303
157
+ eval_steps_per_second: 1.893
158
+ eval_perplexity: 1.311298
159
+ hf_revision: step-00057
160
+ hf_commit: cb4e9fbb49d9ae4a48b123f49378459279fdc0fd
161
+ - step: 114
162
+ dir: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-114
163
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s43/checkpoint-114
164
+ metadata:
165
+ source: trainer_on_save
166
+ metrics:
167
+ eval_loss: 0.148939
168
+ eval_runtime: 11.059
169
+ eval_samples_per_second: 7.324
170
+ eval_steps_per_second: 1.899
171
+ eval_perplexity: 1.160602
172
+ hf_revision: step-00114
173
+ hf_commit: f05f56d523c19166bda3280bb90fc989a0c28f23
174
+ wandb_run_id: 4l3ivdio
175
+ wandb_eval_run_ids:
176
+ diff_prob: opts0dkw
177
+ free_form: iot0xrsk
178
+ accuracy: 9gdamt37
179
+ hf_repo_id: tkwiecinski/amr-fma-Llama-3.1-8B-Instruct-lora_sft-sdpo_tooluse-p1_sft_math_tooluse-s43
resolved_config.yaml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model:
2
+ base_model_id: meta-llama/Llama-3.1-8B-Instruct
3
+ model_family: llama3
4
+ target_modules:
5
+ - q_proj
6
+ - k_proj
7
+ - v_proj
8
+ - o_proj
9
+ - gate_proj
10
+ - up_proj
11
+ - down_proj
12
+ lora:
13
+ r: 16
14
+ alpha: 32
15
+ dropout: 0.05
16
+ dataset:
17
+ name: lasgroup/SDPO
18
+ config: null
19
+ slug: sdpo_tooluse
20
+ split: train
21
+ text_field: prompt
22
+ max_samples: null
23
+ eval_samples: 256
24
+ domain: tool_use
25
+ format: tooluse
26
+ optimization:
27
+ num_train_epochs: 3
28
+ per_device_batch_size: 4
29
+ gradient_accumulation_steps: 8
30
+ learning_rate: 0.0002
31
+ warmup_ratio: 0.05
32
+ weight_decay: 0.01
33
+ lr_scheduler_type: cosine
34
+ max_grad_norm: 1.0
35
+ sequence:
36
+ max_length: 2048
37
+ packing: true
38
+ checkpointing:
39
+ num_checkpoints: 8
40
+ save_total_limit: 64
41
+ schedule: log
42
+ save_steps: null
43
+ runtime:
44
+ logging_steps: 20
45
+ bf16: true
46
+ gradient_checkpointing: true
47
+ wandb: true
48
+ wandb_project: amr-fma-train
49
+ hf_push: true
50
+ hf_org: tkwiecinski
51
+ hf_visibility: public
52
+ force_restart: false
53
+ evaluation:
54
+ enabled: true
55
+ eval_steps: 200
56
+ strategy: steps
57
+ phase:
58
+ name: P1
59
+ run:
60
+ method: lora_sft
61
+ exp_name: p1_sft_math_tooluse
62
+ seed: 43
63
+ tags:
64
+ phase: ${phase.name}
65
+ domain: ${dataset.domain}
66
+ paths:
67
+ base: ${oc.env:AMR_FMA_BASE,/capstor/scratch/cscs/${oc.env:USER}/amr-fma}
68
+ model_short: ${hf_last:${model.base_model_id}}
69
+ run_slug: ${run.exp_name}__s${run.seed}