tkwiecinski commited on
Commit
4c2af80
·
verified ·
1 Parent(s): d3b407c

Finalize run summary on main

Browse files
Files changed (3) hide show
  1. README.md +40 -0
  2. manifest.yaml +176 -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
+ # tkwiecinski/amr-fma-Llama-3.1-8B-Instruct-lora_sft-sdpo_tooluse-p1_sft_math_tooluse-s42
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**: `42`
19
+ - **Git commit**: `8b979a30de6dfbf3b5a1052e42d8c0453b214d3f`
20
+ - **Exp name**: `p1_sft_math_tooluse`
21
+ - **WandB run**: `l635jthe`
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,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ method: lora_sft
2
+ base_model_id: meta-llama/Llama-3.1-8B-Instruct
3
+ seed: 42
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__s42/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__s42/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__s42/checkpoint-1
85
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s42/checkpoint-1
86
+ metadata:
87
+ source: trainer_on_save
88
+ metrics:
89
+ eval_loss: 1.272672
90
+ eval_runtime: 21.2481
91
+ eval_samples_per_second: 3.812
92
+ eval_steps_per_second: 0.988
93
+ eval_perplexity: 3.570381
94
+ hf_revision: step-00001
95
+ hf_commit: 916eb24b57f8d2dcfb110497b8f3c613e8ea753d
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__s42/checkpoint-3
98
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s42/checkpoint-3
99
+ metadata:
100
+ source: trainer_on_save
101
+ metrics:
102
+ eval_loss: 1.204667
103
+ eval_runtime: 11.0516
104
+ eval_samples_per_second: 7.329
105
+ eval_steps_per_second: 1.9
106
+ eval_perplexity: 3.335648
107
+ hf_revision: step-00003
108
+ hf_commit: 19fbaccdd2d5ddbd646298af3c5731887887adac
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__s42/checkpoint-7
111
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s42/checkpoint-7
112
+ metadata:
113
+ source: trainer_on_save
114
+ metrics:
115
+ eval_loss: 0.782293
116
+ eval_runtime: 11.0496
117
+ eval_samples_per_second: 7.331
118
+ eval_steps_per_second: 1.901
119
+ eval_perplexity: 2.186481
120
+ hf_revision: step-00007
121
+ hf_commit: b33504155bc707a35f2408a4ae4effed20d32b2f
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__s42/checkpoint-14
124
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s42/checkpoint-14
125
+ metadata:
126
+ source: trainer_on_save
127
+ metrics:
128
+ eval_loss: 0.465839
129
+ eval_runtime: 11.0245
130
+ eval_samples_per_second: 7.347
131
+ eval_steps_per_second: 1.905
132
+ eval_perplexity: 1.59335
133
+ hf_revision: step-00014
134
+ hf_commit: 5d85cecbbd00ca48efc94708f26059429e4d7ce4
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__s42/checkpoint-29
137
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s42/checkpoint-29
138
+ metadata:
139
+ source: trainer_on_save
140
+ metrics:
141
+ eval_loss: 0.380428
142
+ eval_runtime: 11.014
143
+ eval_samples_per_second: 7.354
144
+ eval_steps_per_second: 1.907
145
+ eval_perplexity: 1.46291
146
+ hf_revision: step-00029
147
+ hf_commit: 9cc7d1a239b3fd77169323eca3a6792165dc09d9
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__s42/checkpoint-57
150
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s42/checkpoint-57
151
+ metadata:
152
+ source: trainer_on_save
153
+ metrics:
154
+ eval_loss: 0.262946
155
+ eval_runtime: 11.0386
156
+ eval_samples_per_second: 7.338
157
+ eval_steps_per_second: 1.902
158
+ eval_perplexity: 1.300756
159
+ hf_revision: step-00057
160
+ hf_commit: 2a0898b8e223f1d0f87d4440f016b84194e3b4f0
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__s42/checkpoint-114
163
+ artifact: /capstor/scratch/cscs/tkwiecinski/amr-fma/train/Llama-3.1-8B-Instruct/lora_sft/sdpo_tooluse/p1_sft_math_tooluse__s42/checkpoint-114
164
+ metadata:
165
+ source: trainer_on_save
166
+ metrics:
167
+ eval_loss: 0.146911
168
+ eval_runtime: 11.0978
169
+ eval_samples_per_second: 7.299
170
+ eval_steps_per_second: 1.892
171
+ eval_perplexity: 1.158251
172
+ hf_revision: step-00114
173
+ hf_commit: 538668900639172bb147b158862aa0a2e62d1318
174
+ wandb_run_id: l635jthe
175
+ wandb_eval_run_ids: {}
176
+ hf_repo_id: tkwiecinski/amr-fma-Llama-3.1-8B-Instruct-lora_sft-sdpo_tooluse-p1_sft_math_tooluse-s42
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: 42
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}