qgallouedec's picture
qgallouedec HF Staff
Upload SmolVLMForConditionalGeneration
a4dc356 verified
raw
history blame
1.2 kB
{
"architectures": [
"SmolVLMForConditionalGeneration"
],
"image_token_id": 128257,
"model_type": "smolvlm",
"pad_token_id": 128002,
"scale_factor": 2,
"text_config": {
"attention_bias": false,
"attention_dropout": 0.0,
"head_dim": 2,
"hidden_act": "silu",
"hidden_size": 8,
"initializer_range": 0.02,
"intermediate_size": 32,
"max_position_embeddings": 2048,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 4,
"num_hidden_layers": 2,
"num_key_value_heads": 2,
"pretraining_tp": 1,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 10000.0,
"use_cache": true,
"vocab_size": 49297
},
"tie_word_embeddings": false,
"torch_dtype": "float32",
"transformers_version": "4.55.0.dev0",
"use_cache": true,
"vision_config": {
"attention_dropout": 0.0,
"hidden_act": "gelu_pytorch_tanh",
"hidden_size": 16,
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 32,
"layer_norm_eps": 1e-06,
"model_type": "smolvlm_vision",
"num_attention_heads": 4,
"num_channels": 3,
"num_hidden_layers": 2,
"patch_size": 32
}
}