geminimars commited on
Commit
b5dccc3
·
verified ·
1 Parent(s): 161c9da

Upload 13 files

Browse files
.mv ADDED
@@ -0,0 +1 @@
 
 
1
+ Revision:master,CreatedAt:1733296685
README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: OpenGVLab/InternVL2-8B
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.12.0
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "OpenGVLab/InternVL2-8B",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 64,
14
+ "lora_dropout": 0.1,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": [],
18
+ "peft_type": "LORA",
19
+ "r": 32,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": "^(language_model|mlp1)(?!.*(lm_head|output|emb|wte|shared)).*",
23
+ "task_type": "CAUSAL_LM",
24
+ "use_dora": false,
25
+ "use_rslora": false
26
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d39598d1bb26f37137fdf1a6f6662dc6086aee910b68b5a496b7a08c3791bfb
3
+ size 304135344
additional_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lora_dtype": null, "lorap_lr_ratio": null, "lorap_emb_lr": 1e-06}
configuration.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "framework": "Pytorch",
3
+ "task": "visual-question-answering",
4
+ "adapter_cfg": {
5
+ "model_id_or_path": "OpenGVLab/InternVL2-8B",
6
+ "model_revision": "master",
7
+ "sft_type": "lora",
8
+ "tuner_backend": "peft",
9
+ "template_type": "internvl2",
10
+ "dtype": "bf16",
11
+ "system": "你是由上海人工智能实验室联合商汤科技开发的书生多模态大模型,英文名叫InternVL, 是一个有用无害的人工智能助手。"
12
+ }
13
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_sample": true,
3
+ "eos_token_id": 92542,
4
+ "max_new_tokens": 2048,
5
+ "pad_token_id": 2,
6
+ "temperature": 0.3,
7
+ "top_k": 20,
8
+ "top_p": 0.7,
9
+ "transformers_version": "4.42.4"
10
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:977eafe730cc774275d4bede3ea42829e42a41c29d493f5c2872316523e38593
3
+ size 604247218
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5300550d983dfe14e9250d237ab24b102afbe30cfa064b715cbf67139cd43ee7
3
+ size 14168
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5ccfb671b3bcf0ec000da201187d640680707b6126e070560a47081cd755f42
3
+ size 1056
sft_args.json ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "internvl2-8b",
3
+ "model_id_or_path": "OpenGVLab/InternVL2-8B",
4
+ "model_revision": "master",
5
+ "full_determinism": false,
6
+ "sft_type": "lora",
7
+ "freeze_parameters": 0.0,
8
+ "additional_trainable_parameters": [],
9
+ "tuner_backend": "peft",
10
+ "template_type": "internvl2",
11
+ "output_dir": "/public1/home/stu52275901020/swift/model_output/高神经质/internvl2-8b/v36-20241204-000354",
12
+ "add_output_dir_suffix": true,
13
+ "ddp_backend": null,
14
+ "ddp_find_unused_parameters": null,
15
+ "ddp_broadcast_buffers": null,
16
+ "seed": 42,
17
+ "resume_from_checkpoint": null,
18
+ "resume_only_model": false,
19
+ "ignore_data_skip": false,
20
+ "dtype": "bf16",
21
+ "packing": false,
22
+ "train_backend": "transformers",
23
+ "tp": 1,
24
+ "pp": 1,
25
+ "min_lr": null,
26
+ "sequence_parallel": false,
27
+ "dataset": [
28
+ "/public1/home/stu52275901020/swift/dataset/updata_data/微调指令数据集数据/json/高神经质_output.json"
29
+ ],
30
+ "val_dataset": [],
31
+ "dataset_seed": 42,
32
+ "dataset_test_ratio": 0.01,
33
+ "use_loss_scale": false,
34
+ "loss_scale_config_path": "/public1/home/stu52275901020/swift/swift/llm/agent/default_loss_scale_config.json",
35
+ "system": "你是由上海人工智能实验室联合商汤科技开发的书生多模态大模型,英文名叫InternVL, 是一个有用无害的人工智能助手。",
36
+ "tools_prompt": "react_en",
37
+ "max_length": 4096,
38
+ "truncation_strategy": "delete",
39
+ "check_dataset_strategy": "none",
40
+ "streaming": false,
41
+ "streaming_val_size": 0,
42
+ "streaming_buffer_size": 16384,
43
+ "model_name": [
44
+ null,
45
+ null
46
+ ],
47
+ "model_author": [
48
+ null,
49
+ null
50
+ ],
51
+ "quant_method": null,
52
+ "quantization_bit": 0,
53
+ "hqq_axis": 0,
54
+ "hqq_dynamic_config_path": null,
55
+ "bnb_4bit_comp_dtype": "bf16",
56
+ "bnb_4bit_quant_type": "nf4",
57
+ "bnb_4bit_use_double_quant": true,
58
+ "bnb_4bit_quant_storage": null,
59
+ "rescale_image": -1,
60
+ "target_modules": "^(language_model|mlp1)(?!.*(lm_head|output|emb|wte|shared)).*",
61
+ "target_regex": null,
62
+ "modules_to_save": [],
63
+ "lora_rank": 32,
64
+ "lora_alpha": 64,
65
+ "lora_dropout": 0.1,
66
+ "lora_bias_trainable": "none",
67
+ "lora_dtype": null,
68
+ "lora_lr_ratio": null,
69
+ "use_rslora": false,
70
+ "use_dora": false,
71
+ "init_lora_weights": true,
72
+ "fourier_n_frequency": 2000,
73
+ "fourier_scaling": 300.0,
74
+ "rope_scaling": null,
75
+ "boft_block_size": 4,
76
+ "boft_block_num": 0,
77
+ "boft_n_butterfly_factor": 1,
78
+ "boft_dropout": 0.0,
79
+ "vera_rank": 256,
80
+ "vera_projection_prng_key": 0,
81
+ "vera_dropout": 0.0,
82
+ "vera_d_initial": 0.1,
83
+ "adapter_act": "gelu",
84
+ "adapter_length": 128,
85
+ "use_galore": false,
86
+ "galore_target_modules": null,
87
+ "galore_rank": 128,
88
+ "galore_update_proj_gap": 50,
89
+ "galore_scale": 1.0,
90
+ "galore_proj_type": "std",
91
+ "galore_optim_per_parameter": false,
92
+ "galore_with_embedding": false,
93
+ "galore_quantization": false,
94
+ "galore_proj_quant": false,
95
+ "galore_proj_bits": 4,
96
+ "galore_proj_group_size": 256,
97
+ "galore_cos_threshold": 0.4,
98
+ "galore_gamma_proj": 2,
99
+ "galore_queue_size": 5,
100
+ "adalora_target_r": 8,
101
+ "adalora_init_r": 12,
102
+ "adalora_tinit": 0,
103
+ "adalora_tfinal": 0,
104
+ "adalora_deltaT": 1,
105
+ "adalora_beta1": 0.85,
106
+ "adalora_beta2": 0.85,
107
+ "adalora_orth_reg_weight": 0.5,
108
+ "ia3_feedforward_modules": [],
109
+ "llamapro_num_new_blocks": 4,
110
+ "llamapro_num_groups": null,
111
+ "neftune_noise_alpha": null,
112
+ "neftune_backend": "transformers",
113
+ "lisa_activated_layers": 0,
114
+ "lisa_step_interval": 20,
115
+ "gradient_checkpointing": true,
116
+ "deepspeed": null,
117
+ "batch_size": 1,
118
+ "eval_batch_size": 1,
119
+ "auto_find_batch_size": false,
120
+ "num_train_epochs": 3,
121
+ "max_steps": -1,
122
+ "optim": "adamw_torch",
123
+ "adam_beta1": 0.9,
124
+ "adam_beta2": 0.95,
125
+ "adam_epsilon": 1e-08,
126
+ "learning_rate": 0.0001,
127
+ "weight_decay": 0.01,
128
+ "gradient_accumulation_steps": 16,
129
+ "max_grad_norm": 1,
130
+ "predict_with_generate": false,
131
+ "lr_scheduler_type": "cosine",
132
+ "lr_scheduler_kwargs": {},
133
+ "warmup_ratio": 0.05,
134
+ "warmup_steps": 0,
135
+ "eval_steps": 50,
136
+ "save_steps": 50,
137
+ "save_only_model": false,
138
+ "save_total_limit": 2,
139
+ "logging_steps": 5,
140
+ "acc_steps": 1,
141
+ "dataloader_num_workers": 1,
142
+ "dataloader_pin_memory": true,
143
+ "dataloader_drop_last": false,
144
+ "push_to_hub": false,
145
+ "hub_model_id": null,
146
+ "hub_token": null,
147
+ "hub_private_repo": false,
148
+ "push_hub_strategy": "push_best",
149
+ "test_oom_error": false,
150
+ "disable_tqdm": false,
151
+ "lazy_tokenize": true,
152
+ "preprocess_num_proc": 1,
153
+ "use_flash_attn": null,
154
+ "ignore_args_error": false,
155
+ "check_model_is_latest": true,
156
+ "logging_dir": "/public1/home/stu52275901020/swift/model_output/高神经质/internvl2-8b/v36-20241204-000354/runs",
157
+ "report_to": [
158
+ "tensorboard"
159
+ ],
160
+ "acc_strategy": "token",
161
+ "save_on_each_node": false,
162
+ "evaluation_strategy": "steps",
163
+ "save_strategy": "steps",
164
+ "save_safetensors": true,
165
+ "gpu_memory_fraction": null,
166
+ "include_num_input_tokens_seen": false,
167
+ "local_repo_path": null,
168
+ "custom_register_path": null,
169
+ "custom_dataset_info": null,
170
+ "device_map_config_path": null,
171
+ "device_max_memory": [],
172
+ "max_new_tokens": 2048,
173
+ "do_sample": true,
174
+ "temperature": 0.3,
175
+ "top_k": 20,
176
+ "top_p": 0.7,
177
+ "repetition_penalty": 1.0,
178
+ "num_beams": 1,
179
+ "fsdp": "",
180
+ "fsdp_config": null,
181
+ "sequence_parallel_size": 1,
182
+ "model_layer_cls_name": null,
183
+ "metric_warmup_step": 0,
184
+ "fsdp_num": 1,
185
+ "per_device_train_batch_size": null,
186
+ "per_device_eval_batch_size": null,
187
+ "eval_strategy": null,
188
+ "self_cognition_sample": 0,
189
+ "train_dataset_mix_ratio": 0.0,
190
+ "train_dataset_mix_ds": [
191
+ "ms-bench"
192
+ ],
193
+ "train_dataset_sample": -1,
194
+ "val_dataset_sample": null,
195
+ "safe_serialization": null,
196
+ "only_save_model": null,
197
+ "neftune_alpha": null,
198
+ "deepspeed_config_path": null,
199
+ "model_cache_dir": null,
200
+ "lora_dropout_p": null,
201
+ "lora_target_modules": [],
202
+ "lora_target_regex": null,
203
+ "lora_modules_to_save": [],
204
+ "boft_target_modules": [],
205
+ "boft_modules_to_save": [],
206
+ "vera_target_modules": [],
207
+ "vera_modules_to_save": [],
208
+ "ia3_target_modules": [],
209
+ "ia3_modules_to_save": [],
210
+ "custom_train_dataset_path": [],
211
+ "custom_val_dataset_path": [],
212
+ "use_self_cognition": false,
213
+ "is_multimodal": true,
214
+ "is_vision": true,
215
+ "lora_use_embedding": false,
216
+ "lora_use_all": false,
217
+ "lora_m2s_use_embedding": false,
218
+ "lora_m2s_use_ln": false,
219
+ "torch_dtype": "torch.bfloat16",
220
+ "fp16": false,
221
+ "bf16": true,
222
+ "rank": -1,
223
+ "local_rank": -1,
224
+ "world_size": 1,
225
+ "local_world_size": 1,
226
+ "bnb_4bit_compute_dtype": "torch.bfloat16",
227
+ "load_in_4bit": false,
228
+ "load_in_8bit": false,
229
+ "train_sampler_random": true,
230
+ "training_args": "Seq2SeqTrainingArguments(output_dir='/public1/home/stu52275901020/swift/model_output/高神经质/internvl2-8b/v36-20241204-000354', overwrite_output_dir=False, do_train=False, do_eval=True, do_predict=False, eval_strategy=<IntervalStrategy.STEPS: 'steps'>, prediction_loss_only=False, per_device_train_batch_size=1, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=16, eval_accumulation_steps=None, eval_delay=0, learning_rate=0.0001, weight_decay=0.01, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, max_grad_norm=1, num_train_epochs=3, max_steps=-1, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs={}, warmup_ratio=0.05, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/public1/home/stu52275901020/swift/model_output/高神经质/internvl2-8b/v36-20241204-000354/runs', logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_first_step=True, logging_steps=5, logging_nan_inf_filter=True, save_strategy=<IntervalStrategy.STEPS: 'steps'>, save_steps=50, save_total_limit=2, save_safetensors=True, save_on_each_node=False, save_only_model=False, restore_callback_states_from_checkpoint=False, no_cuda=False, use_cpu=False, use_mps_device=False, seed=42, data_seed=None, jit_mode_eval=False, use_ipex=False, bf16=True, fp16=False, fp16_opt_level='O1', half_precision_backend='auto', bf16_full_eval=False, fp16_full_eval=False, tf32=None, local_rank=0, ddp_backend=None, tpu_num_cores=None, tpu_metrics_debug=False, debug=[], dataloader_drop_last=False, eval_steps=50, dataloader_num_workers=1, dataloader_prefetch_factor=None, past_index=-1, run_name='/public1/home/stu52275901020/swift/model_output/高神经质/internvl2-8b/v36-20241204-000354', disable_tqdm=False, remove_unused_columns=False, label_names=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, fsdp=[], fsdp_min_num_params=0, fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, fsdp_transformer_layer_cls_to_wrap=None, 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), deepspeed=None, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH: 'adamw_torch'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, dataloader_pin_memory=True, dataloader_persistent_workers=False, skip_memory_metrics=True, use_legacy_prediction_loop=False, push_to_hub=False, resume_from_checkpoint=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_token=None, hub_private_repo=False, hub_always_push=False, gradient_checkpointing=True, gradient_checkpointing_kwargs=None, include_inputs_for_metrics=False, eval_do_concat_batches=True, fp16_backend='auto', evaluation_strategy=None, push_to_hub_model_id=None, push_to_hub_organization=None, push_to_hub_token=None, mp_parameters='', auto_find_batch_size=False, full_determinism=False, torchdynamo=None, ray_scope='last', ddp_timeout=1800, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, dispatch_batches=None, split_batches=None, include_tokens_per_second=False, include_num_input_tokens_seen=False, neftune_noise_alpha=None, optim_target_modules=None, batch_eval_metrics=False, eval_on_start=False, sortish_sampler=True, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=GenerationConfig {\n \"do_sample\": true,\n \"eos_token_id\": 92542,\n \"max_new_tokens\": 2048,\n \"pad_token_id\": 2,\n \"temperature\": 0.3,\n \"top_k\": 20,\n \"top_p\": 0.7\n}\n, train_sampler_random=True, push_hub_strategy='push_best', acc_strategy='token', additional_saved_files=[], metric_warmup_step=0, train_dataset_sample=-1)"
231
+ }
trainer_state.json ADDED
@@ -0,0 +1,370 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.84548545,
3
+ "best_model_checkpoint": "/public1/home/stu52275901020/swift/model_output/\u9ad8\u795e\u7ecf\u8d28/internvl2-8b/v36-20241204-000354/checkpoint-150",
4
+ "epoch": 1.702127659574468,
5
+ "eval_steps": 50,
6
+ "global_step": 150,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "acc": 0.4818837,
13
+ "epoch": 0.011347517730496455,
14
+ "grad_norm": 1.6654787063598633,
15
+ "learning_rate": 7.142857142857143e-06,
16
+ "loss": 2.21617293,
17
+ "memory(GiB)": 21.82,
18
+ "step": 1,
19
+ "train_speed(iter/s)": 0.047704
20
+ },
21
+ {
22
+ "acc": 0.50631422,
23
+ "epoch": 0.05673758865248227,
24
+ "grad_norm": 1.5600533485412598,
25
+ "learning_rate": 3.571428571428572e-05,
26
+ "loss": 2.20940375,
27
+ "memory(GiB)": 23.14,
28
+ "step": 5,
29
+ "train_speed(iter/s)": 0.099488
30
+ },
31
+ {
32
+ "acc": 0.51391821,
33
+ "epoch": 0.11347517730496454,
34
+ "grad_norm": 1.7131439447402954,
35
+ "learning_rate": 7.142857142857143e-05,
36
+ "loss": 2.04298916,
37
+ "memory(GiB)": 23.14,
38
+ "step": 10,
39
+ "train_speed(iter/s)": 0.114765
40
+ },
41
+ {
42
+ "acc": 0.55212674,
43
+ "epoch": 0.1702127659574468,
44
+ "grad_norm": 1.686623215675354,
45
+ "learning_rate": 9.999605221019081e-05,
46
+ "loss": 1.88184052,
47
+ "memory(GiB)": 24.5,
48
+ "step": 15,
49
+ "train_speed(iter/s)": 0.12107
50
+ },
51
+ {
52
+ "acc": 0.53304815,
53
+ "epoch": 0.22695035460992907,
54
+ "grad_norm": 1.0942801237106323,
55
+ "learning_rate": 9.98579450130307e-05,
56
+ "loss": 1.94336758,
57
+ "memory(GiB)": 24.5,
58
+ "step": 20,
59
+ "train_speed(iter/s)": 0.124439
60
+ },
61
+ {
62
+ "acc": 0.56079154,
63
+ "epoch": 0.28368794326241137,
64
+ "grad_norm": 0.9606024622917175,
65
+ "learning_rate": 9.952307128483256e-05,
66
+ "loss": 1.77457695,
67
+ "memory(GiB)": 24.5,
68
+ "step": 25,
69
+ "train_speed(iter/s)": 0.126437
70
+ },
71
+ {
72
+ "acc": 0.55825844,
73
+ "epoch": 0.3404255319148936,
74
+ "grad_norm": 0.922258198261261,
75
+ "learning_rate": 9.899275261921234e-05,
76
+ "loss": 1.84706001,
77
+ "memory(GiB)": 24.5,
78
+ "step": 30,
79
+ "train_speed(iter/s)": 0.127904
80
+ },
81
+ {
82
+ "acc": 0.56207647,
83
+ "epoch": 0.3971631205673759,
84
+ "grad_norm": 1.0378409624099731,
85
+ "learning_rate": 9.82690819416637e-05,
86
+ "loss": 1.753508,
87
+ "memory(GiB)": 24.5,
88
+ "step": 35,
89
+ "train_speed(iter/s)": 0.128886
90
+ },
91
+ {
92
+ "acc": 0.57356367,
93
+ "epoch": 0.45390070921985815,
94
+ "grad_norm": 1.1508853435516357,
95
+ "learning_rate": 9.735491524973722e-05,
96
+ "loss": 1.75303555,
97
+ "memory(GiB)": 24.5,
98
+ "step": 40,
99
+ "train_speed(iter/s)": 0.129863
100
+ },
101
+ {
102
+ "acc": 0.55143838,
103
+ "epoch": 0.5106382978723404,
104
+ "grad_norm": 1.2086931467056274,
105
+ "learning_rate": 9.62538603417229e-05,
106
+ "loss": 1.85968819,
107
+ "memory(GiB)": 25.91,
108
+ "step": 45,
109
+ "train_speed(iter/s)": 0.130489
110
+ },
111
+ {
112
+ "acc": 0.55636163,
113
+ "epoch": 0.5673758865248227,
114
+ "grad_norm": 1.0430564880371094,
115
+ "learning_rate": 9.497026257831855e-05,
116
+ "loss": 1.7241251,
117
+ "memory(GiB)": 25.91,
118
+ "step": 50,
119
+ "train_speed(iter/s)": 0.131006
120
+ },
121
+ {
122
+ "epoch": 0.5673758865248227,
123
+ "eval_acc": 0.5656192236598891,
124
+ "eval_loss": 1.916869044303894,
125
+ "eval_runtime": 2.4464,
126
+ "eval_samples_per_second": 5.723,
127
+ "eval_steps_per_second": 5.723,
128
+ "step": 50
129
+ },
130
+ {
131
+ "acc": 0.54153261,
132
+ "epoch": 0.624113475177305,
133
+ "grad_norm": 1.2167576551437378,
134
+ "learning_rate": 9.35091877334763e-05,
135
+ "loss": 1.82617283,
136
+ "memory(GiB)": 26.3,
137
+ "step": 55,
138
+ "train_speed(iter/s)": 0.129776
139
+ },
140
+ {
141
+ "acc": 0.56068554,
142
+ "epoch": 0.6808510638297872,
143
+ "grad_norm": 1.3103394508361816,
144
+ "learning_rate": 9.18764020021071e-05,
145
+ "loss": 1.67511196,
146
+ "memory(GiB)": 26.3,
147
+ "step": 60,
148
+ "train_speed(iter/s)": 0.130279
149
+ },
150
+ {
151
+ "acc": 0.58310304,
152
+ "epoch": 0.7375886524822695,
153
+ "grad_norm": 1.0143637657165527,
154
+ "learning_rate": 9.007834924354383e-05,
155
+ "loss": 1.67270927,
156
+ "memory(GiB)": 26.3,
157
+ "step": 65,
158
+ "train_speed(iter/s)": 0.130674
159
+ },
160
+ {
161
+ "acc": 0.57467747,
162
+ "epoch": 0.7943262411347518,
163
+ "grad_norm": 1.3850369453430176,
164
+ "learning_rate": 8.81221255505724e-05,
165
+ "loss": 1.70278339,
166
+ "memory(GiB)": 26.3,
167
+ "step": 70,
168
+ "train_speed(iter/s)": 0.131012
169
+ },
170
+ {
171
+ "acc": 0.5916081,
172
+ "epoch": 0.851063829787234,
173
+ "grad_norm": 1.0732088088989258,
174
+ "learning_rate": 8.601545124439535e-05,
175
+ "loss": 1.63483982,
176
+ "memory(GiB)": 26.3,
177
+ "step": 75,
178
+ "train_speed(iter/s)": 0.131314
179
+ },
180
+ {
181
+ "acc": 0.56617246,
182
+ "epoch": 0.9078014184397163,
183
+ "grad_norm": 1.084026575088501,
184
+ "learning_rate": 8.376664040605122e-05,
185
+ "loss": 1.73948345,
186
+ "memory(GiB)": 26.3,
187
+ "step": 80,
188
+ "train_speed(iter/s)": 0.131575
189
+ },
190
+ {
191
+ "acc": 0.54482946,
192
+ "epoch": 0.9645390070921985,
193
+ "grad_norm": 1.0596380233764648,
194
+ "learning_rate": 8.138456806453503e-05,
195
+ "loss": 1.84302387,
196
+ "memory(GiB)": 26.3,
197
+ "step": 85,
198
+ "train_speed(iter/s)": 0.131746
199
+ },
200
+ {
201
+ "acc": 0.60235672,
202
+ "epoch": 1.0212765957446808,
203
+ "grad_norm": 0.9688817858695984,
204
+ "learning_rate": 7.887863517111338e-05,
205
+ "loss": 1.53876371,
206
+ "memory(GiB)": 26.3,
207
+ "step": 90,
208
+ "train_speed(iter/s)": 0.131937
209
+ },
210
+ {
211
+ "acc": 0.61323328,
212
+ "epoch": 1.0780141843971631,
213
+ "grad_norm": 1.1411057710647583,
214
+ "learning_rate": 7.62587314980648e-05,
215
+ "loss": 1.45239391,
216
+ "memory(GiB)": 26.3,
217
+ "step": 95,
218
+ "train_speed(iter/s)": 0.132127
219
+ },
220
+ {
221
+ "acc": 0.59773045,
222
+ "epoch": 1.1347517730496455,
223
+ "grad_norm": 1.1101690530776978,
224
+ "learning_rate": 7.353519660826665e-05,
225
+ "loss": 1.54209366,
226
+ "memory(GiB)": 26.3,
227
+ "step": 100,
228
+ "train_speed(iter/s)": 0.132289
229
+ },
230
+ {
231
+ "epoch": 1.1347517730496455,
232
+ "eval_acc": 0.5360443622920518,
233
+ "eval_loss": 1.8874558210372925,
234
+ "eval_runtime": 2.3721,
235
+ "eval_samples_per_second": 5.902,
236
+ "eval_steps_per_second": 5.902,
237
+ "step": 100
238
+ },
239
+ {
240
+ "acc": 0.61074128,
241
+ "epoch": 1.1914893617021276,
242
+ "grad_norm": 1.1275923252105713,
243
+ "learning_rate": 7.071877904966423e-05,
244
+ "loss": 1.45454111,
245
+ "memory(GiB)": 26.3,
246
+ "step": 105,
247
+ "train_speed(iter/s)": 0.131567
248
+ },
249
+ {
250
+ "acc": 0.60273228,
251
+ "epoch": 1.24822695035461,
252
+ "grad_norm": 1.3083913326263428,
253
+ "learning_rate": 6.782059393566253e-05,
254
+ "loss": 1.48250647,
255
+ "memory(GiB)": 26.3,
256
+ "step": 110,
257
+ "train_speed(iter/s)": 0.13177
258
+ },
259
+ {
260
+ "acc": 0.62370677,
261
+ "epoch": 1.3049645390070923,
262
+ "grad_norm": 1.0839005708694458,
263
+ "learning_rate": 6.485207907885175e-05,
264
+ "loss": 1.46015568,
265
+ "memory(GiB)": 26.3,
266
+ "step": 115,
267
+ "train_speed(iter/s)": 0.131889
268
+ },
269
+ {
270
+ "acc": 0.61979499,
271
+ "epoch": 1.3617021276595744,
272
+ "grad_norm": 1.2509405612945557,
273
+ "learning_rate": 6.182494985118624e-05,
274
+ "loss": 1.45815115,
275
+ "memory(GiB)": 26.3,
276
+ "step": 120,
277
+ "train_speed(iter/s)": 0.132091
278
+ },
279
+ {
280
+ "acc": 0.61155128,
281
+ "epoch": 1.4184397163120568,
282
+ "grad_norm": 1.4081703424453735,
283
+ "learning_rate": 5.875115294876381e-05,
284
+ "loss": 1.44713774,
285
+ "memory(GiB)": 26.3,
286
+ "step": 125,
287
+ "train_speed(iter/s)": 0.132225
288
+ },
289
+ {
290
+ "acc": 0.61849551,
291
+ "epoch": 1.475177304964539,
292
+ "grad_norm": 1.3654893636703491,
293
+ "learning_rate": 5.564281924367408e-05,
294
+ "loss": 1.39691505,
295
+ "memory(GiB)": 26.3,
296
+ "step": 130,
297
+ "train_speed(iter/s)": 0.132372
298
+ },
299
+ {
300
+ "acc": 0.62567844,
301
+ "epoch": 1.5319148936170213,
302
+ "grad_norm": 1.5169520378112793,
303
+ "learning_rate": 5.2512215908988484e-05,
304
+ "loss": 1.41729832,
305
+ "memory(GiB)": 26.3,
306
+ "step": 135,
307
+ "train_speed(iter/s)": 0.132474
308
+ },
309
+ {
310
+ "acc": 0.63134012,
311
+ "epoch": 1.5886524822695036,
312
+ "grad_norm": 1.4038567543029785,
313
+ "learning_rate": 4.9371698005832365e-05,
314
+ "loss": 1.37339115,
315
+ "memory(GiB)": 26.3,
316
+ "step": 140,
317
+ "train_speed(iter/s)": 0.132568
318
+ },
319
+ {
320
+ "acc": 0.61558661,
321
+ "epoch": 1.645390070921986,
322
+ "grad_norm": 1.513599157333374,
323
+ "learning_rate": 4.623365972360337e-05,
324
+ "loss": 1.44473677,
325
+ "memory(GiB)": 26.3,
326
+ "step": 145,
327
+ "train_speed(iter/s)": 0.132637
328
+ },
329
+ {
330
+ "acc": 0.62634563,
331
+ "epoch": 1.702127659574468,
332
+ "grad_norm": 1.3617616891860962,
333
+ "learning_rate": 4.31104854657681e-05,
334
+ "loss": 1.38092842,
335
+ "memory(GiB)": 26.3,
336
+ "step": 150,
337
+ "train_speed(iter/s)": 0.13276
338
+ },
339
+ {
340
+ "epoch": 1.702127659574468,
341
+ "eval_acc": 0.5489833641404805,
342
+ "eval_loss": 1.8454854488372803,
343
+ "eval_runtime": 2.5064,
344
+ "eval_samples_per_second": 5.586,
345
+ "eval_steps_per_second": 5.586,
346
+ "step": 150
347
+ }
348
+ ],
349
+ "logging_steps": 5,
350
+ "max_steps": 264,
351
+ "num_input_tokens_seen": 0,
352
+ "num_train_epochs": 3,
353
+ "save_steps": 50,
354
+ "stateful_callbacks": {
355
+ "TrainerControl": {
356
+ "args": {
357
+ "should_epoch_stop": false,
358
+ "should_evaluate": false,
359
+ "should_log": false,
360
+ "should_save": true,
361
+ "should_training_stop": false
362
+ },
363
+ "attributes": {}
364
+ }
365
+ },
366
+ "total_flos": 0.0,
367
+ "train_batch_size": 1,
368
+ "trial_name": null,
369
+ "trial_params": null
370
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:858706d8f3c54ad15f422bdde72ec7ac07e7a6a1854048f372d99d1dcec8c89b
3
+ size 7264