(Trained with Unsloth)
Browse files- config.json +4 -4
- tokenizer_config.json +3 -2
config.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
],
|
| 5 |
"boi_token_index": 255999,
|
| 6 |
"bos_token_id": 2,
|
| 7 |
-
"
|
| 8 |
"eoi_token_index": 256000,
|
| 9 |
"eos_token_id": 106,
|
| 10 |
"image_token_index": 262144,
|
|
@@ -18,7 +18,7 @@
|
|
| 18 |
"attention_dropout": 0.0,
|
| 19 |
"attn_logit_softcapping": null,
|
| 20 |
"cache_implementation": "hybrid",
|
| 21 |
-
"
|
| 22 |
"final_logit_softcapping": null,
|
| 23 |
"head_dim": 256,
|
| 24 |
"hidden_activation": "gelu_pytorch_tanh",
|
|
@@ -80,10 +80,10 @@
|
|
| 80 |
},
|
| 81 |
"transformers_version": "4.56.2",
|
| 82 |
"unsloth_fixed": true,
|
| 83 |
-
"unsloth_version": "2025.
|
| 84 |
"vision_config": {
|
| 85 |
"attention_dropout": 0.0,
|
| 86 |
-
"
|
| 87 |
"hidden_act": "gelu_pytorch_tanh",
|
| 88 |
"hidden_size": 1152,
|
| 89 |
"image_size": 896,
|
|
|
|
| 4 |
],
|
| 5 |
"boi_token_index": 255999,
|
| 6 |
"bos_token_id": 2,
|
| 7 |
+
"torch_dtype": "bfloat16",
|
| 8 |
"eoi_token_index": 256000,
|
| 9 |
"eos_token_id": 106,
|
| 10 |
"image_token_index": 262144,
|
|
|
|
| 18 |
"attention_dropout": 0.0,
|
| 19 |
"attn_logit_softcapping": null,
|
| 20 |
"cache_implementation": "hybrid",
|
| 21 |
+
"torch_dtype": "bfloat16",
|
| 22 |
"final_logit_softcapping": null,
|
| 23 |
"head_dim": 256,
|
| 24 |
"hidden_activation": "gelu_pytorch_tanh",
|
|
|
|
| 80 |
},
|
| 81 |
"transformers_version": "4.56.2",
|
| 82 |
"unsloth_fixed": true,
|
| 83 |
+
"unsloth_version": "2025.10.3",
|
| 84 |
"vision_config": {
|
| 85 |
"attention_dropout": 0.0,
|
| 86 |
+
"torch_dtype": "bfloat16",
|
| 87 |
"hidden_act": "gelu_pytorch_tanh",
|
| 88 |
"hidden_size": 1152,
|
| 89 |
"image_size": 896,
|
tokenizer_config.json
CHANGED
|
@@ -51342,5 +51342,6 @@
|
|
| 51342 |
"spaces_between_special_tokens": false,
|
| 51343 |
"tokenizer_class": "GemmaTokenizer",
|
| 51344 |
"unk_token": "<unk>",
|
| 51345 |
-
"use_default_system_prompt": false
|
| 51346 |
-
}
|
|
|
|
|
|
| 51342 |
"spaces_between_special_tokens": false,
|
| 51343 |
"tokenizer_class": "GemmaTokenizer",
|
| 51344 |
"unk_token": "<unk>",
|
| 51345 |
+
"use_default_system_prompt": false,
|
| 51346 |
+
"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"
|
| 51347 |
+
}
|