Upload nanoVLM using push_to_hub
Browse files- config.json +5 -2
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -20,13 +20,16 @@
|
|
| 20 |
"lm_dropout": 0.0,
|
| 21 |
"lm_n_blocks": 30,
|
| 22 |
"lm_attn_scaling": 1.0,
|
| 23 |
-
"
|
|
|
|
| 24 |
"lm_max_length": 79,
|
| 25 |
"lm_use_tokens": false,
|
| 26 |
"lm_tie_weights": true,
|
| 27 |
"lm_model_type": "HuggingFaceTB/SmolLM2-135M",
|
| 28 |
"lm_tokenizer": "HuggingFaceTB/cosmo2-tokenizer",
|
|
|
|
| 29 |
"mp_pixel_shuffle_factor": 2,
|
| 30 |
"vlm_load_backbone_weights": true,
|
| 31 |
-
"vlm_checkpoint_path": "checkpoints/nanoVLM-222M"
|
|
|
|
| 32 |
}
|
|
|
|
| 20 |
"lm_dropout": 0.0,
|
| 21 |
"lm_n_blocks": 30,
|
| 22 |
"lm_attn_scaling": 1.0,
|
| 23 |
+
"IMAGE_TOKEN_LENGTH": 49,
|
| 24 |
+
"TOTAL_SEQUENCE_LENGTH": 128,
|
| 25 |
"lm_max_length": 79,
|
| 26 |
"lm_use_tokens": false,
|
| 27 |
"lm_tie_weights": true,
|
| 28 |
"lm_model_type": "HuggingFaceTB/SmolLM2-135M",
|
| 29 |
"lm_tokenizer": "HuggingFaceTB/cosmo2-tokenizer",
|
| 30 |
+
"lm_eos_token_id": 0,
|
| 31 |
"mp_pixel_shuffle_factor": 2,
|
| 32 |
"vlm_load_backbone_weights": true,
|
| 33 |
+
"vlm_checkpoint_path": "checkpoints/nanoVLM-222M",
|
| 34 |
+
"hf_repo_name": "nanoVLM"
|
| 35 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 888372464
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62ec785585acfbe841fef3e409be5426eba0574bc1b969f5a8e5602c3a594b2f
|
| 3 |
size 888372464
|