Add superseded/exploratory BEFT results for MetaMathQA (2)

#24
by Sergasgr - opened
MetaMathQA/beft--llama-3.2-3B-target-all-linear-lr_0.001.json ADDED
@@ -0,0 +1,355 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_info": {
3
+ "created_at": "2026-10-25T18:25:17+00:00",
4
+ "total_time": 2351.752165269998,
5
+ "experiment_name": "beft/llama-3.2-3B-target-v_proj",
6
+ "peft_branch": "update-tinylora-image-gen-experiment",
7
+ "peft_worktree_is_dirty": true,
8
+ "train_config": {
9
+ "model_id": "meta-llama/Llama-3.2-3B",
10
+ "dtype": "bfloat16",
11
+ "max_seq_length": 768,
12
+ "batch_size": 4,
13
+ "batch_size_eval": 50,
14
+ "max_steps": 5000,
15
+ "eval_steps": 250,
16
+ "compile": false,
17
+ "use_gc": true,
18
+ "query_template": "Question: {query} Think step by step.\nAnswer:",
19
+ "seed": 0,
20
+ "grad_norm_clip": 1.0,
21
+ "optimizer_type": "AdamW",
22
+ "optimizer_kwargs": {
23
+ "lr": 0.001,
24
+ "weight_decay": 0.1
25
+ },
26
+ "lr_scheduler": "cosine",
27
+ "use_amp": false,
28
+ "autocast_adapter_dtype": true,
29
+ "generation_kwargs": {
30
+ "max_length": 800,
31
+ "max_new_tokens": 300
32
+ },
33
+ "attn_implementation": null,
34
+ "init_kv_cache_prefix": null
35
+ },
36
+ "peft_config": {
37
+ "task_type": null,
38
+ "peft_type": "BEFT",
39
+ "auto_mapping": null,
40
+ "peft_version": "0.19.2.dev0@UNKNOWN",
41
+ "base_model_name_or_path": "meta-llama/Llama-3.2-3B",
42
+ "revision": null,
43
+ "inference_mode": false,
44
+ "target_modules": [
45
+ "gate_proj",
46
+ "q_proj",
47
+ "down_proj",
48
+ "o_proj",
49
+ "v_proj",
50
+ "k_proj",
51
+ "up_proj"
52
+ ],
53
+ "modules_to_save": null,
54
+ "init_weights": true
55
+ },
56
+ "error_msg": ""
57
+ },
58
+ "train_info": {
59
+ "accelerator_memory_reserved_avg": 9740771917,
60
+ "accelerator_memory_max": 13304332288,
61
+ "accelerator_memory_reserved_99th": 12129927168,
62
+ "train_time": 2079.222630835,
63
+ "file_size": 3121184,
64
+ "num_trainable_params": 774144,
65
+ "num_total_params": 3213523968,
66
+ "status": "success",
67
+ "metrics": [
68
+ {
69
+ "step": 250,
70
+ "valid accuracy": 0.34,
71
+ "train loss": 0.8553074641227723,
72
+ "train samples": 1000,
73
+ "train time": 80.40527667801507,
74
+ "eval time": 16.738490661999094,
75
+ "tokens / sec": 2633.148081161812,
76
+ "mem allocated avg": 6738612701.184,
77
+ "mem reserved avg": 9814201597.952,
78
+ "elapsed time": 121.00934449399938
79
+ },
80
+ {
81
+ "step": 500,
82
+ "valid accuracy": 0.24,
83
+ "train loss": 0.752122419476509,
84
+ "train samples": 2000,
85
+ "train time": 80.95715767595902,
86
+ "eval time": 16.304893870998058,
87
+ "tokens / sec": 2569.19840037524,
88
+ "mem allocated avg": 6733570070.528,
89
+ "mem reserved avg": 9632856670.208,
90
+ "elapsed time": 218.5353863679993
91
+ },
92
+ {
93
+ "step": 750,
94
+ "valid accuracy": 0.34,
95
+ "train loss": 0.7467145235538483,
96
+ "train samples": 3000,
97
+ "train time": 85.3085584900291,
98
+ "eval time": 16.651178225998592,
99
+ "tokens / sec": 2513.2413886123663,
100
+ "mem allocated avg": 6740894121.984,
101
+ "mem reserved avg": 9752536940.544,
102
+ "elapsed time": 320.7634998909998
103
+ },
104
+ {
105
+ "step": 1000,
106
+ "valid accuracy": 0.26,
107
+ "train loss": 0.7276310513019562,
108
+ "train samples": 4000,
109
+ "train time": 83.75018924500182,
110
+ "eval time": 8.149916423997638,
111
+ "tokens / sec": 2487.588408791965,
112
+ "mem allocated avg": 6735134597.12,
113
+ "mem reserved avg": 9668181098.496,
114
+ "elapsed time": 412.91634084900215
115
+ },
116
+ {
117
+ "step": 1250,
118
+ "valid accuracy": 0.26,
119
+ "train loss": 0.7247908207178115,
120
+ "train samples": 5000,
121
+ "train time": 82.59961786699932,
122
+ "eval time": 16.324929948001227,
123
+ "tokens / sec": 2524.6848034549603,
124
+ "mem allocated avg": 6734710927.36,
125
+ "mem reserved avg": 9730944663.552,
126
+ "elapsed time": 512.0997955800012
127
+ },
128
+ {
129
+ "step": 1500,
130
+ "valid accuracy": 0.36,
131
+ "train loss": 0.7197483174800873,
132
+ "train samples": 6000,
133
+ "train time": 83.59951431699301,
134
+ "eval time": 10.140888480000285,
135
+ "tokens / sec": 2503.973877243566,
136
+ "mem allocated avg": 6735837075.456,
137
+ "mem reserved avg": 9728948174.848,
138
+ "elapsed time": 606.1017242310008
139
+ },
140
+ {
141
+ "step": 1750,
142
+ "valid accuracy": 0.38,
143
+ "train loss": 0.7081621831655502,
144
+ "train samples": 7000,
145
+ "train time": 83.0456547679787,
146
+ "eval time": 16.527016435000405,
147
+ "tokens / sec": 2520.9627232745293,
148
+ "mem allocated avg": 6736629872.64,
149
+ "mem reserved avg": 9868903710.72,
150
+ "elapsed time": 705.9425626740012
151
+ },
152
+ {
153
+ "step": 2000,
154
+ "valid accuracy": 0.44,
155
+ "train loss": 0.7083892493247986,
156
+ "train samples": 8000,
157
+ "train time": 80.63616915501188,
158
+ "eval time": 9.313062053999602,
159
+ "tokens / sec": 2575.7175988945255,
160
+ "mem allocated avg": 6734107213.824,
161
+ "mem reserved avg": 9703438417.92,
162
+ "elapsed time": 796.153989022001
163
+ },
164
+ {
165
+ "step": 2250,
166
+ "valid accuracy": 0.34,
167
+ "train loss": 0.6948926150798798,
168
+ "train samples": 9000,
169
+ "train time": 85.13438451103502,
170
+ "eval time": 15.885713808002038,
171
+ "tokens / sec": 2524.8082926134116,
172
+ "mem allocated avg": 6742452533.248,
173
+ "mem reserved avg": 9850977255.424,
174
+ "elapsed time": 897.4274087580015
175
+ },
176
+ {
177
+ "step": 2500,
178
+ "valid accuracy": 0.32,
179
+ "train loss": 0.6885149501562119,
180
+ "train samples": 10000,
181
+ "train time": 81.97940732295683,
182
+ "eval time": 15.732348456000182,
183
+ "tokens / sec": 2512.423628394819,
184
+ "mem allocated avg": 6731558375.424,
185
+ "mem reserved avg": 9665899397.12,
186
+ "elapsed time": 995.4055037040016
187
+ },
188
+ {
189
+ "step": 2750,
190
+ "valid accuracy": 0.4,
191
+ "train loss": 0.6741755467653274,
192
+ "train samples": 11000,
193
+ "train time": 84.20481224698597,
194
+ "eval time": 9.697093232996849,
195
+ "tokens / sec": 2516.257614571002,
196
+ "mem allocated avg": 6739382056.96,
197
+ "mem reserved avg": 9734383992.832,
198
+ "elapsed time": 1089.5657239630018
199
+ },
200
+ {
201
+ "step": 3000,
202
+ "valid accuracy": 0.44,
203
+ "train loss": 0.6621904965639115,
204
+ "train samples": 12000,
205
+ "train time": 82.08975169201585,
206
+ "eval time": 12.160228757998993,
207
+ "tokens / sec": 2542.7169128628443,
208
+ "mem allocated avg": 6735558879.232,
209
+ "mem reserved avg": 9766118096.896,
210
+ "elapsed time": 1184.0932429550012
211
+ },
212
+ {
213
+ "step": 3250,
214
+ "valid accuracy": 0.38,
215
+ "train loss": 0.6654124256372452,
216
+ "train samples": 13000,
217
+ "train time": 82.60495989599804,
218
+ "eval time": 9.422949998002878,
219
+ "tokens / sec": 2553.1275635934003,
220
+ "mem allocated avg": 6736861765.632,
221
+ "mem reserved avg": 9693153984.512,
222
+ "elapsed time": 1276.3797298749996
223
+ },
224
+ {
225
+ "step": 3500,
226
+ "valid accuracy": 0.48,
227
+ "train loss": 0.6440585649013519,
228
+ "train samples": 14000,
229
+ "train time": 83.49933236895231,
230
+ "eval time": 16.45183570000154,
231
+ "tokens / sec": 2511.9961327737715,
232
+ "mem allocated avg": 6736224780.288,
233
+ "mem reserved avg": 9762519384.064,
234
+ "elapsed time": 1376.5911240860005
235
+ },
236
+ {
237
+ "step": 3750,
238
+ "valid accuracy": 0.52,
239
+ "train loss": 0.6372588503360749,
240
+ "train samples": 15000,
241
+ "train time": 88.35799511100049,
242
+ "eval time": 16.617606013001932,
243
+ "tokens / sec": 2452.5567802638006,
244
+ "mem allocated avg": 6744234921.984,
245
+ "mem reserved avg": 9867569922.048,
246
+ "elapsed time": 1481.8319968249998
247
+ },
248
+ {
249
+ "step": 4000,
250
+ "valid accuracy": 0.42,
251
+ "train loss": 0.6461446195840835,
252
+ "train samples": 16000,
253
+ "train time": 80.48123654198207,
254
+ "eval time": 9.247131195999827,
255
+ "tokens / sec": 2539.386927701978,
256
+ "mem allocated avg": 6730679050.24,
257
+ "mem reserved avg": 9747973537.792,
258
+ "elapsed time": 1571.8246489320009
259
+ },
260
+ {
261
+ "step": 4250,
262
+ "valid accuracy": 0.46,
263
+ "train loss": 0.6245053981542588,
264
+ "train samples": 17000,
265
+ "train time": 80.87224496699855,
266
+ "eval time": 16.23763043100189,
267
+ "tokens / sec": 2613.8633852227213,
268
+ "mem allocated avg": 6737841104.896,
269
+ "mem reserved avg": 9717875212.288,
270
+ "elapsed time": 1669.188425274002
271
+ },
272
+ {
273
+ "step": 4500,
274
+ "valid accuracy": 0.52,
275
+ "train loss": 0.629442654967308,
276
+ "train samples": 18000,
277
+ "train time": 81.4218764899997,
278
+ "eval time": 16.688479027998255,
279
+ "tokens / sec": 2552.3607285754997,
280
+ "mem allocated avg": 6734041757.696,
281
+ "mem reserved avg": 9734392381.44,
282
+ "elapsed time": 1767.555608701001
283
+ },
284
+ {
285
+ "step": 4750,
286
+ "valid accuracy": 0.5,
287
+ "train loss": 0.6200414321422577,
288
+ "train samples": 19000,
289
+ "train time": 82.67123844201706,
290
+ "eval time": 11.222833117000846,
291
+ "tokens / sec": 2539.4442366705857,
292
+ "mem allocated avg": 6736360562.688,
293
+ "mem reserved avg": 9768634679.296,
294
+ "elapsed time": 1861.7091022060013
295
+ },
296
+ {
297
+ "step": 5000,
298
+ "valid accuracy": 0.5,
299
+ "train loss": 0.6259837001562119,
300
+ "train samples": 20000,
301
+ "train time": 81.25220811798499,
302
+ "eval time": 9.313751439000043,
303
+ "tokens / sec": 2563.376489381803,
304
+ "mem allocated avg": 6733851441.152,
305
+ "mem reserved avg": 9605929238.528,
306
+ "elapsed time": 1952.5241099100022
307
+ },
308
+ {
309
+ "step": 5000,
310
+ "test accuracy": 0.43290371493555724,
311
+ "train loss": 0.6259837001562119,
312
+ "train samples": 20000,
313
+ "train total tokens": 4198051,
314
+ "forgetting": 0.45430731773376465
315
+ }
316
+ ]
317
+ },
318
+ "meta_info": {
319
+ "model_info": {
320
+ "sha": "13afe5124825b4f3751f836b40dafda64c1ed062",
321
+ "created_at": "2024-09-18T15:23:48+00:00"
322
+ },
323
+ "dataset_info": {
324
+ "metamath": {
325
+ "sha": "aa4f34d3d2d3231299b5b03d9b3e5a20da45aa18",
326
+ "created_at": "2023-09-21T17:22:46+00:00"
327
+ },
328
+ "gsm8k": {
329
+ "sha": "740312add88f781978c0658806c59bc2815b9866",
330
+ "created_at": "2022-04-12T10:22:10+00:00"
331
+ }
332
+ },
333
+ "package_info": {
334
+ "transformers-version": "5.16.0",
335
+ "transformers-commit-hash": null,
336
+ "peft-version": "0.21.3.dev0",
337
+ "peft-commit-hash": "c2c2b15a6e30e72fe6c7a8e43ac2be1428003978",
338
+ "datasets-version": "5.0.1",
339
+ "datasets-commit-hash": null,
340
+ "bitsandbytes-version": "0.50.2",
341
+ "bitsandbytes-commit-hash": null,
342
+ "torch-version": "2.13.0+cu130",
343
+ "torch-commit-hash": null
344
+ },
345
+ "system_info": {
346
+ "system": "Linux",
347
+ "release": "7.0.0-38-generic",
348
+ "version": "#38~24.04.4-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 14 16:37:11 UTC 2",
349
+ "machine": "x86_64",
350
+ "processor": "x86_64",
351
+ "accelerator": "NVIDIA GeForce RTX 5070 Ti"
352
+ },
353
+ "pytorch_info": "PyTorch built with:\n - GCC 13.3\n - C++ Version: 202002\n - Intel(R) oneAPI Math Kernel Library Version 2024.2-Product Build 20240605 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.12.0 (Git Hash 80afa71049cd69a3df32adcccb623b12cd7baa22)\n - OpenMP 201511 (a.k.a. OpenMP 4.5)\n - LAPACK is enabled (usually provided by MKL)\n - NNPACK is enabled\n - CPU capability usage: AVX2\n - CUDA Runtime 13.0\n - NVCC architecture flags: -gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_90,code=sm_90;-gencode;arch=compute_100,code=sm_100;-gencode;arch=compute_120,code=sm_120\n - CuDNN 92.0 (built against CUDA 13.2)\n - Magma 2.6.1\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, COMMIT_SHA=cf30153c4c131c8164ee7798e5022d810682e2cb, CUDA_FLAGS= -DLIBCUDACXX_ENABLE_SIMPLIFIED_COMPLEX_OPERATIONS -Xfatbin -compress-all -DONNX_NAMESPACE=onnx_torch -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -Xfatbin -compress-all --threads 2 -compress-mode=size -Wno-deprecated-gpu-targets --expt-extended-lambda -DCUB_WRAPPED_NAMESPACE=at_cuda_detail -DDISABLE_CUSPARSE_DEPRECATED -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -DC10_NODEPRECATED, CUDA_VERSION=13.0, CUDNN_VERSION=9.20.0, CXX_COMPILER=/opt/rh/gcc-toolset-13/root/usr/bin/c++, CXX_FLAGS= -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DHAS_CUPTI -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -DC10_NODEPRECATED -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -faligned-new -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-dangling-reference -Wno-error=dangling-reference -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, TORCH_VERSION=2.13.0, USE_CUDA=1, USE_CUDNN=ON, USE_CUSPARSELT=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
354
+ }
355
+ }