metchee commited on
Commit
e93bae1
·
verified ·
1 Parent(s): 7105fd4

Upload 54 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +61 -0
  2. adapter_config.json +132 -0
  3. adapter_model.safetensors +3 -0
  4. added_tokens.json +4 -0
  5. all_results.json +9 -0
  6. chat_template.jinja +1 -0
  7. checkpoint-100/README.md +202 -0
  8. checkpoint-100/adapter_config.json +132 -0
  9. checkpoint-100/adapter_model.safetensors +3 -0
  10. checkpoint-100/added_tokens.json +4 -0
  11. checkpoint-100/chat_template.jinja +2 -0
  12. checkpoint-100/optimizer.pt +3 -0
  13. checkpoint-100/preprocessor_config.json +28 -0
  14. checkpoint-100/processor_config.json +7 -0
  15. checkpoint-100/rng_state_0.pth +3 -0
  16. checkpoint-100/rng_state_1.pth +3 -0
  17. checkpoint-100/scheduler.pt +3 -0
  18. checkpoint-100/special_tokens_map.json +31 -0
  19. checkpoint-100/tokenizer.json +0 -0
  20. checkpoint-100/tokenizer.model +3 -0
  21. checkpoint-100/tokenizer_config.json +65 -0
  22. checkpoint-100/trainer_state.json +234 -0
  23. checkpoint-100/training_args.bin +3 -0
  24. checkpoint-112/README.md +202 -0
  25. checkpoint-112/adapter_config.json +132 -0
  26. checkpoint-112/adapter_model.safetensors +3 -0
  27. checkpoint-112/added_tokens.json +4 -0
  28. checkpoint-112/chat_template.jinja +2 -0
  29. checkpoint-112/optimizer.pt +3 -0
  30. checkpoint-112/preprocessor_config.json +28 -0
  31. checkpoint-112/processor_config.json +7 -0
  32. checkpoint-112/rng_state_0.pth +3 -0
  33. checkpoint-112/rng_state_1.pth +3 -0
  34. checkpoint-112/scheduler.pt +3 -0
  35. checkpoint-112/special_tokens_map.json +31 -0
  36. checkpoint-112/tokenizer.json +0 -0
  37. checkpoint-112/tokenizer.model +3 -0
  38. checkpoint-112/tokenizer_config.json +65 -0
  39. checkpoint-112/trainer_state.json +254 -0
  40. checkpoint-112/training_args.bin +3 -0
  41. llamaboard_config.yaml +85 -0
  42. preprocessor_config.json +28 -0
  43. processor_config.json +7 -0
  44. running_log.txt +564 -0
  45. special_tokens_map.json +31 -0
  46. tokenizer.json +0 -0
  47. tokenizer.model +3 -0
  48. tokenizer_config.json +65 -0
  49. train_results.json +9 -0
  50. trainer_log.jsonl +23 -0
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: llava-hf/llava-1.5-7b-hf
5
+ tags:
6
+ - llama-factory
7
+ - lora
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: train_k_folds_4_4_epochs
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # train_k_folds_4_4_epochs
18
+
19
+ This model is a fine-tuned version of [llava-hf/llava-1.5-7b-hf](https://huggingface.co/llava-hf/llava-1.5-7b-hf) on the sticker_labels_kfolds_train_4 dataset.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - distributed_type: multi-GPU
43
+ - num_devices: 2
44
+ - gradient_accumulation_steps: 8
45
+ - total_train_batch_size: 32
46
+ - total_eval_batch_size: 16
47
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: cosine
49
+ - num_epochs: 4.0
50
+
51
+ ### Training results
52
+
53
+
54
+
55
+ ### Framework versions
56
+
57
+ - PEFT 0.15.2
58
+ - Transformers 4.52.1
59
+ - Pytorch 2.7.0+cu126
60
+ - Datasets 3.6.0
61
+ - Tokenizers 0.21.1
adapter_config.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "llava-hf/llava-1.5-7b-hf",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 8,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "27.self_attn.v_proj",
28
+ "language_model.layers.20.self_attn.k_proj",
29
+ "24.self_attn.q_proj",
30
+ "language_model.layers.13.self_attn.v_proj",
31
+ "language_model.layers.17.self_attn.v_proj",
32
+ "language_model.layers.7.self_attn.v_proj",
33
+ "language_model.layers.17.self_attn.q_proj",
34
+ "language_model.layers.0.self_attn.v_proj",
35
+ "language_model.layers.22.self_attn.q_proj",
36
+ "31.self_attn.v_proj",
37
+ "language_model.layers.3.self_attn.k_proj",
38
+ "language_model.layers.15.self_attn.q_proj",
39
+ "language_model.layers.19.self_attn.k_proj",
40
+ "language_model.layers.1.self_attn.k_proj",
41
+ "language_model.layers.4.self_attn.q_proj",
42
+ "24.self_attn.v_proj",
43
+ "30.self_attn.v_proj",
44
+ "language_model.layers.18.self_attn.q_proj",
45
+ "language_model.layers.17.self_attn.k_proj",
46
+ "25.self_attn.k_proj",
47
+ "language_model.layers.8.self_attn.q_proj",
48
+ "language_model.layers.2.self_attn.q_proj",
49
+ "down_proj",
50
+ "language_model.layers.23.self_attn.v_proj",
51
+ "o_proj",
52
+ "language_model.layers.19.self_attn.q_proj",
53
+ "language_model.layers.15.self_attn.k_proj",
54
+ "language_model.layers.6.self_attn.v_proj",
55
+ "28.self_attn.k_proj",
56
+ "language_model.layers.21.self_attn.q_proj",
57
+ "24.self_attn.k_proj",
58
+ "language_model.layers.7.self_attn.q_proj",
59
+ "language_model.layers.12.self_attn.q_proj",
60
+ "language_model.layers.9.self_attn.v_proj",
61
+ "language_model.layers.23.self_attn.k_proj",
62
+ "language_model.layers.1.self_attn.v_proj",
63
+ "language_model.layers.18.self_attn.k_proj",
64
+ "30.self_attn.k_proj",
65
+ "language_model.layers.11.self_attn.v_proj",
66
+ "language_model.layers.7.self_attn.k_proj",
67
+ "language_model.layers.22.self_attn.k_proj",
68
+ "language_model.layers.5.self_attn.v_proj",
69
+ "language_model.layers.10.self_attn.v_proj",
70
+ "language_model.layers.8.self_attn.v_proj",
71
+ "language_model.layers.3.self_attn.q_proj",
72
+ "language_model.layers.15.self_attn.v_proj",
73
+ "27.self_attn.k_proj",
74
+ "language_model.layers.22.self_attn.v_proj",
75
+ "language_model.layers.13.self_attn.q_proj",
76
+ "language_model.layers.16.self_attn.v_proj",
77
+ "language_model.layers.0.self_attn.q_proj",
78
+ "language_model.layers.5.self_attn.k_proj",
79
+ "language_model.layers.9.self_attn.k_proj",
80
+ "language_model.layers.3.self_attn.v_proj",
81
+ "language_model.layers.12.self_attn.k_proj",
82
+ "language_model.layers.11.self_attn.q_proj",
83
+ "28.self_attn.q_proj",
84
+ "29.self_attn.q_proj",
85
+ "25.self_attn.q_proj",
86
+ "language_model.layers.21.self_attn.k_proj",
87
+ "language_model.layers.9.self_attn.q_proj",
88
+ "26.self_attn.v_proj",
89
+ "language_model.layers.2.self_attn.v_proj",
90
+ "29.self_attn.k_proj",
91
+ "gate_proj",
92
+ "25.self_attn.v_proj",
93
+ "language_model.layers.2.self_attn.k_proj",
94
+ "26.self_attn.k_proj",
95
+ "language_model.layers.4.self_attn.v_proj",
96
+ "language_model.layers.11.self_attn.k_proj",
97
+ "language_model.layers.23.self_attn.q_proj",
98
+ "language_model.layers.16.self_attn.k_proj",
99
+ "language_model.layers.14.self_attn.v_proj",
100
+ "language_model.layers.10.self_attn.q_proj",
101
+ "language_model.layers.20.self_attn.q_proj",
102
+ "language_model.layers.20.self_attn.v_proj",
103
+ "language_model.layers.21.self_attn.v_proj",
104
+ "language_model.layers.16.self_attn.q_proj",
105
+ "language_model.layers.13.self_attn.k_proj",
106
+ "26.self_attn.q_proj",
107
+ "31.self_attn.k_proj",
108
+ "language_model.layers.14.self_attn.q_proj",
109
+ "language_model.layers.4.self_attn.k_proj",
110
+ "27.self_attn.q_proj",
111
+ "language_model.layers.1.self_attn.q_proj",
112
+ "language_model.layers.8.self_attn.k_proj",
113
+ "language_model.layers.14.self_attn.k_proj",
114
+ "29.self_attn.v_proj",
115
+ "language_model.layers.12.self_attn.v_proj",
116
+ "30.self_attn.q_proj",
117
+ "language_model.layers.0.self_attn.k_proj",
118
+ "language_model.layers.19.self_attn.v_proj",
119
+ "up_proj",
120
+ "31.self_attn.q_proj",
121
+ "language_model.layers.18.self_attn.v_proj",
122
+ "language_model.layers.10.self_attn.k_proj",
123
+ "language_model.layers.6.self_attn.q_proj",
124
+ "language_model.layers.5.self_attn.q_proj",
125
+ "28.self_attn.v_proj",
126
+ "language_model.layers.6.self_attn.k_proj"
127
+ ],
128
+ "task_type": "CAUSAL_LM",
129
+ "trainable_token_indices": null,
130
+ "use_dora": false,
131
+ "use_rslora": false
132
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc553793ac8a8002149a9657652e8b249f93295395e40dba89d7a0033668823a
3
+ size 80019840
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<image>": 32000,
3
+ "<pad>": 32001
4
+ }
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "num_input_tokens_seen": 2494624,
4
+ "total_flos": 1.0404813073494835e+17,
5
+ "train_loss": 2.765545678990228,
6
+ "train_runtime": 591.3728,
7
+ "train_samples_per_second": 6.02,
8
+ "train_steps_per_second": 0.189
9
+ }
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% set system_message = 'A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user\'s questions.' %}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'USER: ' + content + ' ASSISTANT:' }}{% elif message['role'] == 'assistant' %}{{ content + '</s>' }}{% endif %}{% endfor %}
checkpoint-100/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: llava-hf/llava-1.5-7b-hf
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.15.2
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "llava-hf/llava-1.5-7b-hf",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 8,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "27.self_attn.v_proj",
28
+ "language_model.layers.20.self_attn.k_proj",
29
+ "24.self_attn.q_proj",
30
+ "language_model.layers.13.self_attn.v_proj",
31
+ "language_model.layers.17.self_attn.v_proj",
32
+ "language_model.layers.7.self_attn.v_proj",
33
+ "language_model.layers.17.self_attn.q_proj",
34
+ "language_model.layers.0.self_attn.v_proj",
35
+ "language_model.layers.22.self_attn.q_proj",
36
+ "31.self_attn.v_proj",
37
+ "language_model.layers.3.self_attn.k_proj",
38
+ "language_model.layers.15.self_attn.q_proj",
39
+ "language_model.layers.19.self_attn.k_proj",
40
+ "language_model.layers.1.self_attn.k_proj",
41
+ "language_model.layers.4.self_attn.q_proj",
42
+ "24.self_attn.v_proj",
43
+ "30.self_attn.v_proj",
44
+ "language_model.layers.18.self_attn.q_proj",
45
+ "language_model.layers.17.self_attn.k_proj",
46
+ "25.self_attn.k_proj",
47
+ "language_model.layers.8.self_attn.q_proj",
48
+ "language_model.layers.2.self_attn.q_proj",
49
+ "down_proj",
50
+ "language_model.layers.23.self_attn.v_proj",
51
+ "o_proj",
52
+ "language_model.layers.19.self_attn.q_proj",
53
+ "language_model.layers.15.self_attn.k_proj",
54
+ "language_model.layers.6.self_attn.v_proj",
55
+ "28.self_attn.k_proj",
56
+ "language_model.layers.21.self_attn.q_proj",
57
+ "24.self_attn.k_proj",
58
+ "language_model.layers.7.self_attn.q_proj",
59
+ "language_model.layers.12.self_attn.q_proj",
60
+ "language_model.layers.9.self_attn.v_proj",
61
+ "language_model.layers.23.self_attn.k_proj",
62
+ "language_model.layers.1.self_attn.v_proj",
63
+ "language_model.layers.18.self_attn.k_proj",
64
+ "30.self_attn.k_proj",
65
+ "language_model.layers.11.self_attn.v_proj",
66
+ "language_model.layers.7.self_attn.k_proj",
67
+ "language_model.layers.22.self_attn.k_proj",
68
+ "language_model.layers.5.self_attn.v_proj",
69
+ "language_model.layers.10.self_attn.v_proj",
70
+ "language_model.layers.8.self_attn.v_proj",
71
+ "language_model.layers.3.self_attn.q_proj",
72
+ "language_model.layers.15.self_attn.v_proj",
73
+ "27.self_attn.k_proj",
74
+ "language_model.layers.22.self_attn.v_proj",
75
+ "language_model.layers.13.self_attn.q_proj",
76
+ "language_model.layers.16.self_attn.v_proj",
77
+ "language_model.layers.0.self_attn.q_proj",
78
+ "language_model.layers.5.self_attn.k_proj",
79
+ "language_model.layers.9.self_attn.k_proj",
80
+ "language_model.layers.3.self_attn.v_proj",
81
+ "language_model.layers.12.self_attn.k_proj",
82
+ "language_model.layers.11.self_attn.q_proj",
83
+ "28.self_attn.q_proj",
84
+ "29.self_attn.q_proj",
85
+ "25.self_attn.q_proj",
86
+ "language_model.layers.21.self_attn.k_proj",
87
+ "language_model.layers.9.self_attn.q_proj",
88
+ "26.self_attn.v_proj",
89
+ "language_model.layers.2.self_attn.v_proj",
90
+ "29.self_attn.k_proj",
91
+ "gate_proj",
92
+ "25.self_attn.v_proj",
93
+ "language_model.layers.2.self_attn.k_proj",
94
+ "26.self_attn.k_proj",
95
+ "language_model.layers.4.self_attn.v_proj",
96
+ "language_model.layers.11.self_attn.k_proj",
97
+ "language_model.layers.23.self_attn.q_proj",
98
+ "language_model.layers.16.self_attn.k_proj",
99
+ "language_model.layers.14.self_attn.v_proj",
100
+ "language_model.layers.10.self_attn.q_proj",
101
+ "language_model.layers.20.self_attn.q_proj",
102
+ "language_model.layers.20.self_attn.v_proj",
103
+ "language_model.layers.21.self_attn.v_proj",
104
+ "language_model.layers.16.self_attn.q_proj",
105
+ "language_model.layers.13.self_attn.k_proj",
106
+ "26.self_attn.q_proj",
107
+ "31.self_attn.k_proj",
108
+ "language_model.layers.14.self_attn.q_proj",
109
+ "language_model.layers.4.self_attn.k_proj",
110
+ "27.self_attn.q_proj",
111
+ "language_model.layers.1.self_attn.q_proj",
112
+ "language_model.layers.8.self_attn.k_proj",
113
+ "language_model.layers.14.self_attn.k_proj",
114
+ "29.self_attn.v_proj",
115
+ "language_model.layers.12.self_attn.v_proj",
116
+ "30.self_attn.q_proj",
117
+ "language_model.layers.0.self_attn.k_proj",
118
+ "language_model.layers.19.self_attn.v_proj",
119
+ "up_proj",
120
+ "31.self_attn.q_proj",
121
+ "language_model.layers.18.self_attn.v_proj",
122
+ "language_model.layers.10.self_attn.k_proj",
123
+ "language_model.layers.6.self_attn.q_proj",
124
+ "language_model.layers.5.self_attn.q_proj",
125
+ "28.self_attn.v_proj",
126
+ "language_model.layers.6.self_attn.k_proj"
127
+ ],
128
+ "task_type": "CAUSAL_LM",
129
+ "trainable_token_indices": null,
130
+ "use_dora": false,
131
+ "use_rslora": false
132
+ }
checkpoint-100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f85c0a2f58dfb3fce36cd80902d5079cc15d7149df412b5d9c3d122c5983c14
3
+ size 80019840
checkpoint-100/added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<image>": 32000,
3
+ "<pad>": 32001
4
+ }
checkpoint-100/chat_template.jinja ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {% for message in messages %}{% if message['role'] != 'system' %}{{ message['role'].upper() + ': '}}{% endif %}{# Render all images first #}{% for content in message['content'] | selectattr('type', 'equalto', 'image') %}{{ '<image>
2
+ ' }}{% endfor %}{# Render all text next #}{% if message['role'] != 'assistant' %}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{{ content['text'] + ' '}}{% endfor %}{% else %}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{% generation %}{{ content['text'] + ' '}}{% endgeneration %}{% endfor %}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'ASSISTANT:' }}{% endif %}
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e358ea9cb61168fb8da798fce3f24507e383ee248b1193df1d4455a088cb836d
3
+ size 160285219
checkpoint-100/preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 336,
4
+ "width": 336
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "CLIPImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "processor_class": "LlavaProcessor",
23
+ "resample": 3,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "shortest_edge": 336
27
+ }
28
+ }
checkpoint-100/processor_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_token": "<image>",
3
+ "num_additional_image_tokens": 1,
4
+ "patch_size": 14,
5
+ "processor_class": "LlavaProcessor",
6
+ "vision_feature_select_strategy": "default"
7
+ }
checkpoint-100/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02ea5dcfd1b4a49b41b4fa01a8b24bba6186957162c3fd555ebff28620c7268b
3
+ size 14917
checkpoint-100/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2a5af18bb5eae8b7fd6bdef66259014d98ba87ffb16d614bba38f2c32030798
3
+ size 14917
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6be21f9eb4e7865940e344f20ebbbfc9faab9771df177dc7b0a881e3946855d0
3
+ size 1465
checkpoint-100/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "image_token": "<image>",
17
+ "pad_token": {
18
+ "content": "<pad>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "unk_token": {
25
+ "content": "<unk>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
checkpoint-100/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-100/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "32000": {
31
+ "content": "<image>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
+ "content": "<pad>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ }
46
+ },
47
+ "bos_token": "<s>",
48
+ "clean_up_tokenization_spaces": false,
49
+ "eos_token": "</s>",
50
+ "extra_special_tokens": {
51
+ "image_token": "<image>"
52
+ },
53
+ "image_token": "<image>",
54
+ "legacy": false,
55
+ "model_max_length": 1000000000000000019884624838656,
56
+ "pad_token": "<pad>",
57
+ "padding_side": "right",
58
+ "processor_class": "LlavaProcessor",
59
+ "sp_model_kwargs": {},
60
+ "split_special_tokens": false,
61
+ "tokenizer_class": "LlamaTokenizer",
62
+ "trust_remote_code": false,
63
+ "unk_token": "<unk>",
64
+ "use_default_system_prompt": false
65
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.5739910313901344,
6
+ "eval_steps": 500,
7
+ "global_step": 100,
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.17937219730941703,
14
+ "grad_norm": 1.5203849077224731,
15
+ "learning_rate": 4.984280524733107e-05,
16
+ "loss": 3.5214,
17
+ "num_input_tokens_seen": 111952,
18
+ "step": 5,
19
+ "train_runtime": 27.5462,
20
+ "train_tokens_per_second": 4064.161
21
+ },
22
+ {
23
+ "epoch": 0.35874439461883406,
24
+ "grad_norm": 0.9002476334571838,
25
+ "learning_rate": 4.9207588053056545e-05,
26
+ "loss": 3.3636,
27
+ "num_input_tokens_seen": 223776,
28
+ "step": 10,
29
+ "train_runtime": 53.4438,
30
+ "train_tokens_per_second": 4187.127
31
+ },
32
+ {
33
+ "epoch": 0.5381165919282511,
34
+ "grad_norm": 0.6985305547714233,
35
+ "learning_rate": 4.8096988312782174e-05,
36
+ "loss": 3.0641,
37
+ "num_input_tokens_seen": 335600,
38
+ "step": 15,
39
+ "train_runtime": 79.4605,
40
+ "train_tokens_per_second": 4223.48
41
+ },
42
+ {
43
+ "epoch": 0.7174887892376681,
44
+ "grad_norm": 0.5677102208137512,
45
+ "learning_rate": 4.653281570581023e-05,
46
+ "loss": 2.9922,
47
+ "num_input_tokens_seen": 447424,
48
+ "step": 20,
49
+ "train_runtime": 105.6383,
50
+ "train_tokens_per_second": 4235.433
51
+ },
52
+ {
53
+ "epoch": 0.8968609865470852,
54
+ "grad_norm": 0.6143746376037598,
55
+ "learning_rate": 4.454578706170075e-05,
56
+ "loss": 3.0359,
57
+ "num_input_tokens_seen": 559328,
58
+ "step": 25,
59
+ "train_runtime": 131.8723,
60
+ "train_tokens_per_second": 4241.437
61
+ },
62
+ {
63
+ "epoch": 1.0717488789237668,
64
+ "grad_norm": 0.5885606408119202,
65
+ "learning_rate": 4.2174923150872544e-05,
66
+ "loss": 2.825,
67
+ "num_input_tokens_seen": 668544,
68
+ "step": 30,
69
+ "train_runtime": 157.5044,
70
+ "train_tokens_per_second": 4244.606
71
+ },
72
+ {
73
+ "epoch": 1.251121076233184,
74
+ "grad_norm": 0.5807215571403503,
75
+ "learning_rate": 3.946678240449515e-05,
76
+ "loss": 2.8427,
77
+ "num_input_tokens_seen": 780496,
78
+ "step": 35,
79
+ "train_runtime": 183.817,
80
+ "train_tokens_per_second": 4246.05
81
+ },
82
+ {
83
+ "epoch": 1.4304932735426008,
84
+ "grad_norm": 0.6312059164047241,
85
+ "learning_rate": 3.6474546611688445e-05,
86
+ "loss": 2.7976,
87
+ "num_input_tokens_seen": 892128,
88
+ "step": 40,
89
+ "train_runtime": 210.129,
90
+ "train_tokens_per_second": 4245.62
91
+ },
92
+ {
93
+ "epoch": 1.609865470852018,
94
+ "grad_norm": 0.6633515357971191,
95
+ "learning_rate": 3.3256976548879184e-05,
96
+ "loss": 2.6764,
97
+ "num_input_tokens_seen": 1004112,
98
+ "step": 45,
99
+ "train_runtime": 236.4964,
100
+ "train_tokens_per_second": 4245.781
101
+ },
102
+ {
103
+ "epoch": 1.789237668161435,
104
+ "grad_norm": 0.7430306077003479,
105
+ "learning_rate": 2.9877258050403212e-05,
106
+ "loss": 2.7217,
107
+ "num_input_tokens_seen": 1116064,
108
+ "step": 50,
109
+ "train_runtime": 262.8011,
110
+ "train_tokens_per_second": 4246.801
111
+ },
112
+ {
113
+ "epoch": 1.9686098654708521,
114
+ "grad_norm": 0.7268422245979309,
115
+ "learning_rate": 2.6401761180929797e-05,
116
+ "loss": 2.7066,
117
+ "num_input_tokens_seen": 1227808,
118
+ "step": 55,
119
+ "train_runtime": 289.1347,
120
+ "train_tokens_per_second": 4246.491
121
+ },
122
+ {
123
+ "epoch": 2.1434977578475336,
124
+ "grad_norm": 0.7635470032691956,
125
+ "learning_rate": 2.2898736876768815e-05,
126
+ "loss": 2.6038,
127
+ "num_input_tokens_seen": 1337104,
128
+ "step": 60,
129
+ "train_runtime": 314.8221,
130
+ "train_tokens_per_second": 4247.173
131
+ },
132
+ {
133
+ "epoch": 2.3228699551569507,
134
+ "grad_norm": 0.8516287207603455,
135
+ "learning_rate": 1.9436976651092144e-05,
136
+ "loss": 2.5954,
137
+ "num_input_tokens_seen": 1448976,
138
+ "step": 65,
139
+ "train_runtime": 341.1436,
140
+ "train_tokens_per_second": 4247.407
141
+ },
142
+ {
143
+ "epoch": 2.502242152466368,
144
+ "grad_norm": 0.8331743478775024,
145
+ "learning_rate": 1.6084461683442176e-05,
146
+ "loss": 2.6679,
147
+ "num_input_tokens_seen": 1560352,
148
+ "step": 70,
149
+ "train_runtime": 367.4136,
150
+ "train_tokens_per_second": 4246.854
151
+ },
152
+ {
153
+ "epoch": 2.681614349775785,
154
+ "grad_norm": 0.8733316659927368,
155
+ "learning_rate": 1.2907027822369005e-05,
156
+ "loss": 2.5975,
157
+ "num_input_tokens_seen": 1672176,
158
+ "step": 75,
159
+ "train_runtime": 393.7208,
160
+ "train_tokens_per_second": 4247.111
161
+ },
162
+ {
163
+ "epoch": 2.8609865470852016,
164
+ "grad_norm": 0.927335798740387,
165
+ "learning_rate": 9.967072717539851e-06,
166
+ "loss": 2.6389,
167
+ "num_input_tokens_seen": 1784448,
168
+ "step": 80,
169
+ "train_runtime": 420.1259,
170
+ "train_tokens_per_second": 4247.412
171
+ },
172
+ {
173
+ "epoch": 3.0358744394618835,
174
+ "grad_norm": 0.821441650390625,
175
+ "learning_rate": 7.3223304703363135e-06,
176
+ "loss": 2.4908,
177
+ "num_input_tokens_seen": 1893216,
178
+ "step": 85,
179
+ "train_runtime": 445.7557,
180
+ "train_tokens_per_second": 4247.205
181
+ },
182
+ {
183
+ "epoch": 3.2152466367713006,
184
+ "grad_norm": 0.8318443894386292,
185
+ "learning_rate": 5.02473786604378e-06,
186
+ "loss": 2.6384,
187
+ "num_input_tokens_seen": 2005392,
188
+ "step": 90,
189
+ "train_runtime": 472.0937,
190
+ "train_tokens_per_second": 4247.869
191
+ },
192
+ {
193
+ "epoch": 3.3946188340807173,
194
+ "grad_norm": 0.8994652628898621,
195
+ "learning_rate": 3.119414452281158e-06,
196
+ "loss": 2.5131,
197
+ "num_input_tokens_seen": 2117168,
198
+ "step": 95,
199
+ "train_runtime": 498.4113,
200
+ "train_tokens_per_second": 4247.833
201
+ },
202
+ {
203
+ "epoch": 3.5739910313901344,
204
+ "grad_norm": 0.9667345881462097,
205
+ "learning_rate": 1.6437764926350074e-06,
206
+ "loss": 2.5565,
207
+ "num_input_tokens_seen": 2229024,
208
+ "step": 100,
209
+ "train_runtime": 524.7221,
210
+ "train_tokens_per_second": 4248.009
211
+ }
212
+ ],
213
+ "logging_steps": 5,
214
+ "max_steps": 112,
215
+ "num_input_tokens_seen": 2229024,
216
+ "num_train_epochs": 4,
217
+ "save_steps": 100,
218
+ "stateful_callbacks": {
219
+ "TrainerControl": {
220
+ "args": {
221
+ "should_epoch_stop": false,
222
+ "should_evaluate": false,
223
+ "should_log": false,
224
+ "should_save": true,
225
+ "should_training_stop": false
226
+ },
227
+ "attributes": {}
228
+ }
229
+ },
230
+ "total_flos": 9.29702354050089e+16,
231
+ "train_batch_size": 2,
232
+ "trial_name": null,
233
+ "trial_params": null
234
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38c43db658eaa1d450fd25da35350814f9c84e2c2f8aed15977213a4dd95ff5d
3
+ size 6161
checkpoint-112/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: llava-hf/llava-1.5-7b-hf
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.15.2
checkpoint-112/adapter_config.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "llava-hf/llava-1.5-7b-hf",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 8,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "27.self_attn.v_proj",
28
+ "language_model.layers.20.self_attn.k_proj",
29
+ "24.self_attn.q_proj",
30
+ "language_model.layers.13.self_attn.v_proj",
31
+ "language_model.layers.17.self_attn.v_proj",
32
+ "language_model.layers.7.self_attn.v_proj",
33
+ "language_model.layers.17.self_attn.q_proj",
34
+ "language_model.layers.0.self_attn.v_proj",
35
+ "language_model.layers.22.self_attn.q_proj",
36
+ "31.self_attn.v_proj",
37
+ "language_model.layers.3.self_attn.k_proj",
38
+ "language_model.layers.15.self_attn.q_proj",
39
+ "language_model.layers.19.self_attn.k_proj",
40
+ "language_model.layers.1.self_attn.k_proj",
41
+ "language_model.layers.4.self_attn.q_proj",
42
+ "24.self_attn.v_proj",
43
+ "30.self_attn.v_proj",
44
+ "language_model.layers.18.self_attn.q_proj",
45
+ "language_model.layers.17.self_attn.k_proj",
46
+ "25.self_attn.k_proj",
47
+ "language_model.layers.8.self_attn.q_proj",
48
+ "language_model.layers.2.self_attn.q_proj",
49
+ "down_proj",
50
+ "language_model.layers.23.self_attn.v_proj",
51
+ "o_proj",
52
+ "language_model.layers.19.self_attn.q_proj",
53
+ "language_model.layers.15.self_attn.k_proj",
54
+ "language_model.layers.6.self_attn.v_proj",
55
+ "28.self_attn.k_proj",
56
+ "language_model.layers.21.self_attn.q_proj",
57
+ "24.self_attn.k_proj",
58
+ "language_model.layers.7.self_attn.q_proj",
59
+ "language_model.layers.12.self_attn.q_proj",
60
+ "language_model.layers.9.self_attn.v_proj",
61
+ "language_model.layers.23.self_attn.k_proj",
62
+ "language_model.layers.1.self_attn.v_proj",
63
+ "language_model.layers.18.self_attn.k_proj",
64
+ "30.self_attn.k_proj",
65
+ "language_model.layers.11.self_attn.v_proj",
66
+ "language_model.layers.7.self_attn.k_proj",
67
+ "language_model.layers.22.self_attn.k_proj",
68
+ "language_model.layers.5.self_attn.v_proj",
69
+ "language_model.layers.10.self_attn.v_proj",
70
+ "language_model.layers.8.self_attn.v_proj",
71
+ "language_model.layers.3.self_attn.q_proj",
72
+ "language_model.layers.15.self_attn.v_proj",
73
+ "27.self_attn.k_proj",
74
+ "language_model.layers.22.self_attn.v_proj",
75
+ "language_model.layers.13.self_attn.q_proj",
76
+ "language_model.layers.16.self_attn.v_proj",
77
+ "language_model.layers.0.self_attn.q_proj",
78
+ "language_model.layers.5.self_attn.k_proj",
79
+ "language_model.layers.9.self_attn.k_proj",
80
+ "language_model.layers.3.self_attn.v_proj",
81
+ "language_model.layers.12.self_attn.k_proj",
82
+ "language_model.layers.11.self_attn.q_proj",
83
+ "28.self_attn.q_proj",
84
+ "29.self_attn.q_proj",
85
+ "25.self_attn.q_proj",
86
+ "language_model.layers.21.self_attn.k_proj",
87
+ "language_model.layers.9.self_attn.q_proj",
88
+ "26.self_attn.v_proj",
89
+ "language_model.layers.2.self_attn.v_proj",
90
+ "29.self_attn.k_proj",
91
+ "gate_proj",
92
+ "25.self_attn.v_proj",
93
+ "language_model.layers.2.self_attn.k_proj",
94
+ "26.self_attn.k_proj",
95
+ "language_model.layers.4.self_attn.v_proj",
96
+ "language_model.layers.11.self_attn.k_proj",
97
+ "language_model.layers.23.self_attn.q_proj",
98
+ "language_model.layers.16.self_attn.k_proj",
99
+ "language_model.layers.14.self_attn.v_proj",
100
+ "language_model.layers.10.self_attn.q_proj",
101
+ "language_model.layers.20.self_attn.q_proj",
102
+ "language_model.layers.20.self_attn.v_proj",
103
+ "language_model.layers.21.self_attn.v_proj",
104
+ "language_model.layers.16.self_attn.q_proj",
105
+ "language_model.layers.13.self_attn.k_proj",
106
+ "26.self_attn.q_proj",
107
+ "31.self_attn.k_proj",
108
+ "language_model.layers.14.self_attn.q_proj",
109
+ "language_model.layers.4.self_attn.k_proj",
110
+ "27.self_attn.q_proj",
111
+ "language_model.layers.1.self_attn.q_proj",
112
+ "language_model.layers.8.self_attn.k_proj",
113
+ "language_model.layers.14.self_attn.k_proj",
114
+ "29.self_attn.v_proj",
115
+ "language_model.layers.12.self_attn.v_proj",
116
+ "30.self_attn.q_proj",
117
+ "language_model.layers.0.self_attn.k_proj",
118
+ "language_model.layers.19.self_attn.v_proj",
119
+ "up_proj",
120
+ "31.self_attn.q_proj",
121
+ "language_model.layers.18.self_attn.v_proj",
122
+ "language_model.layers.10.self_attn.k_proj",
123
+ "language_model.layers.6.self_attn.q_proj",
124
+ "language_model.layers.5.self_attn.q_proj",
125
+ "28.self_attn.v_proj",
126
+ "language_model.layers.6.self_attn.k_proj"
127
+ ],
128
+ "task_type": "CAUSAL_LM",
129
+ "trainable_token_indices": null,
130
+ "use_dora": false,
131
+ "use_rslora": false
132
+ }
checkpoint-112/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc553793ac8a8002149a9657652e8b249f93295395e40dba89d7a0033668823a
3
+ size 80019840
checkpoint-112/added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<image>": 32000,
3
+ "<pad>": 32001
4
+ }
checkpoint-112/chat_template.jinja ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {% for message in messages %}{% if message['role'] != 'system' %}{{ message['role'].upper() + ': '}}{% endif %}{# Render all images first #}{% for content in message['content'] | selectattr('type', 'equalto', 'image') %}{{ '<image>
2
+ ' }}{% endfor %}{# Render all text next #}{% if message['role'] != 'assistant' %}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{{ content['text'] + ' '}}{% endfor %}{% else %}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{% generation %}{{ content['text'] + ' '}}{% endgeneration %}{% endfor %}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'ASSISTANT:' }}{% endif %}
checkpoint-112/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c2a813c2e7e057c97caec59ee87293d494de7436557ff9f6b1b4e01e79a7287
3
+ size 160285219
checkpoint-112/preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 336,
4
+ "width": 336
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "CLIPImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "processor_class": "LlavaProcessor",
23
+ "resample": 3,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "shortest_edge": 336
27
+ }
28
+ }
checkpoint-112/processor_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_token": "<image>",
3
+ "num_additional_image_tokens": 1,
4
+ "patch_size": 14,
5
+ "processor_class": "LlavaProcessor",
6
+ "vision_feature_select_strategy": "default"
7
+ }
checkpoint-112/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02ea5dcfd1b4a49b41b4fa01a8b24bba6186957162c3fd555ebff28620c7268b
3
+ size 14917
checkpoint-112/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2a5af18bb5eae8b7fd6bdef66259014d98ba87ffb16d614bba38f2c32030798
3
+ size 14917
checkpoint-112/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23615fd0530d96bf686130f41aba74d32c05af699e347822519a970468da7396
3
+ size 1465
checkpoint-112/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "image_token": "<image>",
17
+ "pad_token": {
18
+ "content": "<pad>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "unk_token": {
25
+ "content": "<unk>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
checkpoint-112/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-112/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-112/tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "32000": {
31
+ "content": "<image>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
+ "content": "<pad>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ }
46
+ },
47
+ "bos_token": "<s>",
48
+ "clean_up_tokenization_spaces": false,
49
+ "eos_token": "</s>",
50
+ "extra_special_tokens": {
51
+ "image_token": "<image>"
52
+ },
53
+ "image_token": "<image>",
54
+ "legacy": false,
55
+ "model_max_length": 1000000000000000019884624838656,
56
+ "pad_token": "<pad>",
57
+ "padding_side": "right",
58
+ "processor_class": "LlavaProcessor",
59
+ "sp_model_kwargs": {},
60
+ "split_special_tokens": false,
61
+ "tokenizer_class": "LlamaTokenizer",
62
+ "trust_remote_code": false,
63
+ "unk_token": "<unk>",
64
+ "use_default_system_prompt": false
65
+ }
checkpoint-112/trainer_state.json ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 4.0,
6
+ "eval_steps": 500,
7
+ "global_step": 112,
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.17937219730941703,
14
+ "grad_norm": 1.5203849077224731,
15
+ "learning_rate": 4.984280524733107e-05,
16
+ "loss": 3.5214,
17
+ "num_input_tokens_seen": 111952,
18
+ "step": 5,
19
+ "train_runtime": 27.5462,
20
+ "train_tokens_per_second": 4064.161
21
+ },
22
+ {
23
+ "epoch": 0.35874439461883406,
24
+ "grad_norm": 0.9002476334571838,
25
+ "learning_rate": 4.9207588053056545e-05,
26
+ "loss": 3.3636,
27
+ "num_input_tokens_seen": 223776,
28
+ "step": 10,
29
+ "train_runtime": 53.4438,
30
+ "train_tokens_per_second": 4187.127
31
+ },
32
+ {
33
+ "epoch": 0.5381165919282511,
34
+ "grad_norm": 0.6985305547714233,
35
+ "learning_rate": 4.8096988312782174e-05,
36
+ "loss": 3.0641,
37
+ "num_input_tokens_seen": 335600,
38
+ "step": 15,
39
+ "train_runtime": 79.4605,
40
+ "train_tokens_per_second": 4223.48
41
+ },
42
+ {
43
+ "epoch": 0.7174887892376681,
44
+ "grad_norm": 0.5677102208137512,
45
+ "learning_rate": 4.653281570581023e-05,
46
+ "loss": 2.9922,
47
+ "num_input_tokens_seen": 447424,
48
+ "step": 20,
49
+ "train_runtime": 105.6383,
50
+ "train_tokens_per_second": 4235.433
51
+ },
52
+ {
53
+ "epoch": 0.8968609865470852,
54
+ "grad_norm": 0.6143746376037598,
55
+ "learning_rate": 4.454578706170075e-05,
56
+ "loss": 3.0359,
57
+ "num_input_tokens_seen": 559328,
58
+ "step": 25,
59
+ "train_runtime": 131.8723,
60
+ "train_tokens_per_second": 4241.437
61
+ },
62
+ {
63
+ "epoch": 1.0717488789237668,
64
+ "grad_norm": 0.5885606408119202,
65
+ "learning_rate": 4.2174923150872544e-05,
66
+ "loss": 2.825,
67
+ "num_input_tokens_seen": 668544,
68
+ "step": 30,
69
+ "train_runtime": 157.5044,
70
+ "train_tokens_per_second": 4244.606
71
+ },
72
+ {
73
+ "epoch": 1.251121076233184,
74
+ "grad_norm": 0.5807215571403503,
75
+ "learning_rate": 3.946678240449515e-05,
76
+ "loss": 2.8427,
77
+ "num_input_tokens_seen": 780496,
78
+ "step": 35,
79
+ "train_runtime": 183.817,
80
+ "train_tokens_per_second": 4246.05
81
+ },
82
+ {
83
+ "epoch": 1.4304932735426008,
84
+ "grad_norm": 0.6312059164047241,
85
+ "learning_rate": 3.6474546611688445e-05,
86
+ "loss": 2.7976,
87
+ "num_input_tokens_seen": 892128,
88
+ "step": 40,
89
+ "train_runtime": 210.129,
90
+ "train_tokens_per_second": 4245.62
91
+ },
92
+ {
93
+ "epoch": 1.609865470852018,
94
+ "grad_norm": 0.6633515357971191,
95
+ "learning_rate": 3.3256976548879184e-05,
96
+ "loss": 2.6764,
97
+ "num_input_tokens_seen": 1004112,
98
+ "step": 45,
99
+ "train_runtime": 236.4964,
100
+ "train_tokens_per_second": 4245.781
101
+ },
102
+ {
103
+ "epoch": 1.789237668161435,
104
+ "grad_norm": 0.7430306077003479,
105
+ "learning_rate": 2.9877258050403212e-05,
106
+ "loss": 2.7217,
107
+ "num_input_tokens_seen": 1116064,
108
+ "step": 50,
109
+ "train_runtime": 262.8011,
110
+ "train_tokens_per_second": 4246.801
111
+ },
112
+ {
113
+ "epoch": 1.9686098654708521,
114
+ "grad_norm": 0.7268422245979309,
115
+ "learning_rate": 2.6401761180929797e-05,
116
+ "loss": 2.7066,
117
+ "num_input_tokens_seen": 1227808,
118
+ "step": 55,
119
+ "train_runtime": 289.1347,
120
+ "train_tokens_per_second": 4246.491
121
+ },
122
+ {
123
+ "epoch": 2.1434977578475336,
124
+ "grad_norm": 0.7635470032691956,
125
+ "learning_rate": 2.2898736876768815e-05,
126
+ "loss": 2.6038,
127
+ "num_input_tokens_seen": 1337104,
128
+ "step": 60,
129
+ "train_runtime": 314.8221,
130
+ "train_tokens_per_second": 4247.173
131
+ },
132
+ {
133
+ "epoch": 2.3228699551569507,
134
+ "grad_norm": 0.8516287207603455,
135
+ "learning_rate": 1.9436976651092144e-05,
136
+ "loss": 2.5954,
137
+ "num_input_tokens_seen": 1448976,
138
+ "step": 65,
139
+ "train_runtime": 341.1436,
140
+ "train_tokens_per_second": 4247.407
141
+ },
142
+ {
143
+ "epoch": 2.502242152466368,
144
+ "grad_norm": 0.8331743478775024,
145
+ "learning_rate": 1.6084461683442176e-05,
146
+ "loss": 2.6679,
147
+ "num_input_tokens_seen": 1560352,
148
+ "step": 70,
149
+ "train_runtime": 367.4136,
150
+ "train_tokens_per_second": 4246.854
151
+ },
152
+ {
153
+ "epoch": 2.681614349775785,
154
+ "grad_norm": 0.8733316659927368,
155
+ "learning_rate": 1.2907027822369005e-05,
156
+ "loss": 2.5975,
157
+ "num_input_tokens_seen": 1672176,
158
+ "step": 75,
159
+ "train_runtime": 393.7208,
160
+ "train_tokens_per_second": 4247.111
161
+ },
162
+ {
163
+ "epoch": 2.8609865470852016,
164
+ "grad_norm": 0.927335798740387,
165
+ "learning_rate": 9.967072717539851e-06,
166
+ "loss": 2.6389,
167
+ "num_input_tokens_seen": 1784448,
168
+ "step": 80,
169
+ "train_runtime": 420.1259,
170
+ "train_tokens_per_second": 4247.412
171
+ },
172
+ {
173
+ "epoch": 3.0358744394618835,
174
+ "grad_norm": 0.821441650390625,
175
+ "learning_rate": 7.3223304703363135e-06,
176
+ "loss": 2.4908,
177
+ "num_input_tokens_seen": 1893216,
178
+ "step": 85,
179
+ "train_runtime": 445.7557,
180
+ "train_tokens_per_second": 4247.205
181
+ },
182
+ {
183
+ "epoch": 3.2152466367713006,
184
+ "grad_norm": 0.8318443894386292,
185
+ "learning_rate": 5.02473786604378e-06,
186
+ "loss": 2.6384,
187
+ "num_input_tokens_seen": 2005392,
188
+ "step": 90,
189
+ "train_runtime": 472.0937,
190
+ "train_tokens_per_second": 4247.869
191
+ },
192
+ {
193
+ "epoch": 3.3946188340807173,
194
+ "grad_norm": 0.8994652628898621,
195
+ "learning_rate": 3.119414452281158e-06,
196
+ "loss": 2.5131,
197
+ "num_input_tokens_seen": 2117168,
198
+ "step": 95,
199
+ "train_runtime": 498.4113,
200
+ "train_tokens_per_second": 4247.833
201
+ },
202
+ {
203
+ "epoch": 3.5739910313901344,
204
+ "grad_norm": 0.9667345881462097,
205
+ "learning_rate": 1.6437764926350074e-06,
206
+ "loss": 2.5565,
207
+ "num_input_tokens_seen": 2229024,
208
+ "step": 100,
209
+ "train_runtime": 524.7221,
210
+ "train_tokens_per_second": 4248.009
211
+ },
212
+ {
213
+ "epoch": 3.7533632286995515,
214
+ "grad_norm": 0.8132877349853516,
215
+ "learning_rate": 6.268021954544096e-07,
216
+ "loss": 2.5378,
217
+ "num_input_tokens_seen": 2340688,
218
+ "step": 105,
219
+ "train_runtime": 552.8372,
220
+ "train_tokens_per_second": 4233.955
221
+ },
222
+ {
223
+ "epoch": 3.9327354260089686,
224
+ "grad_norm": 0.9859150648117065,
225
+ "learning_rate": 8.846264705952289e-08,
226
+ "loss": 2.5846,
227
+ "num_input_tokens_seen": 2452784,
228
+ "step": 110,
229
+ "train_runtime": 579.23,
230
+ "train_tokens_per_second": 4234.56
231
+ }
232
+ ],
233
+ "logging_steps": 5,
234
+ "max_steps": 112,
235
+ "num_input_tokens_seen": 2494624,
236
+ "num_train_epochs": 4,
237
+ "save_steps": 100,
238
+ "stateful_callbacks": {
239
+ "TrainerControl": {
240
+ "args": {
241
+ "should_epoch_stop": false,
242
+ "should_evaluate": false,
243
+ "should_log": false,
244
+ "should_save": true,
245
+ "should_training_stop": true
246
+ },
247
+ "attributes": {}
248
+ }
249
+ },
250
+ "total_flos": 1.0404813073494835e+17,
251
+ "train_batch_size": 2,
252
+ "trial_name": null,
253
+ "trial_params": null
254
+ }
checkpoint-112/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38c43db658eaa1d450fd25da35350814f9c84e2c2f8aed15977213a4dd95ff5d
3
+ size 6161
llamaboard_config.yaml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ top.booster: auto
2
+ top.checkpoint_path: []
3
+ top.finetuning_type: lora
4
+ top.model_name: LLaVA-1.5-7B-Chat
5
+ top.quantization_bit: none
6
+ top.quantization_method: bnb
7
+ top.rope_scaling: none
8
+ top.template: llava
9
+ train.additional_target: ''
10
+ train.apollo_rank: 16
11
+ train.apollo_scale: 32
12
+ train.apollo_target: all
13
+ train.apollo_update_interval: 200
14
+ train.badam_mode: layer
15
+ train.badam_switch_interval: 50
16
+ train.badam_switch_mode: ascending
17
+ train.badam_update_ratio: 0.05
18
+ train.batch_size: 2
19
+ train.compute_type: bf16
20
+ train.create_new_adapter: false
21
+ train.cutoff_len: 2048
22
+ train.dataset:
23
+ - sticker_labels_kfolds_train_4
24
+ train.dataset_dir: data
25
+ train.ds_offload: false
26
+ train.ds_stage: none
27
+ train.enable_thinking: true
28
+ train.extra_args: '{"optim": "adamw_torch"}'
29
+ train.freeze_extra_modules: ''
30
+ train.freeze_language_model: false
31
+ train.freeze_multi_modal_projector: true
32
+ train.freeze_trainable_layers: 2
33
+ train.freeze_trainable_modules: all
34
+ train.freeze_vision_tower: true
35
+ train.galore_rank: 16
36
+ train.galore_scale: 2
37
+ train.galore_target: all
38
+ train.galore_update_interval: 200
39
+ train.gradient_accumulation_steps: 8
40
+ train.image_max_pixels: 768*768
41
+ train.image_min_pixels: 32*32
42
+ train.learning_rate: 5e-5
43
+ train.logging_steps: 5
44
+ train.lora_alpha: 16
45
+ train.lora_dropout: 0
46
+ train.lora_rank: 8
47
+ train.lora_target: ''
48
+ train.loraplus_lr_ratio: 0
49
+ train.lr_scheduler_type: cosine
50
+ train.mask_history: false
51
+ train.max_grad_norm: '1.0'
52
+ train.max_samples: '100000'
53
+ train.neat_packing: false
54
+ train.neftune_alpha: 0
55
+ train.num_train_epochs: '4'
56
+ train.packing: false
57
+ train.ppo_score_norm: false
58
+ train.ppo_whiten_rewards: false
59
+ train.pref_beta: 0.1
60
+ train.pref_ftx: 0
61
+ train.pref_loss: sigmoid
62
+ train.report_to: none
63
+ train.resize_vocab: false
64
+ train.reward_model: null
65
+ train.save_steps: 100
66
+ train.swanlab_api_key: ''
67
+ train.swanlab_link: ''
68
+ train.swanlab_mode: cloud
69
+ train.swanlab_project: llamafactory
70
+ train.swanlab_run_name: ''
71
+ train.swanlab_workspace: ''
72
+ train.train_on_prompt: false
73
+ train.training_stage: Supervised Fine-Tuning
74
+ train.use_apollo: false
75
+ train.use_badam: false
76
+ train.use_dora: false
77
+ train.use_galore: false
78
+ train.use_llama_pro: false
79
+ train.use_pissa: false
80
+ train.use_rslora: false
81
+ train.use_swanlab: false
82
+ train.val_size: 0
83
+ train.video_max_pixels: 256*256
84
+ train.video_min_pixels: 16*16
85
+ train.warmup_steps: 0
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 336,
4
+ "width": 336
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "CLIPImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "processor_class": "LlavaProcessor",
23
+ "resample": 3,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "shortest_edge": 336
27
+ }
28
+ }
processor_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_token": "<image>",
3
+ "num_additional_image_tokens": 1,
4
+ "patch_size": 14,
5
+ "processor_class": "LlavaProcessor",
6
+ "vision_feature_select_strategy": "default"
7
+ }
running_log.txt ADDED
@@ -0,0 +1,564 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [INFO|2025-05-27 22:39:19] tokenization_utils_base.py:2023 >> loading file tokenizer.model from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer.model
2
+
3
+ [INFO|2025-05-27 22:39:19] tokenization_utils_base.py:2023 >> loading file tokenizer.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer.json
4
+
5
+ [INFO|2025-05-27 22:39:19] tokenization_utils_base.py:2023 >> loading file added_tokens.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/added_tokens.json
6
+
7
+ [INFO|2025-05-27 22:39:19] tokenization_utils_base.py:2023 >> loading file special_tokens_map.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/special_tokens_map.json
8
+
9
+ [INFO|2025-05-27 22:39:19] tokenization_utils_base.py:2023 >> loading file tokenizer_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer_config.json
10
+
11
+ [INFO|2025-05-27 22:39:19] tokenization_utils_base.py:2023 >> loading file chat_template.jinja from cache at None
12
+
13
+ [INFO|2025-05-27 22:39:19] tokenization_utils_base.py:2299 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
14
+
15
+ [WARNING|2025-05-27 22:39:20] logging.py:328 >> Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.52, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
16
+
17
+ [INFO|2025-05-27 22:39:20] processing_utils.py:930 >> loading configuration file processor_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/processor_config.json
18
+
19
+ [INFO|2025-05-27 22:39:20] image_processing_base.py:380 >> loading configuration file preprocessor_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/preprocessor_config.json
20
+
21
+ [WARNING|2025-05-27 22:39:20] logging.py:328 >> Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.52, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
22
+
23
+ [INFO|2025-05-27 22:39:20] image_processing_base.py:433 >> Image processor CLIPImageProcessor {
24
+ "crop_size": {
25
+ "height": 336,
26
+ "width": 336
27
+ },
28
+ "do_center_crop": true,
29
+ "do_convert_rgb": true,
30
+ "do_normalize": true,
31
+ "do_rescale": true,
32
+ "do_resize": true,
33
+ "image_mean": [
34
+ 0.48145466,
35
+ 0.4578275,
36
+ 0.40821073
37
+ ],
38
+ "image_processor_type": "CLIPImageProcessor",
39
+ "image_std": [
40
+ 0.26862954,
41
+ 0.26130258,
42
+ 0.27577711
43
+ ],
44
+ "processor_class": "LlavaProcessor",
45
+ "resample": 3,
46
+ "rescale_factor": 0.00392156862745098,
47
+ "size": {
48
+ "shortest_edge": 336
49
+ }
50
+ }
51
+
52
+
53
+ [INFO|2025-05-27 22:39:21] tokenization_utils_base.py:2023 >> loading file tokenizer.model from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer.model
54
+
55
+ [INFO|2025-05-27 22:39:21] tokenization_utils_base.py:2023 >> loading file tokenizer.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer.json
56
+
57
+ [INFO|2025-05-27 22:39:21] tokenization_utils_base.py:2023 >> loading file added_tokens.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/added_tokens.json
58
+
59
+ [INFO|2025-05-27 22:39:21] tokenization_utils_base.py:2023 >> loading file special_tokens_map.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/special_tokens_map.json
60
+
61
+ [INFO|2025-05-27 22:39:21] tokenization_utils_base.py:2023 >> loading file tokenizer_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer_config.json
62
+
63
+ [INFO|2025-05-27 22:39:21] tokenization_utils_base.py:2023 >> loading file chat_template.jinja from cache at None
64
+
65
+ [INFO|2025-05-27 22:39:21] tokenization_utils_base.py:2299 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
66
+
67
+ [INFO|2025-05-27 22:39:22] processing_utils.py:930 >> loading configuration file processor_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/processor_config.json
68
+
69
+ [INFO|2025-05-27 22:39:22] processing_utils.py:990 >> Processor LlavaProcessor:
70
+ - image_processor: CLIPImageProcessor {
71
+ "crop_size": {
72
+ "height": 336,
73
+ "width": 336
74
+ },
75
+ "do_center_crop": true,
76
+ "do_convert_rgb": true,
77
+ "do_normalize": true,
78
+ "do_rescale": true,
79
+ "do_resize": true,
80
+ "image_mean": [
81
+ 0.48145466,
82
+ 0.4578275,
83
+ 0.40821073
84
+ ],
85
+ "image_processor_type": "CLIPImageProcessor",
86
+ "image_std": [
87
+ 0.26862954,
88
+ 0.26130258,
89
+ 0.27577711
90
+ ],
91
+ "processor_class": "LlavaProcessor",
92
+ "resample": 3,
93
+ "rescale_factor": 0.00392156862745098,
94
+ "size": {
95
+ "shortest_edge": 336
96
+ }
97
+ }
98
+
99
+ - tokenizer: LlamaTokenizerFast(name_or_path='llava-hf/llava-1.5-7b-hf', vocab_size=32000, model_max_length=1000000000000000019884624838656, is_fast=True, padding_side='left', truncation_side='right', special_tokens={'bos_token': '<s>', 'eos_token': '</s>', 'unk_token': '<unk>', 'pad_token': '<pad>', 'image_token': '<image>'}, clean_up_tokenization_spaces=False, added_tokens_decoder={
100
+ 0: AddedToken("<unk>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
101
+ 1: AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
102
+ 2: AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
103
+ 32000: AddedToken("<image>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
104
+ 32001: AddedToken("<pad>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
105
+ }
106
+ )
107
+
108
+ {
109
+ "image_token": "<image>",
110
+ "num_additional_image_tokens": 1,
111
+ "patch_size": 14,
112
+ "processor_class": "LlavaProcessor",
113
+ "vision_feature_select_strategy": "default"
114
+ }
115
+
116
+
117
+ [INFO|2025-05-27 22:39:22] logging.py:143 >> Loading dataset /home/tsinghuaair/mawz/xxe_metchee/finetune-llms/llava-1.5-7b-hf-sticker-labels/kfold_output/fold_4/stickers_label_train.json...
118
+
119
+ [INFO|2025-05-27 22:39:26] configuration_utils.py:698 >> loading configuration file config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/config.json
120
+
121
+ [INFO|2025-05-27 22:39:26] configuration_utils.py:770 >> Model config LlavaConfig {
122
+ "architectures": [
123
+ "LlavaForConditionalGeneration"
124
+ ],
125
+ "ignore_index": -100,
126
+ "image_seq_length": 576,
127
+ "image_token_index": 32000,
128
+ "model_type": "llava",
129
+ "multimodal_projector_bias": true,
130
+ "pad_token_id": 32001,
131
+ "projector_hidden_act": "gelu",
132
+ "text_config": {
133
+ "_name_or_path": "lmsys/vicuna-7b-v1.5",
134
+ "architectures": [
135
+ "LlamaForCausalLM"
136
+ ],
137
+ "attention_bias": false,
138
+ "attention_dropout": 0.0,
139
+ "head_dim": 128,
140
+ "hidden_act": "silu",
141
+ "hidden_size": 4096,
142
+ "initializer_range": 0.02,
143
+ "intermediate_size": 11008,
144
+ "max_position_embeddings": 4096,
145
+ "mlp_bias": false,
146
+ "model_type": "llama",
147
+ "num_attention_heads": 32,
148
+ "num_hidden_layers": 32,
149
+ "num_key_value_heads": 32,
150
+ "pretraining_tp": 1,
151
+ "rms_norm_eps": 1e-05,
152
+ "rope_scaling": null,
153
+ "rope_theta": 10000.0,
154
+ "torch_dtype": "float16",
155
+ "use_cache": true,
156
+ "vocab_size": 32064
157
+ },
158
+ "tie_word_embeddings": false,
159
+ "torch_dtype": "float16",
160
+ "transformers_version": "4.52.1",
161
+ "vision_config": {
162
+ "attention_dropout": 0.0,
163
+ "hidden_act": "quick_gelu",
164
+ "hidden_size": 1024,
165
+ "image_size": 336,
166
+ "initializer_factor": 1.0,
167
+ "initializer_range": 0.02,
168
+ "intermediate_size": 4096,
169
+ "layer_norm_eps": 1e-05,
170
+ "model_type": "clip_vision_model",
171
+ "num_attention_heads": 16,
172
+ "num_channels": 3,
173
+ "num_hidden_layers": 24,
174
+ "patch_size": 14,
175
+ "projection_dim": 768,
176
+ "vocab_size": 32000
177
+ },
178
+ "vision_feature_layer": -2,
179
+ "vision_feature_select_strategy": "default",
180
+ "vocab_size": 32064
181
+ }
182
+
183
+
184
+ [INFO|2025-05-27 22:39:26] logging.py:143 >> KV cache is disabled during training.
185
+
186
+ [INFO|2025-05-27 22:39:26] modeling_utils.py:1149 >> loading weights file model.safetensors from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/model.safetensors.index.json
187
+
188
+ [INFO|2025-05-27 22:39:26] modeling_utils.py:2239 >> Instantiating LlavaForConditionalGeneration model under default dtype torch.bfloat16.
189
+
190
+ [INFO|2025-05-27 22:39:26] configuration_utils.py:1135 >> Generate config GenerationConfig {
191
+ "pad_token_id": 32001,
192
+ "use_cache": false
193
+ }
194
+
195
+
196
+ [INFO|2025-05-27 22:39:27] modeling_utils.py:2239 >> Instantiating CLIPVisionModel model under default dtype torch.bfloat16.
197
+
198
+ [INFO|2025-05-27 22:39:27] modeling_utils.py:2239 >> Instantiating LlamaModel model under default dtype torch.bfloat16.
199
+
200
+ [INFO|2025-05-27 22:39:30] modeling_utils.py:5170 >> All model checkpoint weights were used when initializing LlavaForConditionalGeneration.
201
+
202
+
203
+ [INFO|2025-05-27 22:39:30] modeling_utils.py:5178 >> All the weights of LlavaForConditionalGeneration were initialized from the model checkpoint at llava-hf/llava-1.5-7b-hf.
204
+ If your task is similar to the task the model of the checkpoint was trained on, you can already use LlavaForConditionalGeneration for predictions without further training.
205
+
206
+ [INFO|2025-05-27 22:39:30] configuration_utils.py:1090 >> loading configuration file generation_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/generation_config.json
207
+
208
+ [INFO|2025-05-27 22:39:30] configuration_utils.py:1135 >> Generate config GenerationConfig {
209
+ "bos_token_id": 1,
210
+ "eos_token_id": 2,
211
+ "pad_token_id": 32001
212
+ }
213
+
214
+
215
+ [INFO|2025-05-27 22:39:31] logging.py:143 >> Gradient checkpointing enabled.
216
+
217
+ [INFO|2025-05-27 22:39:31] logging.py:143 >> Using torch SDPA for faster training and inference.
218
+
219
+ [INFO|2025-05-27 22:39:31] logging.py:143 >> Upcasting trainable params to float32.
220
+
221
+ [INFO|2025-05-27 22:39:31] logging.py:143 >> Fine-tuning method: LoRA
222
+
223
+ [INFO|2025-05-27 22:39:31] logging.py:143 >> Found linear modules: k_proj,v_proj,q_proj,o_proj,gate_proj,up_proj,down_proj
224
+
225
+ [INFO|2025-05-27 22:39:31] logging.py:143 >> Set vision model not trainable: ['vision_tower'].
226
+
227
+ [INFO|2025-05-27 22:39:31] logging.py:143 >> Set multi model projector not trainable: multi_modal_projector.
228
+
229
+ [INFO|2025-05-27 22:39:31] logging.py:143 >> trainable params: 19,988,480 || all params: 7,083,415,552 || trainable%: 0.2822
230
+
231
+ [INFO|2025-05-27 22:39:31] trainer.py:756 >> Using auto half precision backend
232
+
233
+ [INFO|2025-05-27 22:39:32] trainer.py:2409 >> ***** Running training *****
234
+
235
+ [INFO|2025-05-27 22:39:32] trainer.py:2410 >> Num examples = 890
236
+
237
+ [INFO|2025-05-27 22:39:32] trainer.py:2411 >> Num Epochs = 4
238
+
239
+ [INFO|2025-05-27 22:39:32] trainer.py:2412 >> Instantaneous batch size per device = 2
240
+
241
+ [INFO|2025-05-27 22:39:32] trainer.py:2415 >> Total train batch size (w. parallel, distributed & accumulation) = 32
242
+
243
+ [INFO|2025-05-27 22:39:32] trainer.py:2416 >> Gradient Accumulation steps = 8
244
+
245
+ [INFO|2025-05-27 22:39:32] trainer.py:2417 >> Total optimization steps = 112
246
+
247
+ [INFO|2025-05-27 22:39:32] trainer.py:2418 >> Number of trainable parameters = 19,988,480
248
+
249
+ [WARNING|2025-05-27 22:39:34] logging.py:328 >> `loss_type=None` was set in the config but it is unrecognised.Using the default loss: `ForCausalLMLoss`.
250
+
251
+ [WARNING|2025-05-27 22:39:34] logging.py:328 >> `loss_type=None` was set in the config but it is unrecognised.Using the default loss: `ForCausalLMLoss`.
252
+
253
+ [INFO|2025-05-27 22:39:59] logging.py:143 >> {'loss': 3.5214, 'learning_rate': 4.9843e-05, 'epoch': 0.18, 'throughput': 4196.48}
254
+
255
+ [INFO|2025-05-27 22:40:25] logging.py:143 >> {'loss': 3.3636, 'learning_rate': 4.9208e-05, 'epoch': 0.36, 'throughput': 4256.30}
256
+
257
+ [INFO|2025-05-27 22:40:51] logging.py:143 >> {'loss': 3.0641, 'learning_rate': 4.8097e-05, 'epoch': 0.54, 'throughput': 4270.16}
258
+
259
+ [INFO|2025-05-27 22:41:17] logging.py:143 >> {'loss': 2.9922, 'learning_rate': 4.6533e-05, 'epoch': 0.72, 'throughput': 4270.54}
260
+
261
+ [INFO|2025-05-27 22:41:44] logging.py:143 >> {'loss': 3.0359, 'learning_rate': 4.4546e-05, 'epoch': 0.90, 'throughput': 4269.56}
262
+
263
+ [INFO|2025-05-27 22:42:09] logging.py:143 >> {'loss': 2.8250, 'learning_rate': 4.2175e-05, 'epoch': 1.07, 'throughput': 4268.14}
264
+
265
+ [INFO|2025-05-27 22:42:35] logging.py:143 >> {'loss': 2.8427, 'learning_rate': 3.9467e-05, 'epoch': 1.25, 'throughput': 4266.21}
266
+
267
+ [INFO|2025-05-27 22:43:02] logging.py:143 >> {'loss': 2.7976, 'learning_rate': 3.6475e-05, 'epoch': 1.43, 'throughput': 4263.24}
268
+
269
+ [INFO|2025-05-27 22:43:28] logging.py:143 >> {'loss': 2.6764, 'learning_rate': 3.3257e-05, 'epoch': 1.61, 'throughput': 4261.43}
270
+
271
+ [INFO|2025-05-27 22:43:54] logging.py:143 >> {'loss': 2.7217, 'learning_rate': 2.9877e-05, 'epoch': 1.79, 'throughput': 4260.88}
272
+
273
+ [INFO|2025-05-27 22:44:21] logging.py:143 >> {'loss': 2.7066, 'learning_rate': 2.6402e-05, 'epoch': 1.97, 'throughput': 4259.29}
274
+
275
+ [INFO|2025-05-27 22:44:46] logging.py:143 >> {'loss': 2.6038, 'learning_rate': 2.2899e-05, 'epoch': 2.14, 'throughput': 4258.92}
276
+
277
+ [INFO|2025-05-27 22:45:13] logging.py:143 >> {'loss': 2.5954, 'learning_rate': 1.9437e-05, 'epoch': 2.32, 'throughput': 4258.25}
278
+
279
+ [INFO|2025-05-27 22:45:39] logging.py:143 >> {'loss': 2.6679, 'learning_rate': 1.6084e-05, 'epoch': 2.50, 'throughput': 4256.92}
280
+
281
+ [INFO|2025-05-27 22:46:05] logging.py:143 >> {'loss': 2.5975, 'learning_rate': 1.2907e-05, 'epoch': 2.68, 'throughput': 4256.50}
282
+
283
+ [INFO|2025-05-27 22:46:32] logging.py:143 >> {'loss': 2.6389, 'learning_rate': 9.9671e-06, 'epoch': 2.86, 'throughput': 4256.21}
284
+
285
+ [INFO|2025-05-27 22:46:57] logging.py:143 >> {'loss': 2.4908, 'learning_rate': 7.3223e-06, 'epoch': 3.04, 'throughput': 4255.50}
286
+
287
+ [INFO|2025-05-27 22:47:24] logging.py:143 >> {'loss': 2.6384, 'learning_rate': 5.0247e-06, 'epoch': 3.22, 'throughput': 4255.70}
288
+
289
+ [INFO|2025-05-27 22:47:50] logging.py:143 >> {'loss': 2.5131, 'learning_rate': 3.1194e-06, 'epoch': 3.39, 'throughput': 4255.25}
290
+
291
+ [INFO|2025-05-27 22:48:16] logging.py:143 >> {'loss': 2.5565, 'learning_rate': 1.6438e-06, 'epoch': 3.57, 'throughput': 4255.05}
292
+
293
+ [INFO|2025-05-27 22:48:16] trainer.py:3993 >> Saving model checkpoint to saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-100
294
+
295
+ [INFO|2025-05-27 22:48:17] configuration_utils.py:698 >> loading configuration file config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/config.json
296
+
297
+ [INFO|2025-05-27 22:48:17] configuration_utils.py:770 >> Model config LlavaConfig {
298
+ "architectures": [
299
+ "LlavaForConditionalGeneration"
300
+ ],
301
+ "ignore_index": -100,
302
+ "image_seq_length": 576,
303
+ "image_token_index": 32000,
304
+ "model_type": "llava",
305
+ "multimodal_projector_bias": true,
306
+ "pad_token_id": 32001,
307
+ "projector_hidden_act": "gelu",
308
+ "text_config": {
309
+ "_name_or_path": "lmsys/vicuna-7b-v1.5",
310
+ "architectures": [
311
+ "LlamaForCausalLM"
312
+ ],
313
+ "attention_bias": false,
314
+ "attention_dropout": 0.0,
315
+ "head_dim": 128,
316
+ "hidden_act": "silu",
317
+ "hidden_size": 4096,
318
+ "initializer_range": 0.02,
319
+ "intermediate_size": 11008,
320
+ "max_position_embeddings": 4096,
321
+ "mlp_bias": false,
322
+ "model_type": "llama",
323
+ "num_attention_heads": 32,
324
+ "num_hidden_layers": 32,
325
+ "num_key_value_heads": 32,
326
+ "pretraining_tp": 1,
327
+ "rms_norm_eps": 1e-05,
328
+ "rope_scaling": null,
329
+ "rope_theta": 10000.0,
330
+ "torch_dtype": "float16",
331
+ "use_cache": true,
332
+ "vocab_size": 32064
333
+ },
334
+ "tie_word_embeddings": false,
335
+ "torch_dtype": "float16",
336
+ "transformers_version": "4.52.1",
337
+ "vision_config": {
338
+ "attention_dropout": 0.0,
339
+ "hidden_act": "quick_gelu",
340
+ "hidden_size": 1024,
341
+ "image_size": 336,
342
+ "initializer_factor": 1.0,
343
+ "initializer_range": 0.02,
344
+ "intermediate_size": 4096,
345
+ "layer_norm_eps": 1e-05,
346
+ "model_type": "clip_vision_model",
347
+ "num_attention_heads": 16,
348
+ "num_channels": 3,
349
+ "num_hidden_layers": 24,
350
+ "patch_size": 14,
351
+ "projection_dim": 768,
352
+ "vocab_size": 32000
353
+ },
354
+ "vision_feature_layer": -2,
355
+ "vision_feature_select_strategy": "default",
356
+ "vocab_size": 32064
357
+ }
358
+
359
+
360
+ [INFO|2025-05-27 22:48:17] tokenization_utils_base.py:2356 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-100/chat_template.jinja
361
+
362
+ [INFO|2025-05-27 22:48:17] tokenization_utils_base.py:2525 >> tokenizer config file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-100/tokenizer_config.json
363
+
364
+ [INFO|2025-05-27 22:48:17] tokenization_utils_base.py:2534 >> Special tokens file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-100/special_tokens_map.json
365
+
366
+ [INFO|2025-05-27 22:48:18] image_processing_base.py:260 >> Image processor saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-100/preprocessor_config.json
367
+
368
+ [INFO|2025-05-27 22:48:18] tokenization_utils_base.py:2356 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-100/chat_template.jinja
369
+
370
+ [INFO|2025-05-27 22:48:18] tokenization_utils_base.py:2525 >> tokenizer config file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-100/tokenizer_config.json
371
+
372
+ [INFO|2025-05-27 22:48:18] tokenization_utils_base.py:2534 >> Special tokens file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-100/special_tokens_map.json
373
+
374
+ [INFO|2025-05-27 22:48:18] processing_utils.py:674 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-100/chat_template.jinja
375
+
376
+ [INFO|2025-05-27 22:48:18] processing_utils.py:709 >> processor saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-100/processor_config.json
377
+
378
+ [INFO|2025-05-27 22:48:45] logging.py:143 >> {'loss': 2.5378, 'learning_rate': 6.2680e-07, 'epoch': 3.75, 'throughput': 4240.62}
379
+
380
+ [INFO|2025-05-27 22:49:11] logging.py:143 >> {'loss': 2.5846, 'learning_rate': 8.8463e-08, 'epoch': 3.93, 'throughput': 4240.92}
381
+
382
+ [INFO|2025-05-27 22:49:21] trainer.py:3993 >> Saving model checkpoint to saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-112
383
+
384
+ [INFO|2025-05-27 22:49:22] configuration_utils.py:698 >> loading configuration file config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/config.json
385
+
386
+ [INFO|2025-05-27 22:49:22] configuration_utils.py:770 >> Model config LlavaConfig {
387
+ "architectures": [
388
+ "LlavaForConditionalGeneration"
389
+ ],
390
+ "ignore_index": -100,
391
+ "image_seq_length": 576,
392
+ "image_token_index": 32000,
393
+ "model_type": "llava",
394
+ "multimodal_projector_bias": true,
395
+ "pad_token_id": 32001,
396
+ "projector_hidden_act": "gelu",
397
+ "text_config": {
398
+ "_name_or_path": "lmsys/vicuna-7b-v1.5",
399
+ "architectures": [
400
+ "LlamaForCausalLM"
401
+ ],
402
+ "attention_bias": false,
403
+ "attention_dropout": 0.0,
404
+ "head_dim": 128,
405
+ "hidden_act": "silu",
406
+ "hidden_size": 4096,
407
+ "initializer_range": 0.02,
408
+ "intermediate_size": 11008,
409
+ "max_position_embeddings": 4096,
410
+ "mlp_bias": false,
411
+ "model_type": "llama",
412
+ "num_attention_heads": 32,
413
+ "num_hidden_layers": 32,
414
+ "num_key_value_heads": 32,
415
+ "pretraining_tp": 1,
416
+ "rms_norm_eps": 1e-05,
417
+ "rope_scaling": null,
418
+ "rope_theta": 10000.0,
419
+ "torch_dtype": "float16",
420
+ "use_cache": true,
421
+ "vocab_size": 32064
422
+ },
423
+ "tie_word_embeddings": false,
424
+ "torch_dtype": "float16",
425
+ "transformers_version": "4.52.1",
426
+ "vision_config": {
427
+ "attention_dropout": 0.0,
428
+ "hidden_act": "quick_gelu",
429
+ "hidden_size": 1024,
430
+ "image_size": 336,
431
+ "initializer_factor": 1.0,
432
+ "initializer_range": 0.02,
433
+ "intermediate_size": 4096,
434
+ "layer_norm_eps": 1e-05,
435
+ "model_type": "clip_vision_model",
436
+ "num_attention_heads": 16,
437
+ "num_channels": 3,
438
+ "num_hidden_layers": 24,
439
+ "patch_size": 14,
440
+ "projection_dim": 768,
441
+ "vocab_size": 32000
442
+ },
443
+ "vision_feature_layer": -2,
444
+ "vision_feature_select_strategy": "default",
445
+ "vocab_size": 32064
446
+ }
447
+
448
+
449
+ [INFO|2025-05-27 22:49:22] tokenization_utils_base.py:2356 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-112/chat_template.jinja
450
+
451
+ [INFO|2025-05-27 22:49:22] tokenization_utils_base.py:2525 >> tokenizer config file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-112/tokenizer_config.json
452
+
453
+ [INFO|2025-05-27 22:49:22] tokenization_utils_base.py:2534 >> Special tokens file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-112/special_tokens_map.json
454
+
455
+ [INFO|2025-05-27 22:49:23] image_processing_base.py:260 >> Image processor saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-112/preprocessor_config.json
456
+
457
+ [INFO|2025-05-27 22:49:23] tokenization_utils_base.py:2356 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-112/chat_template.jinja
458
+
459
+ [INFO|2025-05-27 22:49:23] tokenization_utils_base.py:2525 >> tokenizer config file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-112/tokenizer_config.json
460
+
461
+ [INFO|2025-05-27 22:49:23] tokenization_utils_base.py:2534 >> Special tokens file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-112/special_tokens_map.json
462
+
463
+ [INFO|2025-05-27 22:49:23] processing_utils.py:674 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-112/chat_template.jinja
464
+
465
+ [INFO|2025-05-27 22:49:23] processing_utils.py:709 >> processor saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/checkpoint-112/processor_config.json
466
+
467
+ [INFO|2025-05-27 22:49:23] trainer.py:2676 >>
468
+
469
+ Training completed. Do not forget to share your model on huggingface.co/models =)
470
+
471
+
472
+
473
+ [INFO|2025-05-27 22:49:23] image_processing_base.py:260 >> Image processor saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/preprocessor_config.json
474
+
475
+ [INFO|2025-05-27 22:49:23] tokenization_utils_base.py:2356 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/chat_template.jinja
476
+
477
+ [INFO|2025-05-27 22:49:23] tokenization_utils_base.py:2525 >> tokenizer config file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/tokenizer_config.json
478
+
479
+ [INFO|2025-05-27 22:49:23] tokenization_utils_base.py:2534 >> Special tokens file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/special_tokens_map.json
480
+
481
+ [INFO|2025-05-27 22:49:23] processing_utils.py:674 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/chat_template.jinja
482
+
483
+ [INFO|2025-05-27 22:49:23] processing_utils.py:709 >> processor saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/processor_config.json
484
+
485
+ [INFO|2025-05-27 22:49:23] trainer.py:3993 >> Saving model checkpoint to saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs
486
+
487
+ [INFO|2025-05-27 22:49:24] configuration_utils.py:698 >> loading configuration file config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/config.json
488
+
489
+ [INFO|2025-05-27 22:49:24] configuration_utils.py:770 >> Model config LlavaConfig {
490
+ "architectures": [
491
+ "LlavaForConditionalGeneration"
492
+ ],
493
+ "ignore_index": -100,
494
+ "image_seq_length": 576,
495
+ "image_token_index": 32000,
496
+ "model_type": "llava",
497
+ "multimodal_projector_bias": true,
498
+ "pad_token_id": 32001,
499
+ "projector_hidden_act": "gelu",
500
+ "text_config": {
501
+ "_name_or_path": "lmsys/vicuna-7b-v1.5",
502
+ "architectures": [
503
+ "LlamaForCausalLM"
504
+ ],
505
+ "attention_bias": false,
506
+ "attention_dropout": 0.0,
507
+ "head_dim": 128,
508
+ "hidden_act": "silu",
509
+ "hidden_size": 4096,
510
+ "initializer_range": 0.02,
511
+ "intermediate_size": 11008,
512
+ "max_position_embeddings": 4096,
513
+ "mlp_bias": false,
514
+ "model_type": "llama",
515
+ "num_attention_heads": 32,
516
+ "num_hidden_layers": 32,
517
+ "num_key_value_heads": 32,
518
+ "pretraining_tp": 1,
519
+ "rms_norm_eps": 1e-05,
520
+ "rope_scaling": null,
521
+ "rope_theta": 10000.0,
522
+ "torch_dtype": "float16",
523
+ "use_cache": true,
524
+ "vocab_size": 32064
525
+ },
526
+ "tie_word_embeddings": false,
527
+ "torch_dtype": "float16",
528
+ "transformers_version": "4.52.1",
529
+ "vision_config": {
530
+ "attention_dropout": 0.0,
531
+ "hidden_act": "quick_gelu",
532
+ "hidden_size": 1024,
533
+ "image_size": 336,
534
+ "initializer_factor": 1.0,
535
+ "initializer_range": 0.02,
536
+ "intermediate_size": 4096,
537
+ "layer_norm_eps": 1e-05,
538
+ "model_type": "clip_vision_model",
539
+ "num_attention_heads": 16,
540
+ "num_channels": 3,
541
+ "num_hidden_layers": 24,
542
+ "patch_size": 14,
543
+ "projection_dim": 768,
544
+ "vocab_size": 32000
545
+ },
546
+ "vision_feature_layer": -2,
547
+ "vision_feature_select_strategy": "default",
548
+ "vocab_size": 32064
549
+ }
550
+
551
+
552
+ [INFO|2025-05-27 22:49:24] tokenization_utils_base.py:2356 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/chat_template.jinja
553
+
554
+ [INFO|2025-05-27 22:49:24] tokenization_utils_base.py:2525 >> tokenizer config file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/tokenizer_config.json
555
+
556
+ [INFO|2025-05-27 22:49:24] tokenization_utils_base.py:2534 >> Special tokens file saved in saves/LLaVA-1.5-7B-Chat/lora/train_k_folds_4_4_epochs/special_tokens_map.json
557
+
558
+ [WARNING|2025-05-27 22:49:25] logging.py:148 >> No metric eval_loss to plot.
559
+
560
+ [WARNING|2025-05-27 22:49:25] logging.py:148 >> No metric eval_accuracy to plot.
561
+
562
+ [INFO|2025-05-27 22:49:25] modelcard.py:450 >> Dropping the following result as it does not have all the necessary fields:
563
+ {'task': {'name': 'Causal Language Modeling', 'type': 'text-generation'}}
564
+
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "image_token": "<image>",
17
+ "pad_token": {
18
+ "content": "<pad>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "unk_token": {
25
+ "content": "<unk>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "32000": {
31
+ "content": "<image>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
+ "content": "<pad>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ }
46
+ },
47
+ "bos_token": "<s>",
48
+ "clean_up_tokenization_spaces": false,
49
+ "eos_token": "</s>",
50
+ "extra_special_tokens": {
51
+ "image_token": "<image>"
52
+ },
53
+ "image_token": "<image>",
54
+ "legacy": false,
55
+ "model_max_length": 1000000000000000019884624838656,
56
+ "pad_token": "<pad>",
57
+ "padding_side": "right",
58
+ "processor_class": "LlavaProcessor",
59
+ "sp_model_kwargs": {},
60
+ "split_special_tokens": false,
61
+ "tokenizer_class": "LlamaTokenizer",
62
+ "trust_remote_code": false,
63
+ "unk_token": "<unk>",
64
+ "use_default_system_prompt": false
65
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "num_input_tokens_seen": 2494624,
4
+ "total_flos": 1.0404813073494835e+17,
5
+ "train_loss": 2.765545678990228,
6
+ "train_runtime": 591.3728,
7
+ "train_samples_per_second": 6.02,
8
+ "train_steps_per_second": 0.189
9
+ }
trainer_log.jsonl ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"current_steps": 5, "total_steps": 112, "loss": 3.5214, "lr": 4.984280524733107e-05, "epoch": 0.17937219730941703, "percentage": 4.46, "elapsed_time": "0:00:26", "remaining_time": "0:09:30", "throughput": 4196.48, "total_tokens": 111952}
2
+ {"current_steps": 10, "total_steps": 112, "loss": 3.3636, "lr": 4.9207588053056545e-05, "epoch": 0.35874439461883406, "percentage": 8.93, "elapsed_time": "0:00:52", "remaining_time": "0:08:56", "throughput": 4256.3, "total_tokens": 223776}
3
+ {"current_steps": 15, "total_steps": 112, "loss": 3.0641, "lr": 4.8096988312782174e-05, "epoch": 0.5381165919282511, "percentage": 13.39, "elapsed_time": "0:01:18", "remaining_time": "0:08:28", "throughput": 4270.16, "total_tokens": 335600}
4
+ {"current_steps": 20, "total_steps": 112, "loss": 2.9922, "lr": 4.653281570581023e-05, "epoch": 0.7174887892376681, "percentage": 17.86, "elapsed_time": "0:01:44", "remaining_time": "0:08:01", "throughput": 4270.54, "total_tokens": 447424}
5
+ {"current_steps": 25, "total_steps": 112, "loss": 3.0359, "lr": 4.454578706170075e-05, "epoch": 0.8968609865470852, "percentage": 22.32, "elapsed_time": "0:02:11", "remaining_time": "0:07:35", "throughput": 4269.56, "total_tokens": 559328}
6
+ {"current_steps": 30, "total_steps": 112, "loss": 2.825, "lr": 4.2174923150872544e-05, "epoch": 1.0717488789237668, "percentage": 26.79, "elapsed_time": "0:02:36", "remaining_time": "0:07:08", "throughput": 4268.14, "total_tokens": 668544}
7
+ {"current_steps": 35, "total_steps": 112, "loss": 2.8427, "lr": 3.946678240449515e-05, "epoch": 1.251121076233184, "percentage": 31.25, "elapsed_time": "0:03:02", "remaining_time": "0:06:42", "throughput": 4266.21, "total_tokens": 780496}
8
+ {"current_steps": 40, "total_steps": 112, "loss": 2.7976, "lr": 3.6474546611688445e-05, "epoch": 1.4304932735426008, "percentage": 35.71, "elapsed_time": "0:03:29", "remaining_time": "0:06:16", "throughput": 4263.24, "total_tokens": 892128}
9
+ {"current_steps": 45, "total_steps": 112, "loss": 2.6764, "lr": 3.3256976548879184e-05, "epoch": 1.609865470852018, "percentage": 40.18, "elapsed_time": "0:03:55", "remaining_time": "0:05:50", "throughput": 4261.43, "total_tokens": 1004112}
10
+ {"current_steps": 50, "total_steps": 112, "loss": 2.7217, "lr": 2.9877258050403212e-05, "epoch": 1.789237668161435, "percentage": 44.64, "elapsed_time": "0:04:21", "remaining_time": "0:05:24", "throughput": 4260.88, "total_tokens": 1116064}
11
+ {"current_steps": 55, "total_steps": 112, "loss": 2.7066, "lr": 2.6401761180929797e-05, "epoch": 1.9686098654708521, "percentage": 49.11, "elapsed_time": "0:04:48", "remaining_time": "0:04:58", "throughput": 4259.29, "total_tokens": 1227808}
12
+ {"current_steps": 60, "total_steps": 112, "loss": 2.6038, "lr": 2.2898736876768815e-05, "epoch": 2.1434977578475336, "percentage": 53.57, "elapsed_time": "0:05:13", "remaining_time": "0:04:32", "throughput": 4258.92, "total_tokens": 1337104}
13
+ {"current_steps": 65, "total_steps": 112, "loss": 2.5954, "lr": 1.9436976651092144e-05, "epoch": 2.3228699551569507, "percentage": 58.04, "elapsed_time": "0:05:40", "remaining_time": "0:04:06", "throughput": 4258.25, "total_tokens": 1448976}
14
+ {"current_steps": 70, "total_steps": 112, "loss": 2.6679, "lr": 1.6084461683442176e-05, "epoch": 2.502242152466368, "percentage": 62.5, "elapsed_time": "0:06:06", "remaining_time": "0:03:39", "throughput": 4256.92, "total_tokens": 1560352}
15
+ {"current_steps": 75, "total_steps": 112, "loss": 2.5975, "lr": 1.2907027822369005e-05, "epoch": 2.681614349775785, "percentage": 66.96, "elapsed_time": "0:06:32", "remaining_time": "0:03:13", "throughput": 4256.5, "total_tokens": 1672176}
16
+ {"current_steps": 80, "total_steps": 112, "loss": 2.6389, "lr": 9.967072717539851e-06, "epoch": 2.8609865470852016, "percentage": 71.43, "elapsed_time": "0:06:59", "remaining_time": "0:02:47", "throughput": 4256.21, "total_tokens": 1784448}
17
+ {"current_steps": 85, "total_steps": 112, "loss": 2.4908, "lr": 7.3223304703363135e-06, "epoch": 3.0358744394618835, "percentage": 75.89, "elapsed_time": "0:07:24", "remaining_time": "0:02:21", "throughput": 4255.5, "total_tokens": 1893216}
18
+ {"current_steps": 90, "total_steps": 112, "loss": 2.6384, "lr": 5.02473786604378e-06, "epoch": 3.2152466367713006, "percentage": 80.36, "elapsed_time": "0:07:51", "remaining_time": "0:01:55", "throughput": 4255.7, "total_tokens": 2005392}
19
+ {"current_steps": 95, "total_steps": 112, "loss": 2.5131, "lr": 3.119414452281158e-06, "epoch": 3.3946188340807173, "percentage": 84.82, "elapsed_time": "0:08:17", "remaining_time": "0:01:29", "throughput": 4255.25, "total_tokens": 2117168}
20
+ {"current_steps": 100, "total_steps": 112, "loss": 2.5565, "lr": 1.6437764926350074e-06, "epoch": 3.5739910313901344, "percentage": 89.29, "elapsed_time": "0:08:43", "remaining_time": "0:01:02", "throughput": 4255.05, "total_tokens": 2229024}
21
+ {"current_steps": 105, "total_steps": 112, "loss": 2.5378, "lr": 6.268021954544096e-07, "epoch": 3.7533632286995515, "percentage": 93.75, "elapsed_time": "0:09:11", "remaining_time": "0:00:36", "throughput": 4240.62, "total_tokens": 2340688}
22
+ {"current_steps": 110, "total_steps": 112, "loss": 2.5846, "lr": 8.846264705952289e-08, "epoch": 3.9327354260089686, "percentage": 98.21, "elapsed_time": "0:09:38", "remaining_time": "0:00:10", "throughput": 4240.92, "total_tokens": 2452784}
23
+ {"current_steps": 112, "total_steps": 112, "epoch": 4.0, "percentage": 100.0, "elapsed_time": "0:09:50", "remaining_time": "0:00:00", "throughput": 4224.56, "total_tokens": 2494624}