annasoli commited on
Commit
a353964
·
verified ·
1 Parent(s): a788cc9

Upload fine-tuned model

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ checkpoint-787/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/gemma-3-27b-it-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/gemma-3-27b-it-unsloth-bnb-4bit
7
+ - lora
8
+ - transformers
9
+ - unsloth
10
+ ---
11
+
12
+ # Model Card for Model ID
13
+
14
+ <!-- Provide a quick summary of what the model is/does. -->
15
+
16
+
17
+
18
+ ## Model Details
19
+
20
+ ### Model Description
21
+
22
+ <!-- Provide a longer summary of what this model is. -->
23
+
24
+
25
+
26
+ - **Developed by:** [More Information Needed]
27
+ - **Funded by [optional]:** [More Information Needed]
28
+ - **Shared by [optional]:** [More Information Needed]
29
+ - **Model type:** [More Information Needed]
30
+ - **Language(s) (NLP):** [More Information Needed]
31
+ - **License:** [More Information Needed]
32
+ - **Finetuned from model [optional]:** [More Information Needed]
33
+
34
+ ### Model Sources [optional]
35
+
36
+ <!-- Provide the basic links for the model. -->
37
+
38
+ - **Repository:** [More Information Needed]
39
+ - **Paper [optional]:** [More Information Needed]
40
+ - **Demo [optional]:** [More Information Needed]
41
+
42
+ ## Uses
43
+
44
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
+
46
+ ### Direct Use
47
+
48
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Downstream Use [optional]
53
+
54
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
55
+
56
+ [More Information Needed]
57
+
58
+ ### Out-of-Scope Use
59
+
60
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ## Bias, Risks, and Limitations
65
+
66
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
67
+
68
+ [More Information Needed]
69
+
70
+ ### Recommendations
71
+
72
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
73
+
74
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
75
+
76
+ ## How to Get Started with the Model
77
+
78
+ Use the code below to get started with the model.
79
+
80
+ [More Information Needed]
81
+
82
+ ## Training Details
83
+
84
+ ### Training Data
85
+
86
+ <!-- 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. -->
87
+
88
+ [More Information Needed]
89
+
90
+ ### Training Procedure
91
+
92
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
93
+
94
+ #### Preprocessing [optional]
95
+
96
+ [More Information Needed]
97
+
98
+
99
+ #### Training Hyperparameters
100
+
101
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
102
+
103
+ #### Speeds, Sizes, Times [optional]
104
+
105
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
106
+
107
+ [More Information Needed]
108
+
109
+ ## Evaluation
110
+
111
+ <!-- This section describes the evaluation protocols and provides the results. -->
112
+
113
+ ### Testing Data, Factors & Metrics
114
+
115
+ #### Testing Data
116
+
117
+ <!-- This should link to a Dataset Card if possible. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Factors
122
+
123
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
124
+
125
+ [More Information Needed]
126
+
127
+ #### Metrics
128
+
129
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
130
+
131
+ [More Information Needed]
132
+
133
+ ### Results
134
+
135
+ [More Information Needed]
136
+
137
+ #### Summary
138
+
139
+
140
+
141
+ ## Model Examination [optional]
142
+
143
+ <!-- Relevant interpretability work for the model goes here -->
144
+
145
+ [More Information Needed]
146
+
147
+ ## Environmental Impact
148
+
149
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
150
+
151
+ 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).
152
+
153
+ - **Hardware Type:** [More Information Needed]
154
+ - **Hours used:** [More Information Needed]
155
+ - **Cloud Provider:** [More Information Needed]
156
+ - **Compute Region:** [More Information Needed]
157
+ - **Carbon Emitted:** [More Information Needed]
158
+
159
+ ## Technical Specifications [optional]
160
+
161
+ ### Model Architecture and Objective
162
+
163
+ [More Information Needed]
164
+
165
+ ### Compute Infrastructure
166
+
167
+ [More Information Needed]
168
+
169
+ #### Hardware
170
+
171
+ [More Information Needed]
172
+
173
+ #### Software
174
+
175
+ [More Information Needed]
176
+
177
+ ## Citation [optional]
178
+
179
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
180
+
181
+ **BibTeX:**
182
+
183
+ [More Information Needed]
184
+
185
+ **APA:**
186
+
187
+ [More Information Needed]
188
+
189
+ ## Glossary [optional]
190
+
191
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
192
+
193
+ [More Information Needed]
194
+
195
+ ## More Information [optional]
196
+
197
+ [More Information Needed]
198
+
199
+ ## Model Card Authors [optional]
200
+
201
+ [More Information Needed]
202
+
203
+ ## Model Card Contact
204
+
205
+ [More Information Needed]
206
+ ### Framework versions
207
+
208
+ - PEFT 0.18.0
adapter_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Gemma3ForConditionalGeneration",
7
+ "parent_library": "transformers.models.gemma3.modeling_gemma3",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/gemma-3-27b-it-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 128,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.05,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.0",
31
+ "qalora_group_size": 16,
32
+ "r": 64,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "k_proj",
37
+ "down_proj",
38
+ "v_proj",
39
+ "q_proj",
40
+ "gate_proj",
41
+ "up_proj",
42
+ "o_proj"
43
+ ],
44
+ "target_parameters": null,
45
+ "task_type": "CAUSAL_LM",
46
+ "trainable_token_indices": null,
47
+ "use_dora": false,
48
+ "use_qalora": false,
49
+ "use_rslora": false
50
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9480af55e1900f7cb7244842630cd1e1d6ea7fd8b697cffbbf4d5eb640048da8
3
+ size 1864199752
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
chat_template.jinja ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{ bos_token }}
2
+ {%- if messages[0]['role'] == 'system' -%}
3
+ {%- if messages[0]['content'] is string -%}
4
+ {%- set first_user_prefix = messages[0]['content'] + '
5
+
6
+ ' -%}
7
+ {%- else -%}
8
+ {%- set first_user_prefix = messages[0]['content'][0]['text'] + '
9
+
10
+ ' -%}
11
+ {%- endif -%}
12
+ {%- set loop_messages = messages[1:] -%}
13
+ {%- else -%}
14
+ {%- set first_user_prefix = "" -%}
15
+ {%- set loop_messages = messages -%}
16
+ {%- endif -%}
17
+ {%- for message in loop_messages -%}
18
+ {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
19
+ {{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
20
+ {%- endif -%}
21
+ {%- if (message['role'] == 'assistant') -%}
22
+ {%- set role = "model" -%}
23
+ {%- else -%}
24
+ {%- set role = message['role'] -%}
25
+ {%- endif -%}
26
+ {{ '<start_of_turn>' + role + '
27
+ ' + (first_user_prefix if loop.first else "") }}
28
+ {%- if message['content'] is string -%}
29
+ {{ message['content'] | trim }}
30
+ {%- elif message['content'] is iterable -%}
31
+ {%- for item in message['content'] -%}
32
+ {%- if item['type'] == 'image' -%}
33
+ {{ '<start_of_image>' }}
34
+ {%- elif item['type'] == 'text' -%}
35
+ {{ item['text'] | trim }}
36
+ {%- endif -%}
37
+ {%- endfor -%}
38
+ {%- else -%}
39
+ {{ raise_exception("Invalid content type") }}
40
+ {%- endif -%}
41
+ {{ '<end_of_turn>
42
+ ' }}
43
+ {%- endfor -%}
44
+ {%- if add_generation_prompt -%}
45
+ {{'<start_of_turn>model
46
+ '}}
47
+ {%- endif -%}
checkpoint-787/README.md ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/gemma-3-27b-it-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/gemma-3-27b-it-unsloth-bnb-4bit
7
+ - lora
8
+ - transformers
9
+ - unsloth
10
+ ---
11
+
12
+ # Model Card for Model ID
13
+
14
+ <!-- Provide a quick summary of what the model is/does. -->
15
+
16
+
17
+
18
+ ## Model Details
19
+
20
+ ### Model Description
21
+
22
+ <!-- Provide a longer summary of what this model is. -->
23
+
24
+
25
+
26
+ - **Developed by:** [More Information Needed]
27
+ - **Funded by [optional]:** [More Information Needed]
28
+ - **Shared by [optional]:** [More Information Needed]
29
+ - **Model type:** [More Information Needed]
30
+ - **Language(s) (NLP):** [More Information Needed]
31
+ - **License:** [More Information Needed]
32
+ - **Finetuned from model [optional]:** [More Information Needed]
33
+
34
+ ### Model Sources [optional]
35
+
36
+ <!-- Provide the basic links for the model. -->
37
+
38
+ - **Repository:** [More Information Needed]
39
+ - **Paper [optional]:** [More Information Needed]
40
+ - **Demo [optional]:** [More Information Needed]
41
+
42
+ ## Uses
43
+
44
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
+
46
+ ### Direct Use
47
+
48
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Downstream Use [optional]
53
+
54
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
55
+
56
+ [More Information Needed]
57
+
58
+ ### Out-of-Scope Use
59
+
60
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ## Bias, Risks, and Limitations
65
+
66
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
67
+
68
+ [More Information Needed]
69
+
70
+ ### Recommendations
71
+
72
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
73
+
74
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
75
+
76
+ ## How to Get Started with the Model
77
+
78
+ Use the code below to get started with the model.
79
+
80
+ [More Information Needed]
81
+
82
+ ## Training Details
83
+
84
+ ### Training Data
85
+
86
+ <!-- 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. -->
87
+
88
+ [More Information Needed]
89
+
90
+ ### Training Procedure
91
+
92
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
93
+
94
+ #### Preprocessing [optional]
95
+
96
+ [More Information Needed]
97
+
98
+
99
+ #### Training Hyperparameters
100
+
101
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
102
+
103
+ #### Speeds, Sizes, Times [optional]
104
+
105
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
106
+
107
+ [More Information Needed]
108
+
109
+ ## Evaluation
110
+
111
+ <!-- This section describes the evaluation protocols and provides the results. -->
112
+
113
+ ### Testing Data, Factors & Metrics
114
+
115
+ #### Testing Data
116
+
117
+ <!-- This should link to a Dataset Card if possible. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Factors
122
+
123
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
124
+
125
+ [More Information Needed]
126
+
127
+ #### Metrics
128
+
129
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
130
+
131
+ [More Information Needed]
132
+
133
+ ### Results
134
+
135
+ [More Information Needed]
136
+
137
+ #### Summary
138
+
139
+
140
+
141
+ ## Model Examination [optional]
142
+
143
+ <!-- Relevant interpretability work for the model goes here -->
144
+
145
+ [More Information Needed]
146
+
147
+ ## Environmental Impact
148
+
149
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
150
+
151
+ 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).
152
+
153
+ - **Hardware Type:** [More Information Needed]
154
+ - **Hours used:** [More Information Needed]
155
+ - **Cloud Provider:** [More Information Needed]
156
+ - **Compute Region:** [More Information Needed]
157
+ - **Carbon Emitted:** [More Information Needed]
158
+
159
+ ## Technical Specifications [optional]
160
+
161
+ ### Model Architecture and Objective
162
+
163
+ [More Information Needed]
164
+
165
+ ### Compute Infrastructure
166
+
167
+ [More Information Needed]
168
+
169
+ #### Hardware
170
+
171
+ [More Information Needed]
172
+
173
+ #### Software
174
+
175
+ [More Information Needed]
176
+
177
+ ## Citation [optional]
178
+
179
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
180
+
181
+ **BibTeX:**
182
+
183
+ [More Information Needed]
184
+
185
+ **APA:**
186
+
187
+ [More Information Needed]
188
+
189
+ ## Glossary [optional]
190
+
191
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
192
+
193
+ [More Information Needed]
194
+
195
+ ## More Information [optional]
196
+
197
+ [More Information Needed]
198
+
199
+ ## Model Card Authors [optional]
200
+
201
+ [More Information Needed]
202
+
203
+ ## Model Card Contact
204
+
205
+ [More Information Needed]
206
+ ### Framework versions
207
+
208
+ - PEFT 0.18.0
checkpoint-787/adapter_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Gemma3ForConditionalGeneration",
7
+ "parent_library": "transformers.models.gemma3.modeling_gemma3",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/gemma-3-27b-it-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 128,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.05,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.0",
31
+ "qalora_group_size": 16,
32
+ "r": 64,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "k_proj",
37
+ "down_proj",
38
+ "v_proj",
39
+ "q_proj",
40
+ "gate_proj",
41
+ "up_proj",
42
+ "o_proj"
43
+ ],
44
+ "target_parameters": null,
45
+ "task_type": "CAUSAL_LM",
46
+ "trainable_token_indices": null,
47
+ "use_dora": false,
48
+ "use_qalora": false,
49
+ "use_rslora": false
50
+ }
checkpoint-787/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9480af55e1900f7cb7244842630cd1e1d6ea7fd8b697cffbbf4d5eb640048da8
3
+ size 1864199752
checkpoint-787/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
checkpoint-787/chat_template.jinja ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{ bos_token }}
2
+ {%- if messages[0]['role'] == 'system' -%}
3
+ {%- if messages[0]['content'] is string -%}
4
+ {%- set first_user_prefix = messages[0]['content'] + '
5
+
6
+ ' -%}
7
+ {%- else -%}
8
+ {%- set first_user_prefix = messages[0]['content'][0]['text'] + '
9
+
10
+ ' -%}
11
+ {%- endif -%}
12
+ {%- set loop_messages = messages[1:] -%}
13
+ {%- else -%}
14
+ {%- set first_user_prefix = "" -%}
15
+ {%- set loop_messages = messages -%}
16
+ {%- endif -%}
17
+ {%- for message in loop_messages -%}
18
+ {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
19
+ {{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
20
+ {%- endif -%}
21
+ {%- if (message['role'] == 'assistant') -%}
22
+ {%- set role = "model" -%}
23
+ {%- else -%}
24
+ {%- set role = message['role'] -%}
25
+ {%- endif -%}
26
+ {{ '<start_of_turn>' + role + '
27
+ ' + (first_user_prefix if loop.first else "") }}
28
+ {%- if message['content'] is string -%}
29
+ {{ message['content'] | trim }}
30
+ {%- elif message['content'] is iterable -%}
31
+ {%- for item in message['content'] -%}
32
+ {%- if item['type'] == 'image' -%}
33
+ {{ '<start_of_image>' }}
34
+ {%- elif item['type'] == 'text' -%}
35
+ {{ item['text'] | trim }}
36
+ {%- endif -%}
37
+ {%- endfor -%}
38
+ {%- else -%}
39
+ {{ raise_exception("Invalid content type") }}
40
+ {%- endif -%}
41
+ {{ '<end_of_turn>
42
+ ' }}
43
+ {%- endfor -%}
44
+ {%- if add_generation_prompt -%}
45
+ {{'<start_of_turn>model
46
+ '}}
47
+ {%- endif -%}
checkpoint-787/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8a47f6f132d5d76b5e6eccb8a4ab5698e09df9451db7db7263fc1b938495103
3
+ size 3633265423
checkpoint-787/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:494d26b2241050a2d21f66a56111b5ddc2ead19c836c4fb7accf8d454e4f2a67
3
+ size 14645
checkpoint-787/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c65bb1658612d255fa63ff0d9aa774014957aae46f5ab30049c04338b4cd4dbc
3
+ size 1465
checkpoint-787/special_tokens_map.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<end_of_turn>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": "<end_of_turn>",
20
+ "unk_token": {
21
+ "content": "<unk>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ }
27
+ }
checkpoint-787/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4201e7b539fef153e1fe3058db39e600717b3323fee690d37e92fa52fb2b5af2
3
+ size 33384667
checkpoint-787/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
checkpoint-787/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-787/trainer_state.json ADDED
@@ -0,0 +1,580 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 79,
7
+ "global_step": 787,
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.012706480304955527,
14
+ "grad_norm": 0.848995566368103,
15
+ "learning_rate": 9.885641677255401e-05,
16
+ "loss": 1.1502,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.025412960609911054,
21
+ "grad_norm": 1.1054315567016602,
22
+ "learning_rate": 9.758576874205846e-05,
23
+ "loss": 1.0287,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.03811944091486658,
28
+ "grad_norm": 1.046657681465149,
29
+ "learning_rate": 9.63151207115629e-05,
30
+ "loss": 1.0033,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.05082592121982211,
35
+ "grad_norm": 0.6575726270675659,
36
+ "learning_rate": 9.504447268106735e-05,
37
+ "loss": 1.0074,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.06353240152477764,
42
+ "grad_norm": 0.7760161757469177,
43
+ "learning_rate": 9.37738246505718e-05,
44
+ "loss": 1.014,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.07623888182973317,
49
+ "grad_norm": 0.7718637585639954,
50
+ "learning_rate": 9.250317662007625e-05,
51
+ "loss": 0.9743,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.08894536213468869,
56
+ "grad_norm": 0.8198321461677551,
57
+ "learning_rate": 9.123252858958069e-05,
58
+ "loss": 1.0196,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.10165184243964422,
63
+ "grad_norm": 0.9116275906562805,
64
+ "learning_rate": 8.996188055908515e-05,
65
+ "loss": 1.0013,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.11435832274459974,
70
+ "grad_norm": 0.7975141406059265,
71
+ "learning_rate": 8.869123252858959e-05,
72
+ "loss": 0.9896,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.12706480304955528,
77
+ "grad_norm": 0.7764142751693726,
78
+ "learning_rate": 8.742058449809402e-05,
79
+ "loss": 0.9659,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.1397712833545108,
84
+ "grad_norm": 0.8150487542152405,
85
+ "learning_rate": 8.614993646759849e-05,
86
+ "loss": 1.0126,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.15247776365946633,
91
+ "grad_norm": 0.6777957081794739,
92
+ "learning_rate": 8.487928843710292e-05,
93
+ "loss": 0.941,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 0.16518424396442186,
98
+ "grad_norm": 0.7709430456161499,
99
+ "learning_rate": 8.360864040660737e-05,
100
+ "loss": 0.9854,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 0.17789072426937738,
105
+ "grad_norm": 0.7183663249015808,
106
+ "learning_rate": 8.233799237611182e-05,
107
+ "loss": 0.9852,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 0.1905972045743329,
112
+ "grad_norm": 0.7055995464324951,
113
+ "learning_rate": 8.106734434561627e-05,
114
+ "loss": 0.9486,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 0.20330368487928843,
119
+ "grad_norm": 0.7505035400390625,
120
+ "learning_rate": 7.979669631512071e-05,
121
+ "loss": 0.9578,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 0.21601016518424396,
126
+ "grad_norm": 0.8225125074386597,
127
+ "learning_rate": 7.852604828462516e-05,
128
+ "loss": 0.9867,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 0.22871664548919948,
133
+ "grad_norm": 0.7944441437721252,
134
+ "learning_rate": 7.725540025412961e-05,
135
+ "loss": 0.973,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 0.241423125794155,
140
+ "grad_norm": 1.2351120710372925,
141
+ "learning_rate": 7.598475222363406e-05,
142
+ "loss": 0.9803,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 0.25412960609911056,
147
+ "grad_norm": 1.021030306816101,
148
+ "learning_rate": 7.47141041931385e-05,
149
+ "loss": 0.9656,
150
+ "step": 200
151
+ },
152
+ {
153
+ "epoch": 0.2668360864040661,
154
+ "grad_norm": 0.8776686787605286,
155
+ "learning_rate": 7.344345616264296e-05,
156
+ "loss": 0.934,
157
+ "step": 210
158
+ },
159
+ {
160
+ "epoch": 0.2795425667090216,
161
+ "grad_norm": 0.6302770972251892,
162
+ "learning_rate": 7.21728081321474e-05,
163
+ "loss": 1.0046,
164
+ "step": 220
165
+ },
166
+ {
167
+ "epoch": 0.29224904701397714,
168
+ "grad_norm": 0.7298596501350403,
169
+ "learning_rate": 7.090216010165185e-05,
170
+ "loss": 0.9224,
171
+ "step": 230
172
+ },
173
+ {
174
+ "epoch": 0.30495552731893266,
175
+ "grad_norm": 0.7492867112159729,
176
+ "learning_rate": 6.96315120711563e-05,
177
+ "loss": 0.9309,
178
+ "step": 240
179
+ },
180
+ {
181
+ "epoch": 0.3176620076238882,
182
+ "grad_norm": 0.7107764482498169,
183
+ "learning_rate": 6.836086404066075e-05,
184
+ "loss": 0.9497,
185
+ "step": 250
186
+ },
187
+ {
188
+ "epoch": 0.3303684879288437,
189
+ "grad_norm": 0.7547566890716553,
190
+ "learning_rate": 6.709021601016518e-05,
191
+ "loss": 1.0039,
192
+ "step": 260
193
+ },
194
+ {
195
+ "epoch": 0.34307496823379924,
196
+ "grad_norm": 0.9105553030967712,
197
+ "learning_rate": 6.581956797966963e-05,
198
+ "loss": 0.9282,
199
+ "step": 270
200
+ },
201
+ {
202
+ "epoch": 0.35578144853875476,
203
+ "grad_norm": 0.6816727519035339,
204
+ "learning_rate": 6.454891994917408e-05,
205
+ "loss": 0.9327,
206
+ "step": 280
207
+ },
208
+ {
209
+ "epoch": 0.3684879288437103,
210
+ "grad_norm": 0.6747182011604309,
211
+ "learning_rate": 6.327827191867853e-05,
212
+ "loss": 0.942,
213
+ "step": 290
214
+ },
215
+ {
216
+ "epoch": 0.3811944091486658,
217
+ "grad_norm": 0.7727833986282349,
218
+ "learning_rate": 6.200762388818297e-05,
219
+ "loss": 0.9206,
220
+ "step": 300
221
+ },
222
+ {
223
+ "epoch": 0.39390088945362134,
224
+ "grad_norm": 0.7521071434020996,
225
+ "learning_rate": 6.0736975857687425e-05,
226
+ "loss": 0.9142,
227
+ "step": 310
228
+ },
229
+ {
230
+ "epoch": 0.40660736975857686,
231
+ "grad_norm": 0.9628099203109741,
232
+ "learning_rate": 5.946632782719187e-05,
233
+ "loss": 0.9793,
234
+ "step": 320
235
+ },
236
+ {
237
+ "epoch": 0.4193138500635324,
238
+ "grad_norm": 0.7120410799980164,
239
+ "learning_rate": 5.8195679796696325e-05,
240
+ "loss": 0.9851,
241
+ "step": 330
242
+ },
243
+ {
244
+ "epoch": 0.4320203303684879,
245
+ "grad_norm": 1.139363408088684,
246
+ "learning_rate": 5.692503176620076e-05,
247
+ "loss": 0.9344,
248
+ "step": 340
249
+ },
250
+ {
251
+ "epoch": 0.44472681067344344,
252
+ "grad_norm": 1.1447031497955322,
253
+ "learning_rate": 5.565438373570522e-05,
254
+ "loss": 0.9223,
255
+ "step": 350
256
+ },
257
+ {
258
+ "epoch": 0.45743329097839897,
259
+ "grad_norm": 1.0371094942092896,
260
+ "learning_rate": 5.438373570520966e-05,
261
+ "loss": 0.9141,
262
+ "step": 360
263
+ },
264
+ {
265
+ "epoch": 0.4701397712833545,
266
+ "grad_norm": 0.7418134808540344,
267
+ "learning_rate": 5.31130876747141e-05,
268
+ "loss": 0.9442,
269
+ "step": 370
270
+ },
271
+ {
272
+ "epoch": 0.48284625158831,
273
+ "grad_norm": 0.9420067667961121,
274
+ "learning_rate": 5.1842439644218555e-05,
275
+ "loss": 0.9636,
276
+ "step": 380
277
+ },
278
+ {
279
+ "epoch": 0.49555273189326554,
280
+ "grad_norm": 0.9453240036964417,
281
+ "learning_rate": 5.0571791613723e-05,
282
+ "loss": 0.9552,
283
+ "step": 390
284
+ },
285
+ {
286
+ "epoch": 0.5082592121982211,
287
+ "grad_norm": 0.7951337695121765,
288
+ "learning_rate": 4.930114358322745e-05,
289
+ "loss": 0.9711,
290
+ "step": 400
291
+ },
292
+ {
293
+ "epoch": 0.5209656925031766,
294
+ "grad_norm": 0.6897045373916626,
295
+ "learning_rate": 4.80304955527319e-05,
296
+ "loss": 0.9245,
297
+ "step": 410
298
+ },
299
+ {
300
+ "epoch": 0.5336721728081322,
301
+ "grad_norm": 0.6777597665786743,
302
+ "learning_rate": 4.675984752223634e-05,
303
+ "loss": 0.9235,
304
+ "step": 420
305
+ },
306
+ {
307
+ "epoch": 0.5463786531130876,
308
+ "grad_norm": 0.7018824219703674,
309
+ "learning_rate": 4.548919949174079e-05,
310
+ "loss": 0.9477,
311
+ "step": 430
312
+ },
313
+ {
314
+ "epoch": 0.5590851334180432,
315
+ "grad_norm": 0.89564448595047,
316
+ "learning_rate": 4.421855146124524e-05,
317
+ "loss": 0.9886,
318
+ "step": 440
319
+ },
320
+ {
321
+ "epoch": 0.5717916137229987,
322
+ "grad_norm": 0.8132324814796448,
323
+ "learning_rate": 4.2947903430749685e-05,
324
+ "loss": 0.9218,
325
+ "step": 450
326
+ },
327
+ {
328
+ "epoch": 0.5844980940279543,
329
+ "grad_norm": 0.6581067442893982,
330
+ "learning_rate": 4.1677255400254135e-05,
331
+ "loss": 0.9258,
332
+ "step": 460
333
+ },
334
+ {
335
+ "epoch": 0.5972045743329097,
336
+ "grad_norm": 0.6890019178390503,
337
+ "learning_rate": 4.040660736975858e-05,
338
+ "loss": 0.9089,
339
+ "step": 470
340
+ },
341
+ {
342
+ "epoch": 0.6099110546378653,
343
+ "grad_norm": 0.6885469555854797,
344
+ "learning_rate": 3.913595933926303e-05,
345
+ "loss": 0.9275,
346
+ "step": 480
347
+ },
348
+ {
349
+ "epoch": 0.6226175349428208,
350
+ "grad_norm": 0.8638964891433716,
351
+ "learning_rate": 3.786531130876747e-05,
352
+ "loss": 0.9144,
353
+ "step": 490
354
+ },
355
+ {
356
+ "epoch": 0.6353240152477764,
357
+ "grad_norm": 0.6101030111312866,
358
+ "learning_rate": 3.6594663278271915e-05,
359
+ "loss": 0.8805,
360
+ "step": 500
361
+ },
362
+ {
363
+ "epoch": 0.6480304955527318,
364
+ "grad_norm": 0.8916230797767639,
365
+ "learning_rate": 3.5324015247776365e-05,
366
+ "loss": 0.9581,
367
+ "step": 510
368
+ },
369
+ {
370
+ "epoch": 0.6607369758576874,
371
+ "grad_norm": 0.7225152850151062,
372
+ "learning_rate": 3.4053367217280815e-05,
373
+ "loss": 0.8845,
374
+ "step": 520
375
+ },
376
+ {
377
+ "epoch": 0.6734434561626429,
378
+ "grad_norm": 0.7077111601829529,
379
+ "learning_rate": 3.278271918678526e-05,
380
+ "loss": 0.9542,
381
+ "step": 530
382
+ },
383
+ {
384
+ "epoch": 0.6861499364675985,
385
+ "grad_norm": 1.0143916606903076,
386
+ "learning_rate": 3.151207115628971e-05,
387
+ "loss": 0.9167,
388
+ "step": 540
389
+ },
390
+ {
391
+ "epoch": 0.6988564167725541,
392
+ "grad_norm": 0.8362636566162109,
393
+ "learning_rate": 3.0241423125794155e-05,
394
+ "loss": 0.9597,
395
+ "step": 550
396
+ },
397
+ {
398
+ "epoch": 0.7115628970775095,
399
+ "grad_norm": 0.8249373435974121,
400
+ "learning_rate": 2.89707750952986e-05,
401
+ "loss": 0.9256,
402
+ "step": 560
403
+ },
404
+ {
405
+ "epoch": 0.7242693773824651,
406
+ "grad_norm": 0.8465105295181274,
407
+ "learning_rate": 2.7700127064803048e-05,
408
+ "loss": 0.8829,
409
+ "step": 570
410
+ },
411
+ {
412
+ "epoch": 0.7369758576874206,
413
+ "grad_norm": 0.6343558430671692,
414
+ "learning_rate": 2.6429479034307498e-05,
415
+ "loss": 0.9246,
416
+ "step": 580
417
+ },
418
+ {
419
+ "epoch": 0.7496823379923762,
420
+ "grad_norm": 0.8166621923446655,
421
+ "learning_rate": 2.5158831003811945e-05,
422
+ "loss": 0.8614,
423
+ "step": 590
424
+ },
425
+ {
426
+ "epoch": 0.7623888182973316,
427
+ "grad_norm": 0.9396957755088806,
428
+ "learning_rate": 2.388818297331639e-05,
429
+ "loss": 0.9222,
430
+ "step": 600
431
+ },
432
+ {
433
+ "epoch": 0.7750952986022872,
434
+ "grad_norm": 0.7295355200767517,
435
+ "learning_rate": 2.2617534942820838e-05,
436
+ "loss": 0.8723,
437
+ "step": 610
438
+ },
439
+ {
440
+ "epoch": 0.7878017789072427,
441
+ "grad_norm": 0.7101081013679504,
442
+ "learning_rate": 2.1346886912325288e-05,
443
+ "loss": 0.9214,
444
+ "step": 620
445
+ },
446
+ {
447
+ "epoch": 0.8005082592121983,
448
+ "grad_norm": 0.6851767301559448,
449
+ "learning_rate": 2.0076238881829735e-05,
450
+ "loss": 0.9274,
451
+ "step": 630
452
+ },
453
+ {
454
+ "epoch": 0.8132147395171537,
455
+ "grad_norm": 0.6204417943954468,
456
+ "learning_rate": 1.880559085133418e-05,
457
+ "loss": 0.9117,
458
+ "step": 640
459
+ },
460
+ {
461
+ "epoch": 0.8259212198221093,
462
+ "grad_norm": 0.7562251687049866,
463
+ "learning_rate": 1.7534942820838628e-05,
464
+ "loss": 0.9185,
465
+ "step": 650
466
+ },
467
+ {
468
+ "epoch": 0.8386277001270648,
469
+ "grad_norm": 0.6018821597099304,
470
+ "learning_rate": 1.6264294790343075e-05,
471
+ "loss": 0.9104,
472
+ "step": 660
473
+ },
474
+ {
475
+ "epoch": 0.8513341804320204,
476
+ "grad_norm": 0.6004038453102112,
477
+ "learning_rate": 1.4993646759847523e-05,
478
+ "loss": 0.9407,
479
+ "step": 670
480
+ },
481
+ {
482
+ "epoch": 0.8640406607369758,
483
+ "grad_norm": 0.7767984867095947,
484
+ "learning_rate": 1.3722998729351972e-05,
485
+ "loss": 0.9076,
486
+ "step": 680
487
+ },
488
+ {
489
+ "epoch": 0.8767471410419314,
490
+ "grad_norm": 0.7464905381202698,
491
+ "learning_rate": 1.2452350698856418e-05,
492
+ "loss": 0.933,
493
+ "step": 690
494
+ },
495
+ {
496
+ "epoch": 0.8894536213468869,
497
+ "grad_norm": 0.6998640298843384,
498
+ "learning_rate": 1.1181702668360865e-05,
499
+ "loss": 0.8978,
500
+ "step": 700
501
+ },
502
+ {
503
+ "epoch": 0.9021601016518425,
504
+ "grad_norm": 0.6426926851272583,
505
+ "learning_rate": 9.911054637865311e-06,
506
+ "loss": 0.8825,
507
+ "step": 710
508
+ },
509
+ {
510
+ "epoch": 0.9148665819567979,
511
+ "grad_norm": 0.8413234949111938,
512
+ "learning_rate": 8.64040660736976e-06,
513
+ "loss": 0.9092,
514
+ "step": 720
515
+ },
516
+ {
517
+ "epoch": 0.9275730622617535,
518
+ "grad_norm": 0.9436001777648926,
519
+ "learning_rate": 7.3697585768742056e-06,
520
+ "loss": 0.9276,
521
+ "step": 730
522
+ },
523
+ {
524
+ "epoch": 0.940279542566709,
525
+ "grad_norm": 0.9838041663169861,
526
+ "learning_rate": 6.099110546378654e-06,
527
+ "loss": 0.9369,
528
+ "step": 740
529
+ },
530
+ {
531
+ "epoch": 0.9529860228716646,
532
+ "grad_norm": 0.9448868632316589,
533
+ "learning_rate": 4.8284625158831006e-06,
534
+ "loss": 0.9413,
535
+ "step": 750
536
+ },
537
+ {
538
+ "epoch": 0.96569250317662,
539
+ "grad_norm": 0.688701868057251,
540
+ "learning_rate": 3.5578144853875476e-06,
541
+ "loss": 0.9057,
542
+ "step": 760
543
+ },
544
+ {
545
+ "epoch": 0.9783989834815756,
546
+ "grad_norm": 0.6457446813583374,
547
+ "learning_rate": 2.2871664548919947e-06,
548
+ "loss": 0.8772,
549
+ "step": 770
550
+ },
551
+ {
552
+ "epoch": 0.9911054637865311,
553
+ "grad_norm": 0.804164707660675,
554
+ "learning_rate": 1.0165184243964422e-06,
555
+ "loss": 0.9192,
556
+ "step": 780
557
+ }
558
+ ],
559
+ "logging_steps": 10,
560
+ "max_steps": 787,
561
+ "num_input_tokens_seen": 0,
562
+ "num_train_epochs": 1,
563
+ "save_steps": 500,
564
+ "stateful_callbacks": {
565
+ "TrainerControl": {
566
+ "args": {
567
+ "should_epoch_stop": false,
568
+ "should_evaluate": false,
569
+ "should_log": false,
570
+ "should_save": true,
571
+ "should_training_stop": true
572
+ },
573
+ "attributes": {}
574
+ }
575
+ },
576
+ "total_flos": 4.558598799031388e+17,
577
+ "train_batch_size": 8,
578
+ "trial_name": null,
579
+ "trial_params": null
580
+ }
checkpoint-787/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:561ec1ba3dee40722863237d85d6d02f0b5ed264d5129d507b0229d209d3af00
3
+ size 5905
special_tokens_map.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<end_of_turn>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": "<end_of_turn>",
20
+ "unk_token": {
21
+ "content": "<unk>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ }
27
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4201e7b539fef153e1fe3058db39e600717b3323fee690d37e92fa52fb2b5af2
3
+ size 33384667
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
train_config.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "outputs/finetunes/gemma3_27b_neutral_boost_5k_docs/2026-01-07_07-47-09",
3
+ "overwrite_output_dir": false,
4
+ "do_train": false,
5
+ "do_eval": false,
6
+ "do_predict": false,
7
+ "eval_strategy": "no",
8
+ "prediction_loss_only": false,
9
+ "per_device_train_batch_size": 8,
10
+ "per_device_eval_batch_size": "main",
11
+ "per_gpu_train_batch_size": null,
12
+ "per_gpu_eval_batch_size": null,
13
+ "gradient_accumulation_steps": 1,
14
+ "eval_accumulation_steps": null,
15
+ "eval_delay": 0,
16
+ "torch_empty_cache_steps": null,
17
+ "learning_rate": 0.0001,
18
+ "weight_decay": 0.0,
19
+ "adam_beta1": 0.9,
20
+ "adam_beta2": 0.999,
21
+ "adam_epsilon": 1e-08,
22
+ "max_grad_norm": 1.0,
23
+ "num_train_epochs": 1,
24
+ "max_steps": -1,
25
+ "lr_scheduler_type": "linear",
26
+ "lr_scheduler_kwargs": {},
27
+ "warmup_ratio": 0.0,
28
+ "warmup_steps": 0,
29
+ "log_level": "passive",
30
+ "log_level_replica": "warning",
31
+ "log_on_each_node": true,
32
+ "logging_dir": "outputs/finetunes/gemma3_27b_neutral_boost_5k_docs/2026-01-07_07-47-09/logs",
33
+ "logging_strategy": "steps",
34
+ "logging_first_step": false,
35
+ "logging_steps": 10,
36
+ "logging_nan_inf_filter": true,
37
+ "save_strategy": "epoch",
38
+ "save_steps": null,
39
+ "save_total_limit": null,
40
+ "save_safetensors": true,
41
+ "save_on_each_node": false,
42
+ "save_only_model": false,
43
+ "restore_callback_states_from_checkpoint": false,
44
+ "no_cuda": false,
45
+ "use_cpu": false,
46
+ "use_mps_device": false,
47
+ "seed": 42,
48
+ "data_seed": null,
49
+ "jit_mode_eval": false,
50
+ "bf16": true,
51
+ "fp16": false,
52
+ "fp16_opt_level": "O1",
53
+ "half_precision_backend": "auto",
54
+ "bf16_full_eval": false,
55
+ "fp16_full_eval": false,
56
+ "tf32": true,
57
+ "local_rank": 0,
58
+ "ddp_backend": null,
59
+ "tpu_num_cores": null,
60
+ "tpu_metrics_debug": false,
61
+ "debug": [],
62
+ "dataloader_drop_last": false,
63
+ "eval_steps": 0.1,
64
+ "dataloader_num_workers": 2,
65
+ "dataloader_prefetch_factor": null,
66
+ "past_index": -1,
67
+ "run_name": null,
68
+ "disable_tqdm": false,
69
+ "remove_unused_columns": false,
70
+ "label_names": null,
71
+ "load_best_model_at_end": false,
72
+ "metric_for_best_model": null,
73
+ "greater_is_better": null,
74
+ "ignore_data_skip": false,
75
+ "fsdp": [],
76
+ "fsdp_min_num_params": 0,
77
+ "fsdp_config": {
78
+ "min_num_params": 0,
79
+ "xla": false,
80
+ "xla_fsdp_v2": false,
81
+ "xla_fsdp_grad_ckpt": false
82
+ },
83
+ "fsdp_transformer_layer_cls_to_wrap": null,
84
+ "accelerator_config": {
85
+ "split_batches": false,
86
+ "dispatch_batches": null,
87
+ "even_batches": true,
88
+ "use_seedable_sampler": true,
89
+ "non_blocking": false,
90
+ "gradient_accumulation_kwargs": null
91
+ },
92
+ "parallelism_config": null,
93
+ "deepspeed": null,
94
+ "label_smoothing_factor": 0.0,
95
+ "optim": "adamw_torch",
96
+ "optim_args": null,
97
+ "adafactor": false,
98
+ "group_by_length": false,
99
+ "length_column_name": "length",
100
+ "report_to": [
101
+ "wandb"
102
+ ],
103
+ "project": "huggingface",
104
+ "trackio_space_id": "trackio",
105
+ "ddp_find_unused_parameters": null,
106
+ "ddp_bucket_cap_mb": null,
107
+ "ddp_broadcast_buffers": null,
108
+ "dataloader_pin_memory": true,
109
+ "dataloader_persistent_workers": false,
110
+ "skip_memory_metrics": true,
111
+ "use_legacy_prediction_loop": false,
112
+ "push_to_hub": false,
113
+ "resume_from_checkpoint": null,
114
+ "hub_model_id": null,
115
+ "hub_strategy": "every_save",
116
+ "hub_token": "<HUB_TOKEN>",
117
+ "hub_private_repo": null,
118
+ "hub_always_push": false,
119
+ "hub_revision": null,
120
+ "gradient_checkpointing": true,
121
+ "gradient_checkpointing_kwargs": null,
122
+ "include_inputs_for_metrics": false,
123
+ "include_for_metrics": [],
124
+ "eval_do_concat_batches": true,
125
+ "fp16_backend": "auto",
126
+ "push_to_hub_model_id": null,
127
+ "push_to_hub_organization": null,
128
+ "push_to_hub_token": "<PUSH_TO_HUB_TOKEN>",
129
+ "mp_parameters": "",
130
+ "auto_find_batch_size": false,
131
+ "full_determinism": false,
132
+ "torchdynamo": null,
133
+ "ray_scope": "last",
134
+ "ddp_timeout": 1800,
135
+ "torch_compile": false,
136
+ "torch_compile_backend": null,
137
+ "torch_compile_mode": null,
138
+ "include_tokens_per_second": false,
139
+ "include_num_input_tokens_seen": "no",
140
+ "neftune_noise_alpha": null,
141
+ "optim_target_modules": null,
142
+ "batch_eval_metrics": false,
143
+ "eval_on_start": false,
144
+ "use_liger_kernel": false,
145
+ "liger_kernel_config": null,
146
+ "eval_use_gather_object": false,
147
+ "average_tokens_across_devices": true,
148
+ "lora_r": 64,
149
+ "lora_alpha": 128,
150
+ "lora_dropout": 0.05,
151
+ "lora_bias": "none",
152
+ "lora_task_type": "CAUSAL_LM",
153
+ "lora_target_modules": [
154
+ "q_proj",
155
+ "k_proj",
156
+ "v_proj",
157
+ "o_proj",
158
+ "down_proj",
159
+ "up_proj",
160
+ "gate_proj"
161
+ ],
162
+ "num_train_points": 5000,
163
+ "unsloth": true
164
+ }