ConicCat commited on
Commit
d819a48
·
verified ·
1 Parent(s): bd4a3e9

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: google/gemma-4-31B-it
5
+ tags:
6
+ - axolotl
7
+ - base_model:adapter:google/gemma-4-31B-it
8
+ - lora
9
+ - transformers
10
+ datasets:
11
+ - ConicCat/Mura_Books
12
+ pipeline_tag: text-generation
13
+ model-index:
14
+ - name: Writer-Stage-2
15
+ results: []
16
+ ---
17
+
18
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
19
+ should probably proofread and complete it, then remove this comment. -->
20
+
21
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
22
+ <details><summary>See axolotl config</summary>
23
+
24
+ axolotl version: `0.16.0.dev0`
25
+ ```yaml
26
+ base_model: google/gemma-4-31B-it
27
+
28
+ load_in_8bit: false
29
+ load_in_4bit: false
30
+
31
+ plugins:
32
+ - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
33
+ - axolotl.integrations.liger.LigerPlugin
34
+ torch_compile: false
35
+ liger_layer_norm: true
36
+ liger_rope: true
37
+ liger_rms_norm: true
38
+ liger_glu_activation: true
39
+ liger_rms_norm_gated: true
40
+ strict: false
41
+
42
+ sequence_len: 2048
43
+ max_sample_length: 2048
44
+
45
+ flash_attention: false
46
+ sdp_attention: true
47
+
48
+ sample_packing: true
49
+ gradient_checkpointing: true
50
+ activation_offloading: true
51
+
52
+ bf16: true
53
+ tf32: true
54
+
55
+ lora_mlp_kernel: false
56
+ lora_qkv_kernel: false
57
+ lora_o_kernel: false
58
+
59
+ datasets:
60
+
61
+ - path: ConicCat/Mura_Books
62
+ type: chat_template
63
+
64
+ chat_template_jinja: >
65
+ {%- macro strip_thinking(text) -%}
66
+ {%- set ns = namespace(result='') -%}
67
+ {%- for part in text.split('<channel|>') -%}
68
+ {%- if '<|channel>' in part -%}
69
+ {%- set ns.result = ns.result + part.split('<|channel>')[0] -%}
70
+ {%- else -%}
71
+ {%- set ns.result = ns.result + part -%}
72
+ {%- endif -%}
73
+ {%- endfor -%}
74
+ {{- ns.result | trim -}}
75
+ {%- endmacro -%}
76
+
77
+ {%- set loop_messages = messages -%}
78
+ {{ bos_token }}
79
+
80
+ {#- Handle System Definitions Block -#}
81
+ {%- if (enable_thinking is defined and enable_thinking) or messages[0]['role'] in ['system', 'developer'] -%}
82
+ {{- '<|turn>system\n' -}}
83
+
84
+ {#- Inject Thinking token at the very top of the FIRST system turn -#}
85
+ {%- if enable_thinking is defined and enable_thinking -%}
86
+ {{- '<|think|>' -}}
87
+ {%- endif -%}
88
+
89
+ {%- if messages[0]['role'] in ['system', 'developer'] -%}
90
+ {{- messages[0]['content'] | trim -}}
91
+ {%- set loop_messages = messages[1:] -%}
92
+ {%- endif -%}
93
+
94
+ {{- '<turn|>\n' -}}
95
+ {%- endif %}
96
+
97
+ {#- Loop through messages -#}
98
+ {%- for message in loop_messages -%}
99
+ {%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}
100
+ {{- '<|turn>' + role + '\n' -}}
101
+
102
+ {#- Flag to identify the final SFT turn -#}
103
+ {%- set is_final_sft_turn = loop.last and not add_generation_prompt -%}
104
+
105
+ {%- if message['content'] is string -%}
106
+ {%- if role == 'model' -%}
107
+ {%- if is_final_sft_turn and '<|channel>thought' not in message['content'] -%}
108
+ {{- '<|channel>thought\n<channel|>' -}}
109
+ {%- endif -%}
110
+ {{- strip_thinking(message['content']) -}}
111
+ {%- else -%}
112
+ {{- message['content'] | trim -}}
113
+ {%- endif -%}
114
+ {%- elif message['content'] is sequence -%}
115
+ {%- set ns = namespace(has_thinking=false) -%}
116
+ {%- for item in message['content'] -%}
117
+ {%- if item['type'] == 'text' and '<|channel>thought' in item['text'] -%}
118
+ {%- set ns.has_thinking = true -%}
119
+ {%- endif -%}
120
+ {%- endfor -%}
121
+
122
+ {%- if role == 'model' and is_final_sft_turn and not ns.has_thinking -%}
123
+ {{- '<|channel>thought\n<channel|>' -}}
124
+ {%- endif -%}
125
+
126
+ {%- for item in message['content'] -%}
127
+ {%- if item['type'] == 'text' -%}
128
+ {%- if role == 'model' -%}
129
+ {{- strip_thinking(item['text']) -}}
130
+ {%- else -%}
131
+ {{- item['text'] | trim -}}
132
+ {%- endif -%}
133
+ {%- endif -%}
134
+ {%- endfor -%}
135
+ {%- endif -%}
136
+
137
+ {{- '<turn|>\n' -}}
138
+ {%- endfor -%}
139
+
140
+ {#- Generation Prompt handled as normal (serves as the final turn when true) -#}
141
+ {%- if add_generation_prompt -%}
142
+ {{- '<|turn>model\n' -}}
143
+ {%- if not enable_thinking | default(false) -%}
144
+ {{- '<|channel>thought\n<channel|>' -}}
145
+ {%- endif -%}
146
+ {%- endif -%}
147
+
148
+
149
+ adapter: lora
150
+ lora_r: 32
151
+ lora_alpha: 64
152
+ lora_dropout: 0.0
153
+ lora_bias: None
154
+ lora_target_modules: 'model.language_model.layers.[\d]+.(_checkpoint_wrapped_module.)?(mlp|self_attn).(up|down|gate|q|k|v|o)_proj'
155
+ use_tensorboard: true
156
+
157
+ optimizer: paged_adamw_8bit
158
+ learning_rate: 2.5e-5 # 1e-4 / 4
159
+ loraplus_lr_ratio: 16
160
+
161
+ # Training arguments
162
+ output_dir: ./Writer-Stage-2
163
+ num_epochs: 11
164
+ micro_batch_size: 2
165
+ gradient_accumulation_steps: 4
166
+ save_strategy: 'no'
167
+ warmup_ratio: 0.05
168
+ lr_scheduler: 'cosine'
169
+ max_grad_norm: 1
170
+ logging_steps: 1
171
+ seed: 42
172
+
173
+ eot_tokens:
174
+ - "<turn|>"
175
+
176
+ push_dataset_to_hub: ConicCat/Gemma4-Mura
177
+ hf_use_auth_token: true
178
+ ```
179
+
180
+ </details><br>
181
+
182
+ # Writer-Stage-2
183
+
184
+ This model is a fine-tuned version of [google/gemma-4-31B-it](https://huggingface.co/google/gemma-4-31B-it) on the ConicCat/Mura_Books dataset.
185
+
186
+ ## Model description
187
+
188
+ More information needed
189
+
190
+ ## Intended uses & limitations
191
+
192
+ More information needed
193
+
194
+ ## Training and evaluation data
195
+
196
+ More information needed
197
+
198
+ ## Training procedure
199
+
200
+ ### Training hyperparameters
201
+
202
+ The following hyperparameters were used during training:
203
+ - learning_rate: 2.5e-05
204
+ - train_batch_size: 2
205
+ - eval_batch_size: 2
206
+ - seed: 42
207
+ - gradient_accumulation_steps: 4
208
+ - total_train_batch_size: 8
209
+ - optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
210
+ - lr_scheduler_type: cosine
211
+ - lr_scheduler_warmup_steps: 12
212
+ - training_steps: 242
213
+
214
+ ### Training results
215
+
216
+
217
+
218
+ ### Framework versions
219
+
220
+ - PEFT 0.19.1
221
+ - Transformers 5.5.0
222
+ - Pytorch 2.8.0+cu128
223
+ - Datasets 4.5.0
224
+ - Tokenizers 0.22.2
adapter_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "google/gemma-4-31B-it",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": null,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 64,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.0,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 32,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": "model.language_model.layers.[\\d]+.(_checkpoint_wrapped_module.)?(mlp|self_attn).(up|down|gate|q|k|v|o)_proj",
33
+ "target_parameters": [],
34
+ "task_type": "CAUSAL_LM",
35
+ "trainable_token_indices": null,
36
+ "use_bdlora": null,
37
+ "use_dora": false,
38
+ "use_qalora": false,
39
+ "use_rslora": false
40
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b55eb9c55ea109aa4407bd24a8df208d870b5a8dea810ee09fd05185e5ee18f
3
+ size 979558760
chat_template.jinja ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- macro strip_thinking(text) -%}
2
+ {%- set ns = namespace(result='') -%}
3
+ {%- for part in text.split('<channel|>') -%}
4
+ {%- if '<|channel>' in part -%}
5
+ {%- set ns.result = ns.result + part.split('<|channel>')[0] -%}
6
+ {%- else -%}
7
+ {%- set ns.result = ns.result + part -%}
8
+ {%- endif -%}
9
+ {%- endfor -%}
10
+ {{- ns.result | trim -}}
11
+ {%- endmacro -%}
12
+ {%- set loop_messages = messages -%} {{ bos_token }}
13
+ {#- Handle System Definitions Block -#} {%- if (enable_thinking is defined and enable_thinking) or messages[0]['role'] in ['system', 'developer'] -%}
14
+ {{- '<|turn>system\n' -}}
15
+
16
+ {#- Inject Thinking token at the very top of the FIRST system turn -#}
17
+ {%- if enable_thinking is defined and enable_thinking -%}
18
+ {{- '<|think|>' -}}
19
+ {%- endif -%}
20
+
21
+ {%- if messages[0]['role'] in ['system', 'developer'] -%}
22
+ {{- messages[0]['content'] | trim -}}
23
+ {%- set loop_messages = messages[1:] -%}
24
+ {%- endif -%}
25
+
26
+ {{- '<turn|>\n' -}}
27
+ {%- endif %}
28
+ {#- Loop through messages -#} {%- for message in loop_messages -%}
29
+ {%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}
30
+ {{- '<|turn>' + role + '\n' -}}
31
+
32
+ {#- Flag to identify the final SFT turn -#}
33
+ {%- set is_final_sft_turn = loop.last and not add_generation_prompt -%}
34
+
35
+ {%- if message['content'] is string -%}
36
+ {%- if role == 'model' -%}
37
+ {%- if is_final_sft_turn and '<|channel>thought' not in message['content'] -%}
38
+ {{- '<|channel>thought\n<channel|>' -}}
39
+ {%- endif -%}
40
+ {{- strip_thinking(message['content']) -}}
41
+ {%- else -%}
42
+ {{- message['content'] | trim -}}
43
+ {%- endif -%}
44
+ {%- elif message['content'] is sequence -%}
45
+ {%- set ns = namespace(has_thinking=false) -%}
46
+ {%- for item in message['content'] -%}
47
+ {%- if item['type'] == 'text' and '<|channel>thought' in item['text'] -%}
48
+ {%- set ns.has_thinking = true -%}
49
+ {%- endif -%}
50
+ {%- endfor -%}
51
+
52
+ {%- if role == 'model' and is_final_sft_turn and not ns.has_thinking -%}
53
+ {{- '<|channel>thought\n<channel|>' -}}
54
+ {%- endif -%}
55
+
56
+ {%- for item in message['content'] -%}
57
+ {%- if item['type'] == 'text' -%}
58
+ {%- if role == 'model' -%}
59
+ {{- strip_thinking(item['text']) -}}
60
+ {%- else -%}
61
+ {{- item['text'] | trim -}}
62
+ {%- endif -%}
63
+ {%- endif -%}
64
+ {%- endfor -%}
65
+ {%- endif -%}
66
+
67
+ {{- '<turn|>\n' -}}
68
+ {%- endfor -%}
69
+ {#- Generation Prompt handled as normal (serves as the final turn when true) -#} {%- if add_generation_prompt -%}
70
+ {{- '<|turn>model\n' -}}
71
+ {%- if not enable_thinking | default(false) -%}
72
+ {{- '<|channel>thought\n<channel|>' -}}
73
+ {%- endif -%}
74
+ {%- endif -%}
config.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma4ForConditionalGeneration"
4
+ ],
5
+ "audio_config": null,
6
+ "audio_token_id": 258881,
7
+ "boa_token_id": 256000,
8
+ "boi_token_id": 255999,
9
+ "dtype": "bfloat16",
10
+ "eoa_token_id": 258883,
11
+ "eoa_token_index": 258883,
12
+ "eoi_token_id": 258882,
13
+ "eos_token_id": 1,
14
+ "image_token_id": 258880,
15
+ "initializer_range": 0.02,
16
+ "model_type": "gemma4",
17
+ "text_config": {
18
+ "attention_bias": false,
19
+ "attention_dropout": 0.0,
20
+ "attention_k_eq_v": true,
21
+ "bos_token_id": 2,
22
+ "dtype": "bfloat16",
23
+ "enable_moe_block": false,
24
+ "eos_token_id": 1,
25
+ "expert_intermediate_size": null,
26
+ "final_logit_softcapping": 30.0,
27
+ "global_head_dim": 512,
28
+ "head_dim": 256,
29
+ "hidden_activation": "gelu_pytorch_tanh",
30
+ "hidden_size": 5376,
31
+ "hidden_size_per_layer_input": 0,
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 21504,
34
+ "layer_types": [
35
+ "sliding_attention",
36
+ "sliding_attention",
37
+ "sliding_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "full_attention",
41
+ "sliding_attention",
42
+ "sliding_attention",
43
+ "sliding_attention",
44
+ "sliding_attention",
45
+ "sliding_attention",
46
+ "full_attention",
47
+ "sliding_attention",
48
+ "sliding_attention",
49
+ "sliding_attention",
50
+ "sliding_attention",
51
+ "sliding_attention",
52
+ "full_attention",
53
+ "sliding_attention",
54
+ "sliding_attention",
55
+ "sliding_attention",
56
+ "sliding_attention",
57
+ "sliding_attention",
58
+ "full_attention",
59
+ "sliding_attention",
60
+ "sliding_attention",
61
+ "sliding_attention",
62
+ "sliding_attention",
63
+ "sliding_attention",
64
+ "full_attention",
65
+ "sliding_attention",
66
+ "sliding_attention",
67
+ "sliding_attention",
68
+ "sliding_attention",
69
+ "sliding_attention",
70
+ "full_attention",
71
+ "sliding_attention",
72
+ "sliding_attention",
73
+ "sliding_attention",
74
+ "sliding_attention",
75
+ "sliding_attention",
76
+ "full_attention",
77
+ "sliding_attention",
78
+ "sliding_attention",
79
+ "sliding_attention",
80
+ "sliding_attention",
81
+ "sliding_attention",
82
+ "full_attention",
83
+ "sliding_attention",
84
+ "sliding_attention",
85
+ "sliding_attention",
86
+ "sliding_attention",
87
+ "sliding_attention",
88
+ "full_attention",
89
+ "sliding_attention",
90
+ "sliding_attention",
91
+ "sliding_attention",
92
+ "sliding_attention",
93
+ "sliding_attention",
94
+ "full_attention"
95
+ ],
96
+ "max_position_embeddings": 262144,
97
+ "model_type": "gemma4_text",
98
+ "moe_intermediate_size": null,
99
+ "num_attention_heads": 32,
100
+ "num_experts": null,
101
+ "num_global_key_value_heads": 4,
102
+ "num_hidden_layers": 60,
103
+ "num_key_value_heads": 16,
104
+ "num_kv_shared_layers": 0,
105
+ "pad_token_id": 0,
106
+ "rms_norm_eps": 1e-06,
107
+ "rope_parameters": {
108
+ "full_attention": {
109
+ "partial_rotary_factor": 0.25,
110
+ "rope_theta": 1000000.0,
111
+ "rope_type": "proportional"
112
+ },
113
+ "sliding_attention": {
114
+ "rope_theta": 10000.0,
115
+ "rope_type": "default"
116
+ }
117
+ },
118
+ "sliding_window": 1024,
119
+ "tie_word_embeddings": true,
120
+ "top_k_experts": null,
121
+ "use_bidirectional_attention": "vision",
122
+ "use_cache": false,
123
+ "use_double_wide_mlp": false,
124
+ "vocab_size": 262144,
125
+ "vocab_size_per_layer_input": 262144
126
+ },
127
+ "tie_word_embeddings": true,
128
+ "transformers_version": "5.5.0",
129
+ "use_cache": false,
130
+ "video_token_id": 258884,
131
+ "vision_config": {
132
+ "_name_or_path": "",
133
+ "architectures": null,
134
+ "attention_bias": false,
135
+ "attention_dropout": 0.0,
136
+ "chunk_size_feed_forward": 0,
137
+ "default_output_length": 280,
138
+ "dtype": "bfloat16",
139
+ "global_head_dim": 72,
140
+ "head_dim": 72,
141
+ "hidden_activation": "gelu_pytorch_tanh",
142
+ "hidden_size": 1152,
143
+ "id2label": {
144
+ "0": "LABEL_0",
145
+ "1": "LABEL_1"
146
+ },
147
+ "initializer_range": 0.02,
148
+ "intermediate_size": 4304,
149
+ "is_encoder_decoder": false,
150
+ "label2id": {
151
+ "LABEL_0": 0,
152
+ "LABEL_1": 1
153
+ },
154
+ "max_position_embeddings": 131072,
155
+ "model_type": "gemma4_vision",
156
+ "num_attention_heads": 16,
157
+ "num_hidden_layers": 27,
158
+ "num_key_value_heads": 16,
159
+ "output_attentions": false,
160
+ "output_hidden_states": false,
161
+ "patch_size": 16,
162
+ "pooling_kernel_size": 3,
163
+ "position_embedding_size": 10240,
164
+ "problem_type": null,
165
+ "return_dict": true,
166
+ "rms_norm_eps": 1e-06,
167
+ "rope_parameters": {
168
+ "rope_theta": 100.0,
169
+ "rope_type": "default"
170
+ },
171
+ "standardize": true,
172
+ "use_clipped_linears": false
173
+ },
174
+ "vision_soft_tokens_per_image": 280
175
+ }
debug.log ADDED
The diff for this file is too large to render. See raw diff
 
processor_config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio_ms_per_token": 40,
3
+ "audio_seq_length": 750,
4
+ "feature_extractor": {
5
+ "dither": 0.0,
6
+ "feature_extractor_type": "Gemma4AudioFeatureExtractor",
7
+ "feature_size": 128,
8
+ "fft_length": 512,
9
+ "fft_overdrive": false,
10
+ "frame_length": 320,
11
+ "hop_length": 160,
12
+ "input_scale_factor": 1.0,
13
+ "max_frequency": 8000.0,
14
+ "mel_floor": 0.001,
15
+ "min_frequency": 0.0,
16
+ "padding_side": "right",
17
+ "padding_value": 0.0,
18
+ "per_bin_mean": null,
19
+ "per_bin_stddev": null,
20
+ "preemphasis": 0.0,
21
+ "preemphasis_htk_flavor": true,
22
+ "return_attention_mask": true,
23
+ "sampling_rate": 16000
24
+ },
25
+ "image_processor": {
26
+ "do_convert_rgb": true,
27
+ "do_normalize": false,
28
+ "do_rescale": true,
29
+ "do_resize": true,
30
+ "image_mean": [
31
+ 0.0,
32
+ 0.0,
33
+ 0.0
34
+ ],
35
+ "image_processor_type": "Gemma4ImageProcessor",
36
+ "image_seq_length": 280,
37
+ "image_std": [
38
+ 1.0,
39
+ 1.0,
40
+ 1.0
41
+ ],
42
+ "max_soft_tokens": 280,
43
+ "patch_size": 16,
44
+ "pooling_kernel_size": 3,
45
+ "resample": 3,
46
+ "rescale_factor": 0.00392156862745098
47
+ },
48
+ "image_seq_length": 280,
49
+ "processor_class": "Gemma4Processor",
50
+ "video_processor": {
51
+ "do_convert_rgb": true,
52
+ "do_normalize": true,
53
+ "do_rescale": true,
54
+ "do_resize": true,
55
+ "do_sample_frames": true,
56
+ "image_mean": [
57
+ 0.0,
58
+ 0.0,
59
+ 0.0
60
+ ],
61
+ "image_std": [
62
+ 1.0,
63
+ 1.0,
64
+ 1.0
65
+ ],
66
+ "max_soft_tokens": 70,
67
+ "num_frames": 32,
68
+ "patch_size": 16,
69
+ "pooling_kernel_size": 3,
70
+ "resample": 3,
71
+ "rescale_factor": 0.00392156862745098,
72
+ "return_metadata": false,
73
+ "video_processor_type": "Gemma4VideoProcessor"
74
+ }
75
+ }
runs/Apr29_00-30-00_3ca7aecb0efa/events.out.tfevents.1777422600.3ca7aecb0efa.3345.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdb6dfa691c32ffece9e1e3a3be337cd76e3d9c1dd0c6d0a2f68c967ed9b0052
3
+ size 172277
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc8d3a0ce36466ccc1278bf987df5f71db1719b9ca6b4118264f45cb627bfe0f
3
+ size 32169626
tokenizer_config.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio_token": "<|audio|>",
3
+ "backend": "tokenizers",
4
+ "boa_token": "<|audio>",
5
+ "boi_token": "<|image>",
6
+ "bos_token": "<bos>",
7
+ "eoa_token": "<audio|>",
8
+ "eoc_token": "<channel|>",
9
+ "eoi_token": "<image|>",
10
+ "eos_token": "<eos>",
11
+ "eot_token": "<turn|>",
12
+ "escape_token": "<|\"|>",
13
+ "etc_token": "<tool_call|>",
14
+ "etd_token": "<tool|>",
15
+ "etr_token": "<tool_response|>",
16
+ "extra_special_tokens": [
17
+ "<|video|>"
18
+ ],
19
+ "image_token": "<|image|>",
20
+ "is_local": false,
21
+ "mask_token": "<mask>",
22
+ "model_max_length": 1000000000000000019884624838656,
23
+ "model_specific_special_tokens": {
24
+ "audio_token": "<|audio|>",
25
+ "boa_token": "<|audio>",
26
+ "boi_token": "<|image>",
27
+ "eoa_token": "<audio|>",
28
+ "eoc_token": "<channel|>",
29
+ "eoi_token": "<image|>",
30
+ "eot_token": "<turn|>",
31
+ "escape_token": "<|\"|>",
32
+ "etc_token": "<tool_call|>",
33
+ "etd_token": "<tool|>",
34
+ "etr_token": "<tool_response|>",
35
+ "image_token": "<|image|>",
36
+ "soc_token": "<|channel>",
37
+ "sot_token": "<|turn>",
38
+ "stc_token": "<|tool_call>",
39
+ "std_token": "<|tool>",
40
+ "str_token": "<|tool_response>",
41
+ "think_token": "<|think|>"
42
+ },
43
+ "pad_token": "<pad>",
44
+ "padding_side": "left",
45
+ "processor_class": "Gemma4Processor",
46
+ "response_schema": {
47
+ "properties": {
48
+ "content": {
49
+ "type": "string"
50
+ },
51
+ "role": {
52
+ "const": "assistant"
53
+ },
54
+ "thinking": {
55
+ "type": "string"
56
+ },
57
+ "tool_calls": {
58
+ "items": {
59
+ "properties": {
60
+ "function": {
61
+ "properties": {
62
+ "arguments": {
63
+ "additionalProperties": {},
64
+ "type": "object",
65
+ "x-parser": "gemma4-tool-call"
66
+ },
67
+ "name": {
68
+ "type": "string"
69
+ }
70
+ },
71
+ "type": "object",
72
+ "x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})"
73
+ },
74
+ "type": {
75
+ "const": "function"
76
+ }
77
+ },
78
+ "type": "object"
79
+ },
80
+ "type": "array",
81
+ "x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>"
82
+ }
83
+ },
84
+ "type": "object",
85
+ "x-regex": "(\\<\\|channel\\>thought\\n(?P<thinking>.*?)\\<channel\\|\\>)?(?P<tool_calls>\\<\\|tool_call\\>.*\\<tool_call\\|\\>)?(?P<content>(?:(?!\\<turn\\|\\>)(?!\\<\\|tool_response\\>).)+)?(?:\\<turn\\|\\>|\\<\\|tool_response\\>)?"
86
+ },
87
+ "soc_token": "<|channel>",
88
+ "sot_token": "<|turn>",
89
+ "stc_token": "<|tool_call>",
90
+ "std_token": "<|tool>",
91
+ "str_token": "<|tool_response>",
92
+ "think_token": "<|think|>",
93
+ "tokenizer_class": "GemmaTokenizer",
94
+ "unk_token": "<unk>"
95
+ }