patrickamadeus commited on
Commit
9126bae
·
verified ·
1 Parent(s): 45c18ff

Upload DualTowerVLM using push_to_hub

Browse files
Files changed (2) hide show
  1. config.json +5 -5
  2. model.safetensors +1 -1
config.json CHANGED
@@ -22,12 +22,12 @@
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,
33
  "max_img_size": 2048,
@@ -101,6 +101,6 @@
101
  "r8c8": "<row_8_col_8>"
102
  },
103
  "vlm_load_backbone_weights": true,
104
- "vlm_checkpoint_path": "lusxvr/nanoVLM-230M-8k",
105
  "hf_repo_name": "nanoVLM"
106
  }
 
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,
32
  "mp_image_token_length": 64,
33
  "max_img_size": 2048,
 
101
  "r8c8": "<row_8_col_8>"
102
  },
103
  "vlm_load_backbone_weights": true,
104
+ "vlm_checkpoint_path": "checkpoints",
105
  "hf_repo_name": "nanoVLM"
106
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8c5c9c2361003010499fdfa5dc5248ef4e01d19f518c08e8261fd6be1e9ff77a
3
  size 1450549888
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea151b280ce8a665b5f11622f61e43fff8fb475cbdb3f3f9ccc27270c1d4884a
3
  size 1450549888