andito HF Staff commited on
Commit
372cef4
·
verified ·
1 Parent(s): 25c42a5

Upload nanoVLM using push_to_hub

Browse files
Files changed (2) hide show
  1. config.json +7 -7
  2. model.safetensors +2 -2
config.json CHANGED
@@ -9,24 +9,24 @@
9
  "vit_ln_eps": 1e-06,
10
  "vit_cls_flag": false,
11
  "vit_model_type": "google/siglip2-base-patch16-512",
12
- "lm_hidden_dim": 960,
13
- "lm_inter_dim": 2560,
14
  "lm_rms_eps": 1e-05,
15
  "lm_re_base": 100000,
16
  "lm_max_position_embeddings": 8192,
17
  "lm_base_vocab_size": 49152,
18
  "extra_token_amount": 66,
19
  "lm_vocab_size": 49218,
20
- "lm_n_heads": 15,
21
- "lm_n_kv_heads": 5,
22
  "lm_dropout": 0.0,
23
- "lm_n_blocks": 32,
24
  "lm_attn_scaling": 1.0,
25
  "lm_max_length": 4096,
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
  "mp_pixel_shuffle_factor": 4,
32
  "mp_image_token_length": 64,
 
9
  "vit_ln_eps": 1e-06,
10
  "vit_cls_flag": false,
11
  "vit_model_type": "google/siglip2-base-patch16-512",
12
+ "lm_hidden_dim": 576,
13
+ "lm_inter_dim": 1536,
14
  "lm_rms_eps": 1e-05,
15
  "lm_re_base": 100000,
16
  "lm_max_position_embeddings": 8192,
17
  "lm_base_vocab_size": 49152,
18
  "extra_token_amount": 66,
19
  "lm_vocab_size": 49218,
20
+ "lm_n_heads": 9,
21
+ "lm_n_kv_heads": 3,
22
  "lm_dropout": 0.0,
23
+ "lm_n_blocks": 30,
24
  "lm_attn_scaling": 1.0,
25
  "lm_max_length": 4096,
26
  "lm_use_tokens": false,
27
  "lm_tie_weights": true,
28
+ "lm_model_type": "HuggingFaceTB/SmolLM2-135M-Instruct",
29
+ "lm_tokenizer": "HuggingFaceTB/SmolLM2-135M-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
  "mp_pixel_shuffle_factor": 4,
32
  "mp_image_token_length": 64,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:becb28630a5313f9b3666aa9a46e8fc687c50740155fc256610b9c9d28654077
3
- size 1840504504
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2840db768c083ef260cb95ff8f81330dd2bc099232618a5e5abb28e977241750
3
+ size 912301840