Add files using upload-large-folder tool
Browse files- config.json +17 -17
- model.safetensors +3 -0
- tokenizer_config.json +1 -0
config.json
CHANGED
|
@@ -7,31 +7,31 @@
|
|
| 7 |
"attn_logit_softcapping": null,
|
| 8 |
"bos_token_id": 2,
|
| 9 |
"cache_implementation": "hybrid",
|
| 10 |
-
"eos_token_id":
|
|
|
|
|
|
|
|
|
|
| 11 |
"final_logit_softcapping": null,
|
| 12 |
-
"head_dim":
|
| 13 |
"hidden_activation": "gelu_pytorch_tanh",
|
| 14 |
-
"hidden_size":
|
| 15 |
"initializer_range": 0.02,
|
| 16 |
-
"intermediate_size":
|
| 17 |
-
"max_position_embeddings":
|
| 18 |
"model_type": "gemma3_text",
|
| 19 |
-
"num_attention_heads":
|
| 20 |
-
"num_hidden_layers":
|
| 21 |
-
"num_key_value_heads":
|
| 22 |
"pad_token_id": 0,
|
| 23 |
-
"query_pre_attn_scalar":
|
| 24 |
"rms_norm_eps": 1e-06,
|
| 25 |
-
"rope_local_base_freq": 10000
|
| 26 |
-
"rope_scaling":
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
},
|
| 30 |
-
"rope_theta": 1000000.0,
|
| 31 |
-
"sliding_window": 1024,
|
| 32 |
"sliding_window_pattern": 6,
|
| 33 |
"torch_dtype": "bfloat16",
|
| 34 |
"transformers_version": "4.50.0",
|
| 35 |
"use_cache": true,
|
| 36 |
-
"vocab_size":
|
| 37 |
}
|
|
|
|
| 7 |
"attn_logit_softcapping": null,
|
| 8 |
"bos_token_id": 2,
|
| 9 |
"cache_implementation": "hybrid",
|
| 10 |
+
"eos_token_id": [
|
| 11 |
+
1,
|
| 12 |
+
106
|
| 13 |
+
],
|
| 14 |
"final_logit_softcapping": null,
|
| 15 |
+
"head_dim": 256,
|
| 16 |
"hidden_activation": "gelu_pytorch_tanh",
|
| 17 |
+
"hidden_size": 1152,
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
+
"intermediate_size": 6912,
|
| 20 |
+
"max_position_embeddings": 32768,
|
| 21 |
"model_type": "gemma3_text",
|
| 22 |
+
"num_attention_heads": 4,
|
| 23 |
+
"num_hidden_layers": 26,
|
| 24 |
+
"num_key_value_heads": 1,
|
| 25 |
"pad_token_id": 0,
|
| 26 |
+
"query_pre_attn_scalar": 256,
|
| 27 |
"rms_norm_eps": 1e-06,
|
| 28 |
+
"rope_local_base_freq": 10000,
|
| 29 |
+
"rope_scaling": null,
|
| 30 |
+
"rope_theta": 1000000,
|
| 31 |
+
"sliding_window": 512,
|
|
|
|
|
|
|
|
|
|
| 32 |
"sliding_window_pattern": 6,
|
| 33 |
"torch_dtype": "bfloat16",
|
| 34 |
"transformers_version": "4.50.0",
|
| 35 |
"use_cache": true,
|
| 36 |
+
"vocab_size": 262144
|
| 37 |
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f746440bb93c56f741df4ca19eaa2ba9f3944e527990571150ab19bb9b78c26
|
| 3 |
+
size 1999811208
|
tokenizer_config.json
CHANGED
|
@@ -51325,6 +51325,7 @@
|
|
| 51325 |
},
|
| 51326 |
"boi_token": "<start_of_image>",
|
| 51327 |
"bos_token": "<bos>",
|
|
|
|
| 51328 |
"clean_up_tokenization_spaces": false,
|
| 51329 |
"eoi_token": "<end_of_image>",
|
| 51330 |
"eos_token": "<eos>",
|
|
|
|
| 51325 |
},
|
| 51326 |
"boi_token": "<start_of_image>",
|
| 51327 |
"bos_token": "<bos>",
|
| 51328 |
+
"chat_template": "{{ bos_token }}\n{%- if messages[0]['role'] == 'system' -%}\n {%- if messages[0]['content'] is string -%}\n {%- set first_user_prefix = messages[0]['content'] + '\n\n' -%}\n {%- else -%}\n {%- set first_user_prefix = messages[0]['content'][0]['text'] + '\n\n' -%}\n {%- endif -%}\n {%- set loop_messages = messages[1:] -%}\n{%- else -%}\n {%- set first_user_prefix = \"\" -%}\n {%- set loop_messages = messages -%}\n{%- endif -%}\n{%- for message in loop_messages -%}\n {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}\n {{ raise_exception(\"Conversation roles must alternate user/assistant/user/assistant/...\") }}\n {%- endif -%}\n {%- if (message['role'] == 'assistant') -%}\n {%- set role = \"model\" -%}\n {%- else -%}\n {%- set role = message['role'] -%}\n {%- endif -%}\n {{ '<start_of_turn>' + role + '\n' + (first_user_prefix if loop.first else \"\") }}\n {%- if message['content'] is string -%}\n {{ message['content'] | trim }}\n {%- elif message['content'] is iterable -%}\n {%- for item in message['content'] -%}\n {%- if item['type'] == 'image' -%}\n {{ '<start_of_image>' }}\n {%- elif item['type'] == 'text' -%}\n {{ item['text'] | trim }}\n {%- endif -%}\n {%- endfor -%}\n {%- else -%}\n {{ raise_exception(\"Invalid content type\") }}\n {%- endif -%}\n {{ '<end_of_turn>\n' }}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n {{'<start_of_turn>model\n'}}\n{%- endif -%}\n",
|
| 51329 |
"clean_up_tokenization_spaces": false,
|
| 51330 |
"eoi_token": "<end_of_image>",
|
| 51331 |
"eos_token": "<eos>",
|