lusxvr commited on
Commit
b05900a
·
verified ·
1 Parent(s): 4d0dd76

Upload nanoVLM using push_to_hub

Browse files
Files changed (2) hide show
  1. config.json +6 -6
  2. model.safetensors +2 -2
config.json CHANGED
@@ -9,23 +9,23 @@
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": 8192,
26
  "lm_use_tokens": false,
27
  "lm_tie_weights": true,
28
- "lm_model_type": "HuggingFaceTB/SmolLM2-135M",
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,
 
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": 8192,
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,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:50c112c223851009eb5649ab617ce9c1f10523cc4e200dbbcc73a1878bdf93a7
3
- size 912301840
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac216a506c6c21aa4fce364953bc6ad0905c770b569ccd13c63200257d1c4382
3
+ size 1840504504