andito HF Staff commited on
Commit
6c6d04d
·
verified ·
1 Parent(s): 37abbb9

Upload nanoVLM using push_to_hub

Browse files
Files changed (2) hide show
  1. config.json +3 -3
  2. 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": 1024,
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": 2,
33
- "mp_image_token_length": 256,
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:dd335d4fe5f770fdaefac798dd7a2a2ef1f3d8c4a0a5d68f2f46781890d6d7b3
3
- size 1804865424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9261e777d4075adb266e93a1ebd44868756d2ad7050c8ede48441bd269d0ebb2
3
+ size 1840254904