Add files using upload-large-folder tool
Browse files- config.json +5 -5
- generation_config.json +3 -1
- model-00001-of-00005.safetensors +3 -0
- model-00002-of-00005.safetensors +3 -0
- model-00003-of-00005.safetensors +3 -0
- model-00004-of-00005.safetensors +3 -0
- model-00005-of-00005.safetensors +3 -0
- model.safetensors.index.json +0 -0
- tokenizer_config.json +1 -0
config.json
CHANGED
@@ -3,15 +3,14 @@
|
|
3 |
"Gemma3ForConditionalGeneration"
|
4 |
],
|
5 |
"boi_token_index": 255999,
|
|
|
6 |
"eoi_token_index": 256000,
|
7 |
-
"eos_token_id":
|
8 |
-
1,
|
9 |
-
106
|
10 |
-
],
|
11 |
"image_token_index": 262144,
|
12 |
"initializer_range": 0.02,
|
13 |
"mm_tokens_per_image": 256,
|
14 |
"model_type": "gemma3",
|
|
|
15 |
"text_config": {
|
16 |
"attention_bias": false,
|
17 |
"attention_dropout": 0.0,
|
@@ -43,7 +42,8 @@
|
|
43 |
"vocab_size": 262208
|
44 |
},
|
45 |
"torch_dtype": "bfloat16",
|
46 |
-
"transformers_version": "4.51.
|
|
|
47 |
"vision_config": {
|
48 |
"attention_dropout": 0.0,
|
49 |
"hidden_act": "gelu_pytorch_tanh",
|
|
|
3 |
"Gemma3ForConditionalGeneration"
|
4 |
],
|
5 |
"boi_token_index": 255999,
|
6 |
+
"bos_token_id": 2,
|
7 |
"eoi_token_index": 256000,
|
8 |
+
"eos_token_id": 106,
|
|
|
|
|
|
|
9 |
"image_token_index": 262144,
|
10 |
"initializer_range": 0.02,
|
11 |
"mm_tokens_per_image": 256,
|
12 |
"model_type": "gemma3",
|
13 |
+
"pad_token_id": 0,
|
14 |
"text_config": {
|
15 |
"attention_bias": false,
|
16 |
"attention_dropout": 0.0,
|
|
|
42 |
"vocab_size": 262208
|
43 |
},
|
44 |
"torch_dtype": "bfloat16",
|
45 |
+
"transformers_version": "4.51.3",
|
46 |
+
"unsloth_fixed": true,
|
47 |
"vision_config": {
|
48 |
"attention_dropout": 0.0,
|
49 |
"hidden_act": "gelu_pytorch_tanh",
|
generation_config.json
CHANGED
@@ -1,11 +1,13 @@
|
|
1 |
{
|
|
|
2 |
"cache_implementation": "hybrid",
|
3 |
"do_sample": true,
|
4 |
"eos_token_id": [
|
5 |
1,
|
6 |
106
|
7 |
],
|
|
|
8 |
"top_k": 64,
|
9 |
"top_p": 0.95,
|
10 |
-
"transformers_version": "4.51.
|
11 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token_id": 2,
|
3 |
"cache_implementation": "hybrid",
|
4 |
"do_sample": true,
|
5 |
"eos_token_id": [
|
6 |
1,
|
7 |
106
|
8 |
],
|
9 |
+
"pad_token_id": 0,
|
10 |
"top_k": 64,
|
11 |
"top_p": 0.95,
|
12 |
+
"transformers_version": "4.51.3"
|
13 |
}
|
model-00001-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e6fb899db428481aafb45a20130457df6e247e7cb03b7d9f01ee4bc2a9a08138
|
3 |
+
size 4979902192
|
model-00002-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d251e7fe9799d529405ddb61705a44cd700bd30a8b66a8d44ae26ddf8365dbc6
|
3 |
+
size 4931296592
|
model-00003-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0684ef801385f0669a0b3e4ab160c50877efdbfa40eb97788595985de2743e78
|
3 |
+
size 4931296656
|
model-00004-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4b964e6526f81ccfa625c900b72ce92d5e0fd2debb75998763038ad06b9c541
|
3 |
+
size 4931296656
|
model-00005-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ef2de8f93e165b4e02425769fc566000b0674256ef0c3a27b23a0d45eb12088
|
3 |
+
size 4601000928
|
model.safetensors.index.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
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": "<end_of_turn>",
|
|
|
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": "<end_of_turn>",
|