yfliu commited on
Commit
015a4d5
·
1 Parent(s): a64a008

first init

Browse files
README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: /home/yfliu/data/code/rl_with_clip/cache/model/vicuna-7b-v1.5
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.11.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "vicuna-7b-v1.5",
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": 256,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 128,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "gate_proj",
24
+ "v_proj",
25
+ "up_proj",
26
+ "down_proj",
27
+ "k_proj",
28
+ "q_proj",
29
+ "o_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88d850a919a746f5a6b9e0bd50f7552c79800b3a83e339fc7d300248bcccc57f
3
+ size 639692768
clip/all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.9,
4
+ "eval_loss": 0.9871606230735779,
5
+ "eval_runtime": 78.3792,
6
+ "eval_samples_per_second": 12.631,
7
+ "eval_steps_per_second": 0.051,
8
+ "total_flos": 8.059090729915764e+17,
9
+ "train_loss": 0.06507109994963398,
10
+ "train_runtime": 16858.8681,
11
+ "train_samples_per_second": 9.491,
12
+ "train_steps_per_second": 0.678
13
+ }
clip/config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "../cache/model/clip-vit-large-patch14-336",
3
+ "architectures": [
4
+ "CLIPModel"
5
+ ],
6
+ "initializer_factor": 1.0,
7
+ "logit_scale_init_value": 2.6592,
8
+ "model_type": "clip",
9
+ "projection_dim": 768,
10
+ "text_config": {
11
+ "dropout": 0.0,
12
+ "hidden_size": 768,
13
+ "intermediate_size": 3072,
14
+ "model_type": "clip_text_model",
15
+ "num_attention_heads": 12,
16
+ "projection_dim": 768
17
+ },
18
+ "torch_dtype": "float32",
19
+ "transformers_version": "4.41.2",
20
+ "vision_config": {
21
+ "dropout": 0.0,
22
+ "hidden_size": 1024,
23
+ "image_size": 336,
24
+ "intermediate_size": 4096,
25
+ "model_type": "clip_vision_model",
26
+ "num_attention_heads": 16,
27
+ "num_hidden_layers": 24,
28
+ "patch_size": 14,
29
+ "projection_dim": 768
30
+ }
31
+ }
clip/eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.9,
4
+ "eval_loss": 0.9871606230735779,
5
+ "eval_runtime": 78.3792,
6
+ "eval_samples_per_second": 12.631,
7
+ "eval_steps_per_second": 0.051
8
+ }
clip/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
clip/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcef3e68ead1045defeb330dcd34ad5d1f47716de003c4048708f265670e7ae5
3
+ size 1711848436
clip/preprocessor_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_center_crop",
8
+ "crop_size",
9
+ "do_rescale",
10
+ "rescale_factor",
11
+ "do_normalize",
12
+ "image_mean",
13
+ "image_std",
14
+ "do_convert_rgb",
15
+ "return_tensors",
16
+ "data_format",
17
+ "input_data_format"
18
+ ],
19
+ "crop_size": {
20
+ "height": 336,
21
+ "width": 336
22
+ },
23
+ "do_center_crop": true,
24
+ "do_convert_rgb": true,
25
+ "do_normalize": true,
26
+ "do_rescale": true,
27
+ "do_resize": true,
28
+ "image_mean": [
29
+ 0.48145466,
30
+ 0.4578275,
31
+ 0.40821073
32
+ ],
33
+ "image_processor_type": "CLIPImageProcessor",
34
+ "image_std": [
35
+ 0.26862954,
36
+ 0.26130258,
37
+ 0.27577711
38
+ ],
39
+ "resample": 3,
40
+ "rescale_factor": 0.00392156862745098,
41
+ "size": {
42
+ "shortest_edge": 336
43
+ }
44
+ }
clip/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
clip/tokenizer_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "49406": {
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49407": {
13
+ "content": "<|endoftext|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ }
20
+ },
21
+ "bos_token": "<|startoftext|>",
22
+ "clean_up_tokenization_spaces": true,
23
+ "do_lower_case": true,
24
+ "eos_token": "<|endoftext|>",
25
+ "errors": "replace",
26
+ "model_max_length": 77,
27
+ "pad_token": "<|endoftext|>",
28
+ "tokenizer_class": "CLIPTokenizer",
29
+ "unk_token": "<|endoftext|>",
30
+ "use_fast": true
31
+ }
clip/train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "total_flos": 8.059090729915764e+17,
4
+ "train_loss": 0.06507109994963398,
5
+ "train_runtime": 16858.8681,
6
+ "train_samples_per_second": 9.491,
7
+ "train_steps_per_second": 0.678
8
+ }
clip/trainer_state.json ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9871606230735779,
3
+ "best_model_checkpoint": "../output/clip_finetune_mix_contrastive_0.1_0.1/checkpoint-1143",
4
+ "epoch": 10.0,
5
+ "eval_steps": 10.0,
6
+ "global_step": 11430,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.4374453193350831,
13
+ "grad_norm": 29.616256713867188,
14
+ "learning_rate": 9.604569420035148e-07,
15
+ "loss": 0.4374,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.8748906386701663,
20
+ "grad_norm": 73.90093994140625,
21
+ "learning_rate": 9.165202108963093e-07,
22
+ "loss": 0.2592,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.9,
28
+ "eval_loss": 0.9871606230735779,
29
+ "eval_runtime": 63.6759,
30
+ "eval_samples_per_second": 15.547,
31
+ "eval_steps_per_second": 0.063,
32
+ "step": 1143
33
+ },
34
+ {
35
+ "epoch": 1.3123359580052494,
36
+ "grad_norm": 44.70602798461914,
37
+ "learning_rate": 8.725834797891036e-07,
38
+ "loss": 0.155,
39
+ "step": 1500
40
+ },
41
+ {
42
+ "epoch": 1.7497812773403325,
43
+ "grad_norm": 27.63109588623047,
44
+ "learning_rate": 8.28646748681898e-07,
45
+ "loss": 0.1169,
46
+ "step": 2000
47
+ },
48
+ {
49
+ "epoch": 2.0,
50
+ "eval_accuracy": 0.9090909090909091,
51
+ "eval_loss": 1.0009111166000366,
52
+ "eval_runtime": 51.9069,
53
+ "eval_samples_per_second": 19.073,
54
+ "eval_steps_per_second": 0.077,
55
+ "step": 2286
56
+ },
57
+ {
58
+ "epoch": 2.1872265966754156,
59
+ "grad_norm": 12.88677978515625,
60
+ "learning_rate": 7.847100175746925e-07,
61
+ "loss": 0.093,
62
+ "step": 2500
63
+ },
64
+ {
65
+ "epoch": 2.6246719160104988,
66
+ "grad_norm": 12.44239330291748,
67
+ "learning_rate": 7.407732864674868e-07,
68
+ "loss": 0.0533,
69
+ "step": 3000
70
+ },
71
+ {
72
+ "epoch": 3.0,
73
+ "eval_accuracy": 0.9101010101010101,
74
+ "eval_loss": 1.0933490991592407,
75
+ "eval_runtime": 50.0747,
76
+ "eval_samples_per_second": 19.77,
77
+ "eval_steps_per_second": 0.08,
78
+ "step": 3429
79
+ },
80
+ {
81
+ "epoch": 3.062117235345582,
82
+ "grad_norm": 1.8053172826766968,
83
+ "learning_rate": 6.968365553602812e-07,
84
+ "loss": 0.0488,
85
+ "step": 3500
86
+ },
87
+ {
88
+ "epoch": 3.499562554680665,
89
+ "grad_norm": 9.218230247497559,
90
+ "learning_rate": 6.528998242530756e-07,
91
+ "loss": 0.0385,
92
+ "step": 4000
93
+ },
94
+ {
95
+ "epoch": 3.937007874015748,
96
+ "grad_norm": 4.457502365112305,
97
+ "learning_rate": 6.089630931458699e-07,
98
+ "loss": 0.0395,
99
+ "step": 4500
100
+ },
101
+ {
102
+ "epoch": 4.0,
103
+ "eval_accuracy": 0.9111111111111111,
104
+ "eval_loss": 1.1654703617095947,
105
+ "eval_runtime": 64.5794,
106
+ "eval_samples_per_second": 15.33,
107
+ "eval_steps_per_second": 0.062,
108
+ "step": 4572
109
+ },
110
+ {
111
+ "epoch": 4.374453193350831,
112
+ "grad_norm": 1.6728917360305786,
113
+ "learning_rate": 5.650263620386643e-07,
114
+ "loss": 0.0248,
115
+ "step": 5000
116
+ },
117
+ {
118
+ "epoch": 4.811898512685914,
119
+ "grad_norm": 0.3894324004650116,
120
+ "learning_rate": 5.210896309314587e-07,
121
+ "loss": 0.0246,
122
+ "step": 5500
123
+ },
124
+ {
125
+ "epoch": 5.0,
126
+ "eval_accuracy": 0.9171717171717172,
127
+ "eval_loss": 1.2322180271148682,
128
+ "eval_runtime": 53.1272,
129
+ "eval_samples_per_second": 18.635,
130
+ "eval_steps_per_second": 0.075,
131
+ "step": 5715
132
+ },
133
+ {
134
+ "epoch": 5.2493438320209975,
135
+ "grad_norm": 0.388487309217453,
136
+ "learning_rate": 4.77152899824253e-07,
137
+ "loss": 0.0191,
138
+ "step": 6000
139
+ },
140
+ {
141
+ "epoch": 5.686789151356081,
142
+ "grad_norm": 1.2540724277496338,
143
+ "learning_rate": 4.332161687170474e-07,
144
+ "loss": 0.0212,
145
+ "step": 6500
146
+ },
147
+ {
148
+ "epoch": 6.0,
149
+ "eval_accuracy": 0.9111111111111111,
150
+ "eval_loss": 1.296130895614624,
151
+ "eval_runtime": 60.2328,
152
+ "eval_samples_per_second": 16.436,
153
+ "eval_steps_per_second": 0.066,
154
+ "step": 6858
155
+ },
156
+ {
157
+ "epoch": 6.124234470691164,
158
+ "grad_norm": 5.201016426086426,
159
+ "learning_rate": 3.8927943760984183e-07,
160
+ "loss": 0.0225,
161
+ "step": 7000
162
+ },
163
+ {
164
+ "epoch": 6.561679790026247,
165
+ "grad_norm": 0.170638769865036,
166
+ "learning_rate": 3.453427065026362e-07,
167
+ "loss": 0.0208,
168
+ "step": 7500
169
+ },
170
+ {
171
+ "epoch": 6.99912510936133,
172
+ "grad_norm": 1.351289987564087,
173
+ "learning_rate": 3.0140597539543056e-07,
174
+ "loss": 0.0152,
175
+ "step": 8000
176
+ },
177
+ {
178
+ "epoch": 7.0,
179
+ "eval_accuracy": 0.9090909090909091,
180
+ "eval_loss": 1.2485171556472778,
181
+ "eval_runtime": 57.7422,
182
+ "eval_samples_per_second": 17.145,
183
+ "eval_steps_per_second": 0.069,
184
+ "step": 8001
185
+ },
186
+ {
187
+ "epoch": 7.436570428696413,
188
+ "grad_norm": 0.5688414573669434,
189
+ "learning_rate": 2.5746924428822493e-07,
190
+ "loss": 0.0155,
191
+ "step": 8500
192
+ },
193
+ {
194
+ "epoch": 7.874015748031496,
195
+ "grad_norm": 0.3233714699745178,
196
+ "learning_rate": 2.1353251318101935e-07,
197
+ "loss": 0.0149,
198
+ "step": 9000
199
+ },
200
+ {
201
+ "epoch": 8.0,
202
+ "eval_accuracy": 0.9121212121212121,
203
+ "eval_loss": 1.2698818445205688,
204
+ "eval_runtime": 134.063,
205
+ "eval_samples_per_second": 7.385,
206
+ "eval_steps_per_second": 0.03,
207
+ "step": 9144
208
+ },
209
+ {
210
+ "epoch": 8.31146106736658,
211
+ "grad_norm": 0.1916019767522812,
212
+ "learning_rate": 1.695957820738137e-07,
213
+ "loss": 0.0132,
214
+ "step": 9500
215
+ },
216
+ {
217
+ "epoch": 8.748906386701663,
218
+ "grad_norm": 0.15178655087947845,
219
+ "learning_rate": 1.2565905096660808e-07,
220
+ "loss": 0.0185,
221
+ "step": 10000
222
+ },
223
+ {
224
+ "epoch": 9.0,
225
+ "eval_accuracy": 0.9090909090909091,
226
+ "eval_loss": 1.278696894645691,
227
+ "eval_runtime": 240.0211,
228
+ "eval_samples_per_second": 4.125,
229
+ "eval_steps_per_second": 0.017,
230
+ "step": 10287
231
+ },
232
+ {
233
+ "epoch": 9.186351706036746,
234
+ "grad_norm": 0.17507989704608917,
235
+ "learning_rate": 8.172231985940245e-08,
236
+ "loss": 0.0125,
237
+ "step": 10500
238
+ },
239
+ {
240
+ "epoch": 9.623797025371829,
241
+ "grad_norm": 2.5729331970214844,
242
+ "learning_rate": 3.7785588752196835e-08,
243
+ "loss": 0.0108,
244
+ "step": 11000
245
+ },
246
+ {
247
+ "epoch": 10.0,
248
+ "eval_accuracy": 0.9090909090909091,
249
+ "eval_loss": 1.2581349611282349,
250
+ "eval_runtime": 124.5141,
251
+ "eval_samples_per_second": 7.951,
252
+ "eval_steps_per_second": 0.032,
253
+ "step": 11430
254
+ },
255
+ {
256
+ "epoch": 10.0,
257
+ "step": 11430,
258
+ "total_flos": 8.059090729915764e+17,
259
+ "train_loss": 0.06507109994963398,
260
+ "train_runtime": 16858.8681,
261
+ "train_samples_per_second": 9.491,
262
+ "train_steps_per_second": 0.678
263
+ }
264
+ ],
265
+ "logging_steps": 500,
266
+ "max_steps": 11430,
267
+ "num_input_tokens_seen": 0,
268
+ "num_train_epochs": 10,
269
+ "save_steps": 500,
270
+ "stateful_callbacks": {
271
+ "TrainerControl": {
272
+ "args": {
273
+ "should_epoch_stop": false,
274
+ "should_evaluate": false,
275
+ "should_log": false,
276
+ "should_save": true,
277
+ "should_training_stop": true
278
+ },
279
+ "attributes": {}
280
+ }
281
+ },
282
+ "total_flos": 8.059090729915764e+17,
283
+ "train_batch_size": 14,
284
+ "trial_name": null,
285
+ "trial_params": null
286
+ }
clip/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6819e358f6b3a0f712872f722f37d4b5be2f3210977cec8e83ea4f370d0eef86
3
+ size 5176
clip/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": ":vicuna-7b-v1.5",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "freeze_mm_mlp_adapter": false,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "image_aspect_ratio": "pad",
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 11008,
16
+ "max_position_embeddings": 4096,
17
+ "mm_hidden_size": 1024,
18
+ "mm_patch_merge_type": "flat",
19
+ "mm_projector_lr": 2e-05,
20
+ "mm_projector_type": "mlp2x_gelu",
21
+ "mm_use_im_patch_token": false,
22
+ "mm_use_im_start_end": false,
23
+ "mm_vision_select_feature": "patch",
24
+ "mm_vision_select_layer": -2,
25
+ "mm_vision_tower": "./clip",
26
+ "model_type": "llava_llama",
27
+ "num_attention_heads": 32,
28
+ "num_hidden_layers": 32,
29
+ "num_key_value_heads": 32,
30
+ "pad_token_id": 0,
31
+ "pretraining_tp": 1,
32
+ "rms_norm_eps": 1e-05,
33
+ "rope_scaling": null,
34
+ "rope_theta": 10000.0,
35
+ "tie_word_embeddings": false,
36
+ "tokenizer_model_max_length": 2048,
37
+ "tokenizer_padding_side": "right",
38
+ "torch_dtype": "float16",
39
+ "transformers_version": "4.37.2",
40
+ "tune_mm_mlp_adapter": false,
41
+ "use_cache": true,
42
+ "use_mm_proj": true,
43
+ "vocab_size": 32000
44
+ }
non_lora_trainables.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f338ab56a402a9595cdaa3b1d71c60f2ed8806a0295a97b7f13ea2a68e5dff75
3
+ size 41961648
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff