nielsr HF Staff commited on
Commit
ce58344
·
verified ·
1 Parent(s): 3cae52f

Push model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +13 -0
  2. config.json +34 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: nanovlm
3
+ license: mit
4
+ tags:
5
+ - image-text-to-text
6
+ - model_hub_mixin
7
+ - pytorch_model_hub_mixin
8
+ ---
9
+
10
+ This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
11
+ - Code: https://github.com/huggingface/nanoVLM
12
+ - Paper: [More Information Needed]
13
+ - Docs: [More Information Needed]
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cfg": {
3
+ "lm_attn_scaling": 1.0,
4
+ "lm_dropout": 0.0,
5
+ "lm_eos_token_id": 0,
6
+ "lm_hidden_dim": 576,
7
+ "lm_inter_dim": 1536,
8
+ "lm_max_length": 79,
9
+ "lm_max_position_embeddings": 8192,
10
+ "lm_model_type": "HuggingFaceTB/SmolLM2-135M",
11
+ "lm_n_blocks": 30,
12
+ "lm_n_heads": 9,
13
+ "lm_n_kv_heads": 3,
14
+ "lm_re_base": 100000,
15
+ "lm_rms_eps": 1e-05,
16
+ "lm_tie_weights": true,
17
+ "lm_tokenizer": "HuggingFaceTB/cosmo2-tokenizer",
18
+ "lm_use_tokens": false,
19
+ "lm_vocab_size": 49152,
20
+ "mp_pixel_shuffle_factor": 2,
21
+ "vit_cls_flag": false,
22
+ "vit_dropout": 0.0,
23
+ "vit_hidden_dim": 768,
24
+ "vit_img_size": 224,
25
+ "vit_inter_dim": 3072,
26
+ "vit_ln_eps": 1e-06,
27
+ "vit_model_type": "google/siglip-base-patch16-224",
28
+ "vit_n_blocks": 12,
29
+ "vit_n_heads": 12,
30
+ "vit_patch_size": 16,
31
+ "vlm_checkpoint_path": "nanoVLM.pth",
32
+ "vlm_load_backbone_weights": true
33
+ }
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99828a24ee9868f81c746cc38b773bcbe95d8d71ca65595db4f4b0ca0e90c5d3
3
+ size 888372464