Upload nanoVLM using push_to_hub
Browse files- config.json +3 -3
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -22,15 +22,15 @@
|
|
| 22 |
"lm_dropout": 0.0,
|
| 23 |
"lm_n_blocks": 32,
|
| 24 |
"lm_attn_scaling": 1.0,
|
| 25 |
-
"lm_max_length":
|
| 26 |
"lm_use_tokens": false,
|
| 27 |
"lm_tie_weights": true,
|
| 28 |
"lm_model_type": "HuggingFaceTB/SmolLM2-360M-Instruct",
|
| 29 |
"lm_tokenizer": "HuggingFaceTB/SmolLM2-360M-Instruct",
|
| 30 |
"lm_chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
| 31 |
"lm_eos_token_id": 0,
|
| 32 |
-
"mp_pixel_shuffle_factor":
|
| 33 |
-
"mp_image_token_length":
|
| 34 |
"vlm_extra_tokens": {
|
| 35 |
"image_token": "<|image|>"
|
| 36 |
},
|
|
|
|
| 22 |
"lm_dropout": 0.0,
|
| 23 |
"lm_n_blocks": 32,
|
| 24 |
"lm_attn_scaling": 1.0,
|
| 25 |
+
"lm_max_length": 2048,
|
| 26 |
"lm_use_tokens": false,
|
| 27 |
"lm_tie_weights": true,
|
| 28 |
"lm_model_type": "HuggingFaceTB/SmolLM2-360M-Instruct",
|
| 29 |
"lm_tokenizer": "HuggingFaceTB/SmolLM2-360M-Instruct",
|
| 30 |
"lm_chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
| 31 |
"lm_eos_token_id": 0,
|
| 32 |
+
"mp_pixel_shuffle_factor": 4,
|
| 33 |
+
"mp_image_token_length": 64,
|
| 34 |
"vlm_extra_tokens": {
|
| 35 |
"image_token": "<|image|>"
|
| 36 |
},
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9261e777d4075adb266e93a1ebd44868756d2ad7050c8ede48441bd269d0ebb2
|
| 3 |
+
size 1840254904
|