ASHu2 commited on
Commit
406a5a9
·
verified ·
1 Parent(s): c38cc01

LoRA adapter + training metadata

Browse files
lora/README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: openbmb/MiniCPM-V-4.6
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:openbmb/MiniCPM-V-4.6
7
+ - lora
8
+ - transformers
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ <!-- Provide a quick summary of what the model is/does. -->
14
+
15
+
16
+
17
+ ## Model Details
18
+
19
+ ### Model Description
20
+
21
+ <!-- Provide a longer summary of what this model is. -->
22
+
23
+
24
+
25
+ - **Developed by:** [More Information Needed]
26
+ - **Funded by [optional]:** [More Information Needed]
27
+ - **Shared by [optional]:** [More Information Needed]
28
+ - **Model type:** [More Information Needed]
29
+ - **Language(s) (NLP):** [More Information Needed]
30
+ - **License:** [More Information Needed]
31
+ - **Finetuned from model [optional]:** [More Information Needed]
32
+
33
+ ### Model Sources [optional]
34
+
35
+ <!-- Provide the basic links for the model. -->
36
+
37
+ - **Repository:** [More Information Needed]
38
+ - **Paper [optional]:** [More Information Needed]
39
+ - **Demo [optional]:** [More Information Needed]
40
+
41
+ ## Uses
42
+
43
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
44
+
45
+ ### Direct Use
46
+
47
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ## Bias, Risks, and Limitations
64
+
65
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+
67
+ [More Information Needed]
68
+
69
+ ### Recommendations
70
+
71
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+
73
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
74
+
75
+ ## How to Get Started with the Model
76
+
77
+ Use the code below to get started with the model.
78
+
79
+ [More Information Needed]
80
+
81
+ ## Training Details
82
+
83
+ ### Training Data
84
+
85
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ### Training Procedure
90
+
91
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
92
+
93
+ #### Preprocessing [optional]
94
+
95
+ [More Information Needed]
96
+
97
+
98
+ #### Training Hyperparameters
99
+
100
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
101
+
102
+ #### Speeds, Sizes, Times [optional]
103
+
104
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ## Evaluation
109
+
110
+ <!-- This section describes the evaluation protocols and provides the results. -->
111
+
112
+ ### Testing Data, Factors & Metrics
113
+
114
+ #### Testing Data
115
+
116
+ <!-- This should link to a Dataset Card if possible. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Factors
121
+
122
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
123
+
124
+ [More Information Needed]
125
+
126
+ #### Metrics
127
+
128
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
129
+
130
+ [More Information Needed]
131
+
132
+ ### Results
133
+
134
+ [More Information Needed]
135
+
136
+ #### Summary
137
+
138
+
139
+
140
+ ## Model Examination [optional]
141
+
142
+ <!-- Relevant interpretability work for the model goes here -->
143
+
144
+ [More Information Needed]
145
+
146
+ ## Environmental Impact
147
+
148
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
149
+
150
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
151
+
152
+ - **Hardware Type:** [More Information Needed]
153
+ - **Hours used:** [More Information Needed]
154
+ - **Cloud Provider:** [More Information Needed]
155
+ - **Compute Region:** [More Information Needed]
156
+ - **Carbon Emitted:** [More Information Needed]
157
+
158
+ ## Technical Specifications [optional]
159
+
160
+ ### Model Architecture and Objective
161
+
162
+ [More Information Needed]
163
+
164
+ ### Compute Infrastructure
165
+
166
+ [More Information Needed]
167
+
168
+ #### Hardware
169
+
170
+ [More Information Needed]
171
+
172
+ #### Software
173
+
174
+ [More Information Needed]
175
+
176
+ ## Citation [optional]
177
+
178
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
179
+
180
+ **BibTeX:**
181
+
182
+ [More Information Needed]
183
+
184
+ **APA:**
185
+
186
+ [More Information Needed]
187
+
188
+ ## Glossary [optional]
189
+
190
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
191
+
192
+ [More Information Needed]
193
+
194
+ ## More Information [optional]
195
+
196
+ [More Information Needed]
197
+
198
+ ## Model Card Authors [optional]
199
+
200
+ [More Information Needed]
201
+
202
+ ## Model Card Contact
203
+
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.19.1
lora/adapter_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "/root/.cache/huggingface/hub/models--openbmb--MiniCPM-V-4.6/snapshots/d7f5ed8d15462c508d4f9d9ce5a0cf1fe8d87bcc",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": [],
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": "^(model\\.language_model(?=\\.).*\\.(in_proj_b|in_proj_qkv|gate_proj|v_proj|k_proj|o_proj|up_proj|in_proj_z|in_proj_a|out_proj|down_proj|q_proj))$",
33
+ "target_parameters": null,
34
+ "task_type": "CAUSAL_LM",
35
+ "trainable_token_indices": null,
36
+ "use_bdlora": null,
37
+ "use_dora": false,
38
+ "use_qalora": false,
39
+ "use_rslora": false
40
+ }
lora/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb5a9f1c7c5113044e20167e8960b44c7f2425c295ee03cbaa818431aa405268
3
+ size 43346432
lora/additional_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lora_dtype": null, "lorap_lr_ratio": null, "lorap_emb_lr": 1e-06}
lora/args.json ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "/root/outputs/rune-goblin-vision-lora/v2-20260607-171815",
3
+ "per_device_train_batch_size": 16,
4
+ "num_train_epochs": 3.0,
5
+ "max_steps": -1,
6
+ "learning_rate": 0.0001,
7
+ "lr_scheduler_type": "cosine",
8
+ "lr_scheduler_kwargs": null,
9
+ "warmup_steps": 0,
10
+ "optim": "adamw_torch_fused",
11
+ "optim_args": null,
12
+ "weight_decay": 0.1,
13
+ "adam_beta1": 0.9,
14
+ "adam_beta2": 0.95,
15
+ "adam_epsilon": 1e-08,
16
+ "optim_target_modules": null,
17
+ "gradient_accumulation_steps": 1,
18
+ "average_tokens_across_devices": true,
19
+ "max_grad_norm": 1.0,
20
+ "label_smoothing_factor": 0.0,
21
+ "bf16": true,
22
+ "fp16": false,
23
+ "bf16_full_eval": false,
24
+ "fp16_full_eval": false,
25
+ "tf32": null,
26
+ "gradient_checkpointing": true,
27
+ "gradient_checkpointing_kwargs": null,
28
+ "torch_compile": false,
29
+ "torch_compile_backend": null,
30
+ "torch_compile_mode": null,
31
+ "use_liger_kernel": false,
32
+ "liger_kernel_config": null,
33
+ "use_cache": false,
34
+ "neftune_noise_alpha": null,
35
+ "torch_empty_cache_steps": null,
36
+ "auto_find_batch_size": false,
37
+ "logging_strategy": "steps",
38
+ "logging_steps": 10,
39
+ "logging_first_step": true,
40
+ "log_on_each_node": true,
41
+ "logging_nan_inf_filter": true,
42
+ "include_num_input_tokens_seen": false,
43
+ "log_level": "passive",
44
+ "log_level_replica": "warning",
45
+ "disable_tqdm": null,
46
+ "report_to": [
47
+ "wandb"
48
+ ],
49
+ "run_name": "/root/outputs/rune-goblin-vision-lora/v2-20260607-171815",
50
+ "project": "huggingface",
51
+ "trackio_space_id": null,
52
+ "trackio_bucket_id": null,
53
+ "trackio_static_space_id": null,
54
+ "eval_strategy": "steps",
55
+ "eval_steps": 200.0,
56
+ "eval_delay": 0,
57
+ "per_device_eval_batch_size": 1,
58
+ "prediction_loss_only": false,
59
+ "eval_on_start": false,
60
+ "eval_do_concat_batches": true,
61
+ "eval_use_gather_object": false,
62
+ "eval_accumulation_steps": null,
63
+ "include_for_metrics": [],
64
+ "batch_eval_metrics": false,
65
+ "save_only_model": false,
66
+ "save_strategy": "steps",
67
+ "save_steps": 200.0,
68
+ "save_on_each_node": false,
69
+ "save_total_limit": 2,
70
+ "enable_jit_checkpoint": false,
71
+ "push_to_hub": false,
72
+ "hub_token": null,
73
+ "hub_private_repo": null,
74
+ "hub_model_id": null,
75
+ "hub_strategy": "every_save",
76
+ "hub_always_push": false,
77
+ "hub_revision": null,
78
+ "load_best_model_at_end": false,
79
+ "metric_for_best_model": "loss",
80
+ "greater_is_better": false,
81
+ "ignore_data_skip": false,
82
+ "restore_callback_states_from_checkpoint": false,
83
+ "full_determinism": false,
84
+ "seed": 42,
85
+ "data_seed": 42,
86
+ "use_cpu": false,
87
+ "accelerator_config": {
88
+ "dispatch_batches": false
89
+ },
90
+ "parallelism_config": null,
91
+ "dataloader_drop_last": false,
92
+ "dataloader_num_workers": 8,
93
+ "dataloader_pin_memory": true,
94
+ "dataloader_persistent_workers": false,
95
+ "dataloader_prefetch_factor": null,
96
+ "remove_unused_columns": true,
97
+ "label_names": null,
98
+ "train_sampling_strategy": "random",
99
+ "length_column_name": "length",
100
+ "ddp_find_unused_parameters": null,
101
+ "ddp_bucket_cap_mb": null,
102
+ "ddp_broadcast_buffers": null,
103
+ "ddp_static_graph": null,
104
+ "ddp_backend": null,
105
+ "ddp_timeout": 18000000,
106
+ "fsdp": [],
107
+ "fsdp_config": null,
108
+ "deepspeed": null,
109
+ "debug": null,
110
+ "skip_memory_metrics": true,
111
+ "do_train": false,
112
+ "do_eval": false,
113
+ "do_predict": false,
114
+ "resume_from_checkpoint": null,
115
+ "warmup_ratio": 0.03,
116
+ "logging_dir": "/root/outputs/rune-goblin-vision-lora/v2-20260607-171815/runs",
117
+ "local_rank": -1,
118
+ "sortish_sampler": false,
119
+ "predict_with_generate": false,
120
+ "generation_max_length": null,
121
+ "generation_num_beams": null,
122
+ "generation_config": null,
123
+ "tuner_backend": "peft",
124
+ "vit_gradient_checkpointing": false,
125
+ "router_aux_loss_coef": 0.0,
126
+ "enable_dft_loss": false,
127
+ "enable_channel_loss": false,
128
+ "safe_serialization": true,
129
+ "max_shard_size": "5GB",
130
+ "check_model": true,
131
+ "acc_strategy": "token",
132
+ "train_dataloader_shuffle": true,
133
+ "group_by_length": false,
134
+ "max_epochs": null,
135
+ "aligner_lr": null,
136
+ "vit_lr": null,
137
+ "use_logits_to_keep": null,
138
+ "ds3_gather_for_generation": true,
139
+ "resume_only_model": false,
140
+ "optimizer": null,
141
+ "loss_type": null,
142
+ "eval_metric": null,
143
+ "callbacks": [],
144
+ "early_stop_interval": null,
145
+ "eval_use_evalscope": false,
146
+ "eval_dataset": [],
147
+ "eval_dataset_args": null,
148
+ "eval_limit": null,
149
+ "eval_generation_config": null,
150
+ "extra_eval_args": null,
151
+ "tuner_type": "lora",
152
+ "use_galore": false,
153
+ "galore_target_modules": null,
154
+ "galore_rank": 128,
155
+ "galore_update_proj_gap": 50,
156
+ "galore_scale": 1.0,
157
+ "galore_proj_type": "std",
158
+ "galore_optim_per_parameter": false,
159
+ "galore_with_embedding": false,
160
+ "galore_quantization": false,
161
+ "galore_proj_quant": false,
162
+ "galore_proj_bits": 4,
163
+ "galore_proj_group_size": 256,
164
+ "galore_cos_threshold": 0.4,
165
+ "galore_gamma_proj": 2,
166
+ "galore_queue_size": 5,
167
+ "lisa_activated_layers": 0,
168
+ "lisa_step_interval": 20,
169
+ "use_flash_ckpt": false,
170
+ "use_ray": false,
171
+ "ray_exp_name": null,
172
+ "device_groups": null,
173
+ "model": "openbmb/MiniCPM-V-4.6",
174
+ "model_type": "minicpmv4_6",
175
+ "model_revision": null,
176
+ "task_type": "causal_lm",
177
+ "torch_dtype": "bfloat16",
178
+ "attn_impl": "sdpa",
179
+ "experts_impl": null,
180
+ "new_special_tokens": [],
181
+ "num_labels": null,
182
+ "problem_type": null,
183
+ "rope_scaling": null,
184
+ "device_map": null,
185
+ "max_memory": {},
186
+ "max_model_len": null,
187
+ "local_repo_path": null,
188
+ "init_strategy": null,
189
+ "template": "minicpmv4_6",
190
+ "system": null,
191
+ "max_length": 2048,
192
+ "truncation_strategy": "delete",
193
+ "max_pixels": null,
194
+ "agent_template": null,
195
+ "norm_bbox": null,
196
+ "use_chat_template": true,
197
+ "padding_side": "right",
198
+ "padding_free": false,
199
+ "loss_scale": "default",
200
+ "sequence_parallel_size": 1,
201
+ "template_backend": "swift",
202
+ "response_prefix": null,
203
+ "enable_thinking": null,
204
+ "add_non_thinking_prefix": true,
205
+ "dataset": [
206
+ "rg_swift_train.jsonl"
207
+ ],
208
+ "val_dataset": [
209
+ "rg_swift_val.jsonl"
210
+ ],
211
+ "cached_dataset": [],
212
+ "cached_val_dataset": [],
213
+ "split_dataset_ratio": 0.0,
214
+ "dataset_num_proc": 8,
215
+ "load_from_cache_file": false,
216
+ "dataset_shuffle": true,
217
+ "val_dataset_shuffle": false,
218
+ "streaming": false,
219
+ "interleave_prob": null,
220
+ "stopping_strategy": "first_exhausted",
221
+ "shuffle_buffer_size": 1000,
222
+ "download_mode": "reuse_dataset_if_exists",
223
+ "columns": {},
224
+ "strict": false,
225
+ "disable_auto_column_mapping": false,
226
+ "model_name": null,
227
+ "model_author": null,
228
+ "custom_dataset_info": [],
229
+ "quant_method": null,
230
+ "quant_bits": null,
231
+ "hqq_axis": null,
232
+ "bnb_4bit_compute_dtype": "bfloat16",
233
+ "bnb_4bit_quant_type": "nf4",
234
+ "bnb_4bit_use_double_quant": true,
235
+ "bnb_4bit_quant_storage": null,
236
+ "max_new_tokens": 64,
237
+ "temperature": 0.0,
238
+ "top_k": null,
239
+ "top_p": null,
240
+ "repetition_penalty": null,
241
+ "num_beams": 1,
242
+ "stream": false,
243
+ "stop_words": [],
244
+ "logprobs": false,
245
+ "top_logprobs": null,
246
+ "structured_outputs_regex": null,
247
+ "adapters": [],
248
+ "external_plugins": [],
249
+ "custom_register_path": [],
250
+ "model_kwargs": {},
251
+ "enable_npu_model_patch": true,
252
+ "load_args": false,
253
+ "load_data_args": false,
254
+ "packing": false,
255
+ "packing_length": null,
256
+ "packing_num_proc": 1,
257
+ "lazy_tokenize": true,
258
+ "use_hf": true,
259
+ "ignore_args_error": false,
260
+ "use_swift_lora": false,
261
+ "freeze_parameters": [],
262
+ "freeze_parameters_regex": null,
263
+ "freeze_parameters_ratio": 0.0,
264
+ "trainable_parameters": [],
265
+ "trainable_parameters_regex": null,
266
+ "freeze_llm": false,
267
+ "freeze_vit": true,
268
+ "freeze_aligner": true,
269
+ "target_modules": [
270
+ "all-linear"
271
+ ],
272
+ "target_regex": null,
273
+ "target_parameters": null,
274
+ "modules_to_save": [],
275
+ "lora_rank": 16,
276
+ "lora_alpha": 32,
277
+ "lora_dropout": 0.05,
278
+ "lora_bias": "none",
279
+ "lora_dtype": null,
280
+ "lorap_lr_ratio": null,
281
+ "use_rslora": false,
282
+ "use_dora": false,
283
+ "lora_ga_batch_size": 2,
284
+ "lora_ga_iters": 2,
285
+ "lora_ga_max_length": 1024,
286
+ "lora_ga_direction": "ArB2r",
287
+ "lora_ga_scale": "stable",
288
+ "lora_ga_stable_gamma": 16,
289
+ "init_weights": true,
290
+ "fourier_n_frequency": 2000,
291
+ "fourier_scaling": 300.0,
292
+ "boft_block_size": 4,
293
+ "boft_block_num": 0,
294
+ "boft_n_butterfly_factor": 1,
295
+ "boft_dropout": 0.0,
296
+ "vera_rank": 256,
297
+ "vera_projection_prng_key": 0,
298
+ "vera_dropout": 0.0,
299
+ "vera_d_initial": 0.1,
300
+ "adapter_act": "gelu",
301
+ "adapter_length": 128,
302
+ "adalora_target_r": 8,
303
+ "adalora_init_r": 12,
304
+ "adalora_tinit": 0,
305
+ "adalora_tfinal": 0,
306
+ "adalora_deltaT": 1,
307
+ "adalora_beta1": 0.85,
308
+ "adalora_beta2": 0.85,
309
+ "adalora_orth_reg_weight": 0.5,
310
+ "llamapro_num_new_blocks": 4,
311
+ "llamapro_num_groups": null,
312
+ "reft_layer_key": null,
313
+ "reft_layers": null,
314
+ "reft_rank": 4,
315
+ "reft_intervention_type": "LoreftIntervention",
316
+ "reft_args": null,
317
+ "swanlab_token": null,
318
+ "swanlab_project": "ms-swift",
319
+ "swanlab_workspace": null,
320
+ "swanlab_exp_name": null,
321
+ "swanlab_notification_method": null,
322
+ "swanlab_webhook_url": null,
323
+ "swanlab_secret": null,
324
+ "swanlab_sender_email": null,
325
+ "swanlab_receiver_email": null,
326
+ "swanlab_smtp_server": null,
327
+ "swanlab_smtp_port": null,
328
+ "swanlab_email_language": "zh",
329
+ "swanlab_mode": "cloud",
330
+ "add_version": true,
331
+ "create_checkpoint_symlink": false,
332
+ "zero_hpz_partition_size": null,
333
+ "deepspeed_autotp_size": null,
334
+ "swift_version": "4.2.3",
335
+ "ckpt_dir": null,
336
+ "rank": -1,
337
+ "global_world_size": 1,
338
+ "local_world_size": 1,
339
+ "model_suffix": "MiniCPM-V-4.6",
340
+ "model_info": "ModelInfo(model_type='minicpmv4_6', model_dir='/root/.cache/huggingface/hub/models--openbmb--MiniCPM-V-4.6/snapshots/d7f5ed8d15462c508d4f9d9ce5a0cf1fe8d87bcc', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
341
+ "model_meta": "ModelMeta(model_type='minicpmv4_6', model_groups=[ModelGroup(models=[Model(ms_model_id='OpenBMB/MiniCPM-V-4.6', hf_model_id='openbmb/MiniCPM-V-4.6', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.models.minicpm.MiniCPMV4_6Loader'>, template='minicpmv4_6', model_arch=MultiModelKeys(arch_name='minicpmv4_6', embedding=None, module_list=None, lm_head=None, q_proj=None, k_proj=None, v_proj=None, o_proj=None, attention=None, mlp=None, down_proj=None, qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None, language_model=['model.language_model'], aligner=['model.merger'], vision_tower=['model.vision_tower'], generator=[]), mcore_model_type=None, architectures=['MiniCPMV4_6ForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=5.7.0'], tags=[])",
342
+ "model_dir": "/root/.cache/huggingface/hub/models--openbmb--MiniCPM-V-4.6/snapshots/d7f5ed8d15462c508d4f9d9ce5a0cf1fe8d87bcc",
343
+ "template_meta": "ChatmlTemplateMeta(template_type='minicpmv4_6', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'swift.template.templates.minicpm.MiniCPMV4_6Template'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=True, stop_words=[], agent_template='react_en', is_thinking=True, thinking_prefix='<think>\\n', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
344
+ "_val_dataset_exists": true,
345
+ "hub": "<class 'swift.hub.hub.HFHub'>",
346
+ "evaluation_strategy": "steps",
347
+ "training_args": "Seq2SeqTrainingArguments(output_dir='/root/outputs/rune-goblin-vision-lora/v2-20260607-171815', per_device_train_batch_size=16, num_train_epochs=3.0, max_steps=-1, learning_rate=0.0001, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_steps=0.03, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, optim_target_modules=None, gradient_accumulation_steps=1, average_tokens_across_devices=None, max_grad_norm=1.0, label_smoothing_factor=0.0, bf16=True, fp16=False, bf16_full_eval=False, fp16_full_eval=False, tf32=None, gradient_checkpointing=True, gradient_checkpointing_kwargs=None, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, use_liger_kernel=False, liger_kernel_config=None, use_cache=False, neftune_noise_alpha=None, torch_empty_cache_steps=None, auto_find_batch_size=False, logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_steps=10, logging_first_step=True, log_on_each_node=True, logging_nan_inf_filter=True, include_num_input_tokens_seen=None, log_level='passive', log_level_replica='warning', disable_tqdm=False, report_to=['wandb'], run_name='/root/outputs/rune-goblin-vision-lora/v2-20260607-171815', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.STEPS: 'steps'>, eval_steps=200, eval_delay=0, per_device_eval_batch_size=1, prediction_loss_only=False, eval_on_start=False, eval_do_concat_batches=True, eval_use_gather_object=False, eval_accumulation_steps=None, include_for_metrics=[], batch_eval_metrics=False, save_only_model=False, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=200, save_on_each_node=False, save_total_limit=2, enable_jit_checkpoint=False, push_to_hub=False, hub_token=None, hub_private_repo=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_always_push=False, hub_revision=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, restore_callback_states_from_checkpoint=False, full_determinism=False, seed=42, data_seed=42, use_cpu=False, accelerator_config=AcceleratorConfig(split_batches=False, dispatch_batches=False, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None, use_configured_state=False), parallelism_config=None, dataloader_drop_last=False, dataloader_num_workers=8, dataloader_pin_memory=True, dataloader_persistent_workers=False, dataloader_prefetch_factor=2, remove_unused_columns=False, label_names=None, train_sampling_strategy='random', length_column_name='length', ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, ddp_static_graph=None, ddp_backend=None, ddp_timeout=18000000, fsdp=[], fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, deepspeed=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=True, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.03, logging_dir='/root/outputs/rune-goblin-vision-lora/v2-20260607-171815/runs', local_rank=-1, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=None, tuner_backend='peft', vit_gradient_checkpointing=False, router_aux_loss_coef=0.0, enable_dft_loss=False, enable_channel_loss=False, safe_serialization=True, max_shard_size='5GB', check_model=True, acc_strategy='token', train_dataloader_shuffle=True, group_by_length=False, max_epochs=None, aligner_lr=None, vit_lr=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type=None, eval_metric=None, callbacks=[], early_stop_interval=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, tuner_type='lora', use_galore=False, galore_target_modules=None, galore_rank=128, galore_update_proj_gap=50, galore_scale=1.0, galore_proj_type='std', galore_optim_per_parameter=False, galore_with_embedding=False, galore_quantization=False, galore_proj_quant=False, galore_proj_bits=4, galore_proj_group_size=256, galore_cos_threshold=0.4, galore_gamma_proj=2, galore_queue_size=5, lisa_activated_layers=0, lisa_step_interval=20, use_flash_ckpt=False)"
348
+ }
lora/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:984b78595ea57860f859959981b4531b247129679458708b08c0a0f0e37a29fb
3
+ size 86899135
lora/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:858514dc6cb54559a8f1a3ee289ea2ebab35a4d94d2dcdcefe7f41a324d5eb7a
3
+ size 14645
lora/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e97fb1ffd942fa42e3daeba6d24c25f44cad62992c926a1bb4cfa2dd355f8f0
3
+ size 1465
lora/trainer_state.json ADDED
@@ -0,0 +1,759 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 846,
3
+ "best_metric": 0.11049881,
4
+ "best_model_checkpoint": "/root/outputs/rune-goblin-vision-lora/v2-20260607-171815/checkpoint-846",
5
+ "epoch": 3.0,
6
+ "eval_steps": 200,
7
+ "global_step": 846,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.0035460992907801418,
14
+ "grad_norm": 26.47808074951172,
15
+ "learning_rate": 3.846153846153847e-06,
16
+ "loss": 4.957160472869873,
17
+ "step": 1,
18
+ "token_acc": 0.32794774836713647
19
+ },
20
+ {
21
+ "epoch": 0.03546099290780142,
22
+ "grad_norm": 6.980465412139893,
23
+ "learning_rate": 3.846153846153846e-05,
24
+ "loss": 4.304361979166667,
25
+ "step": 10,
26
+ "token_acc": 0.371801140994295
27
+ },
28
+ {
29
+ "epoch": 0.07092198581560284,
30
+ "grad_norm": 2.8949131965637207,
31
+ "learning_rate": 7.692307692307693e-05,
32
+ "loss": 2.537805938720703,
33
+ "step": 20,
34
+ "token_acc": 0.5499852876268942
35
+ },
36
+ {
37
+ "epoch": 0.10638297872340426,
38
+ "grad_norm": 2.3080947399139404,
39
+ "learning_rate": 9.999412884518409e-05,
40
+ "loss": 1.4758130073547364,
41
+ "step": 30,
42
+ "token_acc": 0.719080560740822
43
+ },
44
+ {
45
+ "epoch": 0.14184397163120568,
46
+ "grad_norm": 1.9129527807235718,
47
+ "learning_rate": 9.992809418734932e-05,
48
+ "loss": 0.8724543571472168,
49
+ "step": 40,
50
+ "token_acc": 0.8118754734677681
51
+ },
52
+ {
53
+ "epoch": 0.1773049645390071,
54
+ "grad_norm": 1.6698404550552368,
55
+ "learning_rate": 9.978878316629133e-05,
56
+ "loss": 0.6030772686004638,
57
+ "step": 50,
58
+ "token_acc": 0.857075642417662
59
+ },
60
+ {
61
+ "epoch": 0.2127659574468085,
62
+ "grad_norm": 1.4783146381378174,
63
+ "learning_rate": 9.957640024014426e-05,
64
+ "loss": 0.4381204605102539,
65
+ "step": 60,
66
+ "token_acc": 0.8833357600465929
67
+ },
68
+ {
69
+ "epoch": 0.24822695035460993,
70
+ "grad_norm": 1.3394635915756226,
71
+ "learning_rate": 9.929125711013952e-05,
72
+ "loss": 0.36449878215789794,
73
+ "step": 70,
74
+ "token_acc": 0.9001910219675263
75
+ },
76
+ {
77
+ "epoch": 0.28368794326241137,
78
+ "grad_norm": 1.8082902431488037,
79
+ "learning_rate": 9.893377226314113e-05,
80
+ "loss": 0.3078165054321289,
81
+ "step": 80,
82
+ "token_acc": 0.9116833988069256
83
+ },
84
+ {
85
+ "epoch": 0.3191489361702128,
86
+ "grad_norm": 1.3050870895385742,
87
+ "learning_rate": 9.850447035745866e-05,
88
+ "loss": 0.2708670854568481,
89
+ "step": 90,
90
+ "token_acc": 0.9215828380924772
91
+ },
92
+ {
93
+ "epoch": 0.3546099290780142,
94
+ "grad_norm": 1.157996654510498,
95
+ "learning_rate": 9.800398145283874e-05,
96
+ "loss": 0.2403315305709839,
97
+ "step": 100,
98
+ "token_acc": 0.9257353477848332
99
+ },
100
+ {
101
+ "epoch": 0.3900709219858156,
102
+ "grad_norm": 1.1475191116333008,
103
+ "learning_rate": 9.74330400857655e-05,
104
+ "loss": 0.2249774932861328,
105
+ "step": 110,
106
+ "token_acc": 0.9299674267100977
107
+ },
108
+ {
109
+ "epoch": 0.425531914893617,
110
+ "grad_norm": 1.1834532022476196,
111
+ "learning_rate": 9.679248419142703e-05,
112
+ "loss": 0.21108412742614746,
113
+ "step": 120,
114
+ "token_acc": 0.9321722859918679
115
+ },
116
+ {
117
+ "epoch": 0.46099290780141844,
118
+ "grad_norm": 1.025472640991211,
119
+ "learning_rate": 9.608325387392986e-05,
120
+ "loss": 0.1984718918800354,
121
+ "step": 130,
122
+ "token_acc": 0.9349572712000584
123
+ },
124
+ {
125
+ "epoch": 0.49645390070921985,
126
+ "grad_norm": 1.3528136014938354,
127
+ "learning_rate": 9.530639002656665e-05,
128
+ "loss": 0.18717693090438842,
129
+ "step": 140,
130
+ "token_acc": 0.9383361356824329
131
+ },
132
+ {
133
+ "epoch": 0.5319148936170213,
134
+ "grad_norm": 0.9476079344749451,
135
+ "learning_rate": 9.446303280416168e-05,
136
+ "loss": 0.18122910261154174,
137
+ "step": 150,
138
+ "token_acc": 0.939964093357271
139
+ },
140
+ {
141
+ "epoch": 0.5673758865248227,
142
+ "grad_norm": 1.1301629543304443,
143
+ "learning_rate": 9.35544199497364e-05,
144
+ "loss": 0.17390866279602052,
145
+ "step": 160,
146
+ "token_acc": 0.9416140097490522
147
+ },
148
+ {
149
+ "epoch": 0.6028368794326241,
150
+ "grad_norm": 0.9774699211120605,
151
+ "learning_rate": 9.258188497795093e-05,
152
+ "loss": 0.1724635124206543,
153
+ "step": 170,
154
+ "token_acc": 0.9417198946266826
155
+ },
156
+ {
157
+ "epoch": 0.6382978723404256,
158
+ "grad_norm": 0.9606502652168274,
159
+ "learning_rate": 9.154685521798736e-05,
160
+ "loss": 0.16570632457733153,
161
+ "step": 180,
162
+ "token_acc": 0.9430933137398971
163
+ },
164
+ {
165
+ "epoch": 0.6737588652482269,
166
+ "grad_norm": 0.7653209567070007,
167
+ "learning_rate": 9.045084971874738e-05,
168
+ "loss": 0.16216459274291992,
169
+ "step": 190,
170
+ "token_acc": 0.945176232177752
171
+ },
172
+ {
173
+ "epoch": 0.7092198581560284,
174
+ "grad_norm": 0.8915665149688721,
175
+ "learning_rate": 8.929547701943848e-05,
176
+ "loss": 0.16271411180496215,
177
+ "step": 200,
178
+ "token_acc": 0.942606371451275
179
+ },
180
+ {
181
+ "epoch": 0.7092198581560284,
182
+ "eval_loss": 0.15719343721866608,
183
+ "eval_runtime": 201.5815,
184
+ "eval_samples_per_second": 2.48,
185
+ "eval_steps_per_second": 2.48,
186
+ "eval_token_acc": 0.945529659545907,
187
+ "step": 200
188
+ },
189
+ {
190
+ "epoch": 0.7446808510638298,
191
+ "grad_norm": 0.8328582644462585,
192
+ "learning_rate": 8.808243278882094e-05,
193
+ "loss": 0.1601296544075012,
194
+ "step": 210,
195
+ "token_acc": 0.9429678447276941
196
+ },
197
+ {
198
+ "epoch": 0.7801418439716312,
199
+ "grad_norm": 0.6964325308799744,
200
+ "learning_rate": 8.681349733658002e-05,
201
+ "loss": 0.156463623046875,
202
+ "step": 220,
203
+ "token_acc": 0.944890562819784
204
+ },
205
+ {
206
+ "epoch": 0.8156028368794326,
207
+ "grad_norm": 0.7970917820930481,
208
+ "learning_rate": 8.549053300047603e-05,
209
+ "loss": 0.1498551845550537,
210
+ "step": 230,
211
+ "token_acc": 0.9467647380111422
212
+ },
213
+ {
214
+ "epoch": 0.851063829787234,
215
+ "grad_norm": 0.8542683720588684,
216
+ "learning_rate": 8.411548141310682e-05,
217
+ "loss": 0.150161075592041,
218
+ "step": 240,
219
+ "token_acc": 0.9477524382195498
220
+ },
221
+ {
222
+ "epoch": 0.8865248226950354,
223
+ "grad_norm": 1.1433733701705933,
224
+ "learning_rate": 8.269036065229427e-05,
225
+ "loss": 0.14733513593673705,
226
+ "step": 250,
227
+ "token_acc": 0.9477655677655678
228
+ },
229
+ {
230
+ "epoch": 0.9219858156028369,
231
+ "grad_norm": 0.8125953674316406,
232
+ "learning_rate": 8.121726227927671e-05,
233
+ "loss": 0.14813485145568847,
234
+ "step": 260,
235
+ "token_acc": 0.9468073573519314
236
+ },
237
+ {
238
+ "epoch": 0.9574468085106383,
239
+ "grad_norm": 0.6343769431114197,
240
+ "learning_rate": 7.96983482690544e-05,
241
+ "loss": 0.14432573318481445,
242
+ "step": 270,
243
+ "token_acc": 0.9457151129125652
244
+ },
245
+ {
246
+ "epoch": 0.9929078014184397,
247
+ "grad_norm": 0.6489441990852356,
248
+ "learning_rate": 7.813584783739314e-05,
249
+ "loss": 0.14110009670257567,
250
+ "step": 280,
251
+ "token_acc": 0.9487638198146624
252
+ },
253
+ {
254
+ "epoch": 1.0283687943262412,
255
+ "grad_norm": 0.6926689743995667,
256
+ "learning_rate": 7.653205416914267e-05,
257
+ "loss": 0.13882286548614503,
258
+ "step": 290,
259
+ "token_acc": 0.9491290028173485
260
+ },
261
+ {
262
+ "epoch": 1.0638297872340425,
263
+ "grad_norm": 0.6307562589645386,
264
+ "learning_rate": 7.48893210526717e-05,
265
+ "loss": 0.13428436517715453,
266
+ "step": 300,
267
+ "token_acc": 0.9507825962090752
268
+ },
269
+ {
270
+ "epoch": 1.099290780141844,
271
+ "grad_norm": 0.6745529770851135,
272
+ "learning_rate": 7.32100594253589e-05,
273
+ "loss": 0.13728001117706298,
274
+ "step": 310,
275
+ "token_acc": 0.9503636828831463
276
+ },
277
+ {
278
+ "epoch": 1.1347517730496455,
279
+ "grad_norm": 0.6265084743499756,
280
+ "learning_rate": 7.149673383520977e-05,
281
+ "loss": 0.1338452696800232,
282
+ "step": 320,
283
+ "token_acc": 0.9483374653638618
284
+ },
285
+ {
286
+ "epoch": 1.1702127659574468,
287
+ "grad_norm": 0.7385435104370117,
288
+ "learning_rate": 6.975185882379271e-05,
289
+ "loss": 0.1393455147743225,
290
+ "step": 330,
291
+ "token_acc": 0.9486471763210459
292
+ },
293
+ {
294
+ "epoch": 1.2056737588652482,
295
+ "grad_norm": 0.5905711650848389,
296
+ "learning_rate": 6.79779952358024e-05,
297
+ "loss": 0.13502193689346315,
298
+ "step": 340,
299
+ "token_acc": 0.9485331772624186
300
+ },
301
+ {
302
+ "epoch": 1.2411347517730495,
303
+ "grad_norm": 0.7370989322662354,
304
+ "learning_rate": 6.617774646066712e-05,
305
+ "loss": 0.13421342372894288,
306
+ "step": 350,
307
+ "token_acc": 0.9494764589587757
308
+ },
309
+ {
310
+ "epoch": 1.2765957446808511,
311
+ "grad_norm": 0.5736089944839478,
312
+ "learning_rate": 6.43537546117158e-05,
313
+ "loss": 0.13304685354232787,
314
+ "step": 360,
315
+ "token_acc": 0.9498352251922373
316
+ },
317
+ {
318
+ "epoch": 1.3120567375886525,
319
+ "grad_norm": 0.5789754986763,
320
+ "learning_rate": 6.250869664851227e-05,
321
+ "loss": 0.13168127536773683,
322
+ "step": 370,
323
+ "token_acc": 0.9499291450165328
324
+ },
325
+ {
326
+ "epoch": 1.3475177304964538,
327
+ "grad_norm": 0.5693713426589966,
328
+ "learning_rate": 6.0645280448048044e-05,
329
+ "loss": 0.12925996780395507,
330
+ "step": 380,
331
+ "token_acc": 0.9515637471881576
332
+ },
333
+ {
334
+ "epoch": 1.3829787234042552,
335
+ "grad_norm": 0.7503437399864197,
336
+ "learning_rate": 5.876624083055939e-05,
337
+ "loss": 0.1295076847076416,
338
+ "step": 390,
339
+ "token_acc": 0.9505007983742197
340
+ },
341
+ {
342
+ "epoch": 1.4184397163120568,
343
+ "grad_norm": 0.6699873805046082,
344
+ "learning_rate": 5.687433554580147e-05,
345
+ "loss": 0.12774388790130614,
346
+ "step": 400,
347
+ "token_acc": 0.9517989761338236
348
+ },
349
+ {
350
+ "epoch": 1.4184397163120568,
351
+ "eval_loss": 0.1278059333562851,
352
+ "eval_runtime": 202.2442,
353
+ "eval_samples_per_second": 2.472,
354
+ "eval_steps_per_second": 2.472,
355
+ "eval_token_acc": 0.9520795241511792,
356
+ "step": 400
357
+ },
358
+ {
359
+ "epoch": 1.4539007092198581,
360
+ "grad_norm": 0.5635619163513184,
361
+ "learning_rate": 5.4972341225670354e-05,
362
+ "loss": 0.1255749225616455,
363
+ "step": 410,
364
+ "token_acc": 0.9524740290295726
365
+ },
366
+ {
367
+ "epoch": 1.4893617021276595,
368
+ "grad_norm": 0.7221083641052246,
369
+ "learning_rate": 5.306304930911278e-05,
370
+ "loss": 0.12711741924285888,
371
+ "step": 420,
372
+ "token_acc": 0.9516117426967909
373
+ },
374
+ {
375
+ "epoch": 1.524822695035461,
376
+ "grad_norm": 0.5900425314903259,
377
+ "learning_rate": 5.1149261945304526e-05,
378
+ "loss": 0.1292075514793396,
379
+ "step": 430,
380
+ "token_acc": 0.9518457901436624
381
+ },
382
+ {
383
+ "epoch": 1.5602836879432624,
384
+ "grad_norm": 0.6121543645858765,
385
+ "learning_rate": 4.923378788111019e-05,
386
+ "loss": 0.12657049894332886,
387
+ "step": 440,
388
+ "token_acc": 0.9530577088716624
389
+ },
390
+ {
391
+ "epoch": 1.5957446808510638,
392
+ "grad_norm": 0.5986051559448242,
393
+ "learning_rate": 4.731943833885973e-05,
394
+ "loss": 0.12117983102798462,
395
+ "step": 450,
396
+ "token_acc": 0.9550748752079867
397
+ },
398
+ {
399
+ "epoch": 1.6312056737588652,
400
+ "grad_norm": 0.5218138694763184,
401
+ "learning_rate": 4.54090228904921e-05,
402
+ "loss": 0.12389755249023438,
403
+ "step": 460,
404
+ "token_acc": 0.9530423518405239
405
+ },
406
+ {
407
+ "epoch": 1.6666666666666665,
408
+ "grad_norm": 0.6366024017333984,
409
+ "learning_rate": 4.350534533412097e-05,
410
+ "loss": 0.12183566093444824,
411
+ "step": 470,
412
+ "token_acc": 0.9533030027297543
413
+ },
414
+ {
415
+ "epoch": 1.702127659574468,
416
+ "grad_norm": 0.631432056427002,
417
+ "learning_rate": 4.16111995790744e-05,
418
+ "loss": 0.1201132893562317,
419
+ "step": 480,
420
+ "token_acc": 0.9545209419378033
421
+ },
422
+ {
423
+ "epoch": 1.7375886524822695,
424
+ "grad_norm": 0.6317788362503052,
425
+ "learning_rate": 3.9729365545447514e-05,
426
+ "loss": 0.12237818241119384,
427
+ "step": 490,
428
+ "token_acc": 0.9546474590994644
429
+ },
430
+ {
431
+ "epoch": 1.773049645390071,
432
+ "grad_norm": 0.5718140006065369,
433
+ "learning_rate": 3.786260508418655e-05,
434
+ "loss": 0.124367356300354,
435
+ "step": 500,
436
+ "token_acc": 0.9517145369284877
437
+ },
438
+ {
439
+ "epoch": 1.8085106382978724,
440
+ "grad_norm": 0.6416216492652893,
441
+ "learning_rate": 3.601365792369161e-05,
442
+ "loss": 0.12365785837173462,
443
+ "step": 510,
444
+ "token_acc": 0.9522010751125962
445
+ },
446
+ {
447
+ "epoch": 1.8439716312056738,
448
+ "grad_norm": 0.5563585758209229,
449
+ "learning_rate": 3.418523764888758e-05,
450
+ "loss": 0.11884108781814576,
451
+ "step": 520,
452
+ "token_acc": 0.9552927391893377
453
+ },
454
+ {
455
+ "epoch": 1.8794326241134751,
456
+ "grad_norm": 0.6853976249694824,
457
+ "learning_rate": 3.238002771866391e-05,
458
+ "loss": 0.11873785257339478,
459
+ "step": 530,
460
+ "token_acc": 0.9553233651594307
461
+ },
462
+ {
463
+ "epoch": 1.9148936170212765,
464
+ "grad_norm": 0.64034104347229,
465
+ "learning_rate": 3.060067752752874e-05,
466
+ "loss": 0.1139642357826233,
467
+ "step": 540,
468
+ "token_acc": 0.9571830173718734
469
+ },
470
+ {
471
+ "epoch": 1.950354609929078,
472
+ "grad_norm": 0.5898419618606567,
473
+ "learning_rate": 2.8849798517257065e-05,
474
+ "loss": 0.11692265272140503,
475
+ "step": 550,
476
+ "token_acc": 0.9547944708486014
477
+ },
478
+ {
479
+ "epoch": 1.9858156028368794,
480
+ "grad_norm": 0.5608242750167847,
481
+ "learning_rate": 2.7129960344239824e-05,
482
+ "loss": 0.11538001298904418,
483
+ "step": 560,
484
+ "token_acc": 0.9559320788003528
485
+ },
486
+ {
487
+ "epoch": 2.021276595744681,
488
+ "grad_norm": 0.6120197772979736,
489
+ "learning_rate": 2.5443687108158836e-05,
490
+ "loss": 0.11315921545028687,
491
+ "step": 570,
492
+ "token_acc": 0.9558374442095372
493
+ },
494
+ {
495
+ "epoch": 2.0567375886524824,
496
+ "grad_norm": 0.5597257018089294,
497
+ "learning_rate": 2.379345364752239e-05,
498
+ "loss": 0.11295346021652222,
499
+ "step": 580,
500
+ "token_acc": 0.9562364842575963
501
+ },
502
+ {
503
+ "epoch": 2.0921985815602837,
504
+ "grad_norm": 0.4704679846763611,
505
+ "learning_rate": 2.2181681907498502e-05,
506
+ "loss": 0.10958367586135864,
507
+ "step": 590,
508
+ "token_acc": 0.9576675281185164
509
+ },
510
+ {
511
+ "epoch": 2.127659574468085,
512
+ "grad_norm": 0.534522294998169,
513
+ "learning_rate": 2.061073738537635e-05,
514
+ "loss": 0.11023097038269043,
515
+ "step": 600,
516
+ "token_acc": 0.9576889723948547
517
+ },
518
+ {
519
+ "epoch": 2.127659574468085,
520
+ "eval_loss": 0.11636195331811905,
521
+ "eval_runtime": 201.0697,
522
+ "eval_samples_per_second": 2.487,
523
+ "eval_steps_per_second": 2.487,
524
+ "eval_token_acc": 0.9559214942023283,
525
+ "step": 600
526
+ },
527
+ {
528
+ "epoch": 2.1631205673758864,
529
+ "grad_norm": 0.4464743733406067,
530
+ "learning_rate": 1.9082925658872853e-05,
531
+ "loss": 0.10994529724121094,
532
+ "step": 610,
533
+ "token_acc": 0.9586940836940837
534
+ },
535
+ {
536
+ "epoch": 2.198581560283688,
537
+ "grad_norm": 0.5795279741287231,
538
+ "learning_rate": 1.7600489002379443e-05,
539
+ "loss": 0.11219470500946045,
540
+ "step": 620,
541
+ "token_acc": 0.9579232995658467
542
+ },
543
+ {
544
+ "epoch": 2.2340425531914896,
545
+ "grad_norm": 0.43980446457862854,
546
+ "learning_rate": 1.6165603096115107e-05,
547
+ "loss": 0.10888147354125977,
548
+ "step": 630,
549
+ "token_acc": 0.9575937589464644
550
+ },
551
+ {
552
+ "epoch": 2.269503546099291,
553
+ "grad_norm": 0.5029824376106262,
554
+ "learning_rate": 1.4780373833015737e-05,
555
+ "loss": 0.10863748788833619,
556
+ "step": 640,
557
+ "token_acc": 0.9594982078853047
558
+ },
559
+ {
560
+ "epoch": 2.3049645390070923,
561
+ "grad_norm": 0.5658282041549683,
562
+ "learning_rate": 1.3446834228045812e-05,
563
+ "loss": 0.10928837060928345,
564
+ "step": 650,
565
+ "token_acc": 0.9579486439699942
566
+ },
567
+ {
568
+ "epoch": 2.3404255319148937,
569
+ "grad_norm": 0.5395434498786926,
570
+ "learning_rate": 1.216694143446857e-05,
571
+ "loss": 0.10922106504440307,
572
+ "step": 660,
573
+ "token_acc": 0.9575124269801532
574
+ },
575
+ {
576
+ "epoch": 2.375886524822695,
577
+ "grad_norm": 0.5449179410934448,
578
+ "learning_rate": 1.0942573871453733e-05,
579
+ "loss": 0.1074299693107605,
580
+ "step": 670,
581
+ "token_acc": 0.9578538497840056
582
+ },
583
+ {
584
+ "epoch": 2.4113475177304964,
585
+ "grad_norm": 0.5345823168754578,
586
+ "learning_rate": 9.775528467238327e-06,
587
+ "loss": 0.10802021026611328,
588
+ "step": 680,
589
+ "token_acc": 0.9587758112094396
590
+ },
591
+ {
592
+ "epoch": 2.4468085106382977,
593
+ "grad_norm": 0.5855720639228821,
594
+ "learning_rate": 8.6675180218867e-06,
595
+ "loss": 0.10763558149337768,
596
+ "step": 690,
597
+ "token_acc": 0.9585245065909257
598
+ },
599
+ {
600
+ "epoch": 2.482269503546099,
601
+ "grad_norm": 0.5211033821105957,
602
+ "learning_rate": 7.62016869352028e-06,
603
+ "loss": 0.1050539493560791,
604
+ "step": 700,
605
+ "token_acc": 0.9588449213264681
606
+ },
607
+ {
608
+ "epoch": 2.5177304964539005,
609
+ "grad_norm": 0.5373179912567139,
610
+ "learning_rate": 6.6350176117061845e-06,
611
+ "loss": 0.10771543979644775,
612
+ "step": 710,
613
+ "token_acc": 0.9592036553524804
614
+ },
615
+ {
616
+ "epoch": 2.5531914893617023,
617
+ "grad_norm": 0.5263897180557251,
618
+ "learning_rate": 5.7135106215077335e-06,
619
+ "loss": 0.10759412050247193,
620
+ "step": 720,
621
+ "token_acc": 0.9581606835099556
622
+ },
623
+ {
624
+ "epoch": 2.5886524822695036,
625
+ "grad_norm": 0.46306130290031433,
626
+ "learning_rate": 4.857000161507353e-06,
627
+ "loss": 0.10637538433074951,
628
+ "step": 730,
629
+ "token_acc": 0.9585609205447527
630
+ },
631
+ {
632
+ "epoch": 2.624113475177305,
633
+ "grad_norm": 0.5812863707542419,
634
+ "learning_rate": 4.0667432789165075e-06,
635
+ "loss": 0.10533280372619629,
636
+ "step": 740,
637
+ "token_acc": 0.9585522263686098
638
+ },
639
+ {
640
+ "epoch": 2.6595744680851063,
641
+ "grad_norm": 0.6535531878471375,
642
+ "learning_rate": 3.3438997846855393e-06,
643
+ "loss": 0.10743522644042969,
644
+ "step": 750,
645
+ "token_acc": 0.9587139335943163
646
+ },
647
+ {
648
+ "epoch": 2.6950354609929077,
649
+ "grad_norm": 0.5804023742675781,
650
+ "learning_rate": 2.689530551321179e-06,
651
+ "loss": 0.10793532133102417,
652
+ "step": 760,
653
+ "token_acc": 0.9582205746061168
654
+ },
655
+ {
656
+ "epoch": 2.7304964539007095,
657
+ "grad_norm": 0.6999026536941528,
658
+ "learning_rate": 2.104595955909844e-06,
659
+ "loss": 0.10848350524902343,
660
+ "step": 770,
661
+ "token_acc": 0.957983193277311
662
+ },
663
+ {
664
+ "epoch": 2.7659574468085104,
665
+ "grad_norm": 0.5102624297142029,
666
+ "learning_rate": 1.5899544706318381e-06,
667
+ "loss": 0.1073201060295105,
668
+ "step": 780,
669
+ "token_acc": 0.958284841431481
670
+ },
671
+ {
672
+ "epoch": 2.801418439716312,
673
+ "grad_norm": 0.6007110476493835,
674
+ "learning_rate": 1.1463614028350389e-06,
675
+ "loss": 0.1058308243751526,
676
+ "step": 790,
677
+ "token_acc": 0.9592070831989102
678
+ },
679
+ {
680
+ "epoch": 2.8368794326241136,
681
+ "grad_norm": 0.5462249517440796,
682
+ "learning_rate": 7.744677865171967e-07,
683
+ "loss": 0.1059834361076355,
684
+ "step": 800,
685
+ "token_acc": 0.9579558070407908
686
+ },
687
+ {
688
+ "epoch": 2.8368794326241136,
689
+ "eval_loss": 0.11057131737470627,
690
+ "eval_runtime": 216.6008,
691
+ "eval_samples_per_second": 2.308,
692
+ "eval_steps_per_second": 2.308,
693
+ "eval_token_acc": 0.957229152683593,
694
+ "step": 800
695
+ },
696
+ {
697
+ "epoch": 2.872340425531915,
698
+ "grad_norm": 0.4730088412761688,
699
+ "learning_rate": 4.7481942684378113e-07,
700
+ "loss": 0.10582698583602905,
701
+ "step": 810,
702
+ "token_acc": 0.9595293603380446
703
+ },
704
+ {
705
+ "epoch": 2.9078014184397163,
706
+ "grad_norm": 0.47516319155693054,
707
+ "learning_rate": 2.478560991036383e-07,
708
+ "loss": 0.10610353946685791,
709
+ "step": 820,
710
+ "token_acc": 0.9585180379860886
711
+ },
712
+ {
713
+ "epoch": 2.9432624113475176,
714
+ "grad_norm": 0.459794819355011,
715
+ "learning_rate": 9.391090327811048e-08,
716
+ "loss": 0.10496950149536133,
717
+ "step": 830,
718
+ "token_acc": 0.9590602804589328
719
+ },
720
+ {
721
+ "epoch": 2.978723404255319,
722
+ "grad_norm": 0.5275819897651672,
723
+ "learning_rate": 1.3209775170852645e-08,
724
+ "loss": 0.10786118507385253,
725
+ "step": 840,
726
+ "token_acc": 0.9574242977015688
727
+ },
728
+ {
729
+ "epoch": 3.0,
730
+ "eval_loss": 0.110498808324337,
731
+ "eval_runtime": 200.6458,
732
+ "eval_samples_per_second": 2.492,
733
+ "eval_steps_per_second": 2.492,
734
+ "eval_token_acc": 0.9572985858772884,
735
+ "step": 846
736
+ }
737
+ ],
738
+ "logging_steps": 10,
739
+ "max_steps": 846,
740
+ "num_input_tokens_seen": 0,
741
+ "num_train_epochs": 3,
742
+ "save_steps": 200,
743
+ "stateful_callbacks": {
744
+ "TrainerControl": {
745
+ "args": {
746
+ "should_epoch_stop": false,
747
+ "should_evaluate": false,
748
+ "should_log": false,
749
+ "should_save": true,
750
+ "should_training_stop": true
751
+ },
752
+ "attributes": {}
753
+ }
754
+ },
755
+ "total_flos": 3.56432289067704e+16,
756
+ "train_batch_size": 16,
757
+ "trial_name": null,
758
+ "trial_params": null
759
+ }
lora/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f492cc2114f0a9b43b9b81711ed249c6970e112484dacb3a7811adaa65d58bfa
3
+ size 6737