MaoXun commited on
Commit
060d659
1 Parent(s): 9ac4ba1

Upload 6 files

Browse files
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+ ### Framework versions
7
+
8
+
9
+ - PEFT 0.4.0
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "lmsys/vicuna-7b-v1.3",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 16,
11
+ "lora_dropout": 0.05,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 64,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "down_proj",
18
+ "gate_proj",
19
+ "v_proj",
20
+ "up_proj",
21
+ "q_proj",
22
+ "k_proj",
23
+ "o_proj"
24
+ ],
25
+ "task_type": "CAUSAL_LM"
26
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84e1b6f126664bd1305bd6b26d21ffcfb73e602ffafcb59c9bc00827c811cea0
3
+ size 319970957
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "lmsys/vicuna-7b-v1.3",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "freeze_mm_mlp_adapter": false,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "image_aspect_ratio": "square",
12
+ "image_grid_pinpoints": null,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 11008,
15
+ "max_position_embeddings": 2048,
16
+ "mm_hidden_size": 1024,
17
+ "mm_use_im_patch_token": false,
18
+ "mm_use_im_start_end": false,
19
+ "mm_vision_select_feature": "patch",
20
+ "mm_vision_select_layer": -2,
21
+ "mm_vision_tower": "openai/clip-vit-large-patch14",
22
+ "model_type": "llava",
23
+ "num_attention_heads": 32,
24
+ "num_hidden_layers": 32,
25
+ "num_key_value_heads": 32,
26
+ "pad_token_id": 0,
27
+ "pretraining_tp": 1,
28
+ "rms_norm_eps": 1e-06,
29
+ "rope_scaling": null,
30
+ "tie_word_embeddings": false,
31
+ "torch_dtype": "float16",
32
+ "transformers_version": "4.31.0",
33
+ "tune_mm_mlp_adapter": false,
34
+ "use_cache": true,
35
+ "use_mm_proj": true,
36
+ "vocab_size": 32000
37
+ }
non_lora_trainables.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b28a56b9078fdccddbcffd46e106ae6ec4e5bf010f3b15df41a62c66902776d7
3
+ size 8397975
trainer_state.json ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "global_step": 30,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.03,
12
+ "learning_rate": 2e-05,
13
+ "loss": 1.043,
14
+ "step": 1
15
+ },
16
+ {
17
+ "epoch": 0.07,
18
+ "learning_rate": 1.9941379571543597e-05,
19
+ "loss": 1.0156,
20
+ "step": 2
21
+ },
22
+ {
23
+ "epoch": 0.1,
24
+ "learning_rate": 1.976620555710087e-05,
25
+ "loss": 1.0234,
26
+ "step": 3
27
+ },
28
+ {
29
+ "epoch": 0.13,
30
+ "learning_rate": 1.9476531711828027e-05,
31
+ "loss": 0.959,
32
+ "step": 4
33
+ },
34
+ {
35
+ "epoch": 0.17,
36
+ "learning_rate": 1.9075754196709574e-05,
37
+ "loss": 0.8301,
38
+ "step": 5
39
+ },
40
+ {
41
+ "epoch": 0.2,
42
+ "learning_rate": 1.8568571761675893e-05,
43
+ "loss": 0.9688,
44
+ "step": 6
45
+ },
46
+ {
47
+ "epoch": 0.23,
48
+ "learning_rate": 1.796093065705644e-05,
49
+ "loss": 0.9766,
50
+ "step": 7
51
+ },
52
+ {
53
+ "epoch": 0.27,
54
+ "learning_rate": 1.725995491923131e-05,
55
+ "loss": 0.9648,
56
+ "step": 8
57
+ },
58
+ {
59
+ "epoch": 0.3,
60
+ "learning_rate": 1.647386284781828e-05,
61
+ "loss": 0.8242,
62
+ "step": 9
63
+ },
64
+ {
65
+ "epoch": 0.33,
66
+ "learning_rate": 1.5611870653623826e-05,
67
+ "loss": 0.9551,
68
+ "step": 10
69
+ },
70
+ {
71
+ "epoch": 0.37,
72
+ "learning_rate": 1.4684084406997903e-05,
73
+ "loss": 0.9336,
74
+ "step": 11
75
+ },
76
+ {
77
+ "epoch": 0.4,
78
+ "learning_rate": 1.3701381553399147e-05,
79
+ "loss": 0.9395,
80
+ "step": 12
81
+ },
82
+ {
83
+ "epoch": 0.43,
84
+ "learning_rate": 1.2675283385292212e-05,
85
+ "loss": 0.9629,
86
+ "step": 13
87
+ },
88
+ {
89
+ "epoch": 0.47,
90
+ "learning_rate": 1.161781996552765e-05,
91
+ "loss": 0.9258,
92
+ "step": 14
93
+ },
94
+ {
95
+ "epoch": 0.5,
96
+ "learning_rate": 1.0541389085854177e-05,
97
+ "loss": 0.9297,
98
+ "step": 15
99
+ },
100
+ {
101
+ "epoch": 0.53,
102
+ "learning_rate": 9.458610914145826e-06,
103
+ "loss": 0.9062,
104
+ "step": 16
105
+ },
106
+ {
107
+ "epoch": 0.57,
108
+ "learning_rate": 8.382180034472353e-06,
109
+ "loss": 0.9121,
110
+ "step": 17
111
+ },
112
+ {
113
+ "epoch": 0.6,
114
+ "learning_rate": 7.324716614707794e-06,
115
+ "loss": 0.9453,
116
+ "step": 18
117
+ },
118
+ {
119
+ "epoch": 0.63,
120
+ "learning_rate": 6.298618446600856e-06,
121
+ "loss": 0.9375,
122
+ "step": 19
123
+ },
124
+ {
125
+ "epoch": 0.67,
126
+ "learning_rate": 5.3159155930021e-06,
127
+ "loss": 0.9238,
128
+ "step": 20
129
+ },
130
+ {
131
+ "epoch": 0.7,
132
+ "learning_rate": 4.388129346376177e-06,
133
+ "loss": 0.877,
134
+ "step": 21
135
+ },
136
+ {
137
+ "epoch": 0.73,
138
+ "learning_rate": 3.5261371521817247e-06,
139
+ "loss": 0.8945,
140
+ "step": 22
141
+ },
142
+ {
143
+ "epoch": 0.77,
144
+ "learning_rate": 2.740045080768694e-06,
145
+ "loss": 0.9004,
146
+ "step": 23
147
+ },
148
+ {
149
+ "epoch": 0.8,
150
+ "learning_rate": 2.0390693429435626e-06,
151
+ "loss": 0.9102,
152
+ "step": 24
153
+ },
154
+ {
155
+ "epoch": 0.83,
156
+ "learning_rate": 1.4314282383241097e-06,
157
+ "loss": 0.877,
158
+ "step": 25
159
+ },
160
+ {
161
+ "epoch": 0.87,
162
+ "learning_rate": 9.242458032904311e-07,
163
+ "loss": 0.8867,
164
+ "step": 26
165
+ },
166
+ {
167
+ "epoch": 0.9,
168
+ "learning_rate": 5.234682881719766e-07,
169
+ "loss": 0.8848,
170
+ "step": 27
171
+ },
172
+ {
173
+ "epoch": 0.93,
174
+ "learning_rate": 2.3379444289913344e-07,
175
+ "loss": 0.8828,
176
+ "step": 28
177
+ },
178
+ {
179
+ "epoch": 0.97,
180
+ "learning_rate": 5.862042845640403e-08,
181
+ "loss": 0.9258,
182
+ "step": 29
183
+ },
184
+ {
185
+ "epoch": 1.0,
186
+ "learning_rate": 0.0,
187
+ "loss": 0.9492,
188
+ "step": 30
189
+ },
190
+ {
191
+ "epoch": 1.0,
192
+ "step": 30,
193
+ "total_flos": 9782320777134080.0,
194
+ "train_loss": 0.9288411458333333,
195
+ "train_runtime": 387.3517,
196
+ "train_samples_per_second": 2.478,
197
+ "train_steps_per_second": 0.077
198
+ }
199
+ ],
200
+ "max_steps": 30,
201
+ "num_train_epochs": 1,
202
+ "total_flos": 9782320777134080.0,
203
+ "trial_name": null,
204
+ "trial_params": null
205
+ }