hf-transformers-bot's picture
Update tiny models for LlavaOnevisionModel
8601dd7 verified
Raw
History Blame Contribute Delete
2.17 kB
{
"architectures": [
"LlavaOnevisionModel"
],
"dtype": "float32",
"ignore_index": -100,
"image_grid_pinpoints": [
[
16,
16
]
],
"image_token_index": 1,
"model_type": "llava_onevision",
"multimodal_projector_bias": true,
"projector_hidden_act": "gelu",
"text_config": {
"attention_dropout": 0.0,
"attention_probs_dropout_prob": 0.1,
"bos_token_id": null,
"eos_token_id": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 32,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1",
"2": "LABEL_2"
},
"initializer_range": 0.02,
"intermediate_size": 37,
"is_training": true,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1,
"LABEL_2": 2
},
"layer_types": [
"full_attention",
"full_attention"
],
"max_position_embeddings": 580,
"max_window_layers": 28,
"model_type": "qwen2",
"num_attention_heads": 4,
"num_choices": 4,
"num_hidden_layers": 2,
"num_key_value_heads": 4,
"pad_token_id": 151643,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 10000.0,
"rope_type": "default"
},
"seq_length": 7,
"sliding_window": null,
"tie_word_embeddings": false,
"type_sequence_label_size": 2,
"type_vocab_size": 16,
"use_cache": true,
"use_input_mask": true,
"use_labels": true,
"use_sliding_window": false,
"use_token_type_ids": false,
"vocab_size": 151648
},
"tie_word_embeddings": false,
"transformers_version": "5.16.0.dev0",
"video_token_index": 2,
"vision_aspect_ratio": "anyres_max_9",
"vision_config": {
"attention_dropout": 0.1,
"dropout": 0.1,
"hidden_act": "gelu_pytorch_tanh",
"hidden_size": 32,
"image_size": 16,
"initializer_range": 0.02,
"intermediate_size": 37,
"is_training": true,
"layer_norm_eps": 1e-06,
"model_type": "siglip_vision_model",
"num_attention_heads": 4,
"num_channels": 3,
"num_hidden_layers": 2,
"patch_size": 8,
"projection_dim": 32
},
"vision_feature_layer": -1,
"vision_feature_select_strategy": "full"
}