File size: 3,233 Bytes
5953f6d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
{
"adapter_config": {
"attention_dropout": 0.0,
"attn_implementation": "sdpa",
"dtype": "float16",
"float32_attention": true,
"head_dim": 72,
"hidden_act": "silu",
"hidden_size": 1152,
"image_feature_dropout": 0.0,
"initializer_range": 0.02,
"intermediate_size": 9728,
"model_type": "molmo2",
"num_attention_heads": 16,
"num_key_value_heads": 16,
"pooling_attention_mask": true,
"residual_dropout": 0.0,
"text_hidden_size": 2560,
"vit_layers": [
-3,
-9
]
},
"architectures": [
"Molmo2ForConditionalGeneration"
],
"auto_map": {
"AutoConfig": "configuration_molmo2.Molmo2Config",
"AutoModelForImageTextToText": "modeling_molmo2.Molmo2ForConditionalGeneration"
},
"dtype": "float16",
"frame_end_token_id": 151944,
"frame_start_token_id": 151943,
"image_col_id": 151939,
"image_end_token_id": 151937,
"image_high_res_id": 151938,
"image_low_res_id": 151942,
"image_patch_id": 151938,
"image_start_token_id": 151936,
"initializer_range": 0.02,
"low_res_image_start_token_id": 151940,
"model_type": "molmo2",
"quantization_config": {
"_load_in_4bit": true,
"_load_in_8bit": false,
"bnb_4bit_compute_dtype": "float16",
"bnb_4bit_quant_storage": "uint8",
"bnb_4bit_quant_type": "nf4",
"bnb_4bit_use_double_quant": true,
"llm_int8_enable_fp32_cpu_offload": false,
"llm_int8_has_fp16_weight": false,
"llm_int8_skip_modules": [
"vision_backbone"
],
"llm_int8_threshold": 6.0,
"load_in_4bit": true,
"load_in_8bit": false,
"quant_method": "bitsandbytes"
},
"text_config": {
"additional_vocab_size": 128,
"attention_dropout": 0.0,
"attn_implementation": "sdpa",
"dtype": "float16",
"embedding_dropout": 0.0,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2560,
"initializer_range": 0.02,
"intermediate_size": 9728,
"layer_norm_eps": 1e-06,
"max_position_embeddings": 30000,
"model_type": "molmo2_text",
"norm_after": false,
"num_attention_heads": 32,
"num_hidden_layers": 36,
"num_key_value_heads": 8,
"qk_norm_type": "qwen3",
"qkv_bias": false,
"residual_dropout": 0.0,
"rope_scaling": null,
"rope_scaling_layers": null,
"rope_theta": 5000000.0,
"use_cache": true,
"use_qk_norm": true,
"vocab_size": 151936
},
"tie_word_embeddings": false,
"transformers_version": "4.57.3",
"use_cache": true,
"use_frame_special_tokens": false,
"vit_config": {
"attention_dropout": 0.0,
"attn_implementation": "sdpa",
"dtype": "float16",
"float32_attention": true,
"head_dim": 72,
"hidden_act": "gelu_pytorch_tanh",
"hidden_size": 1152,
"image_default_input_size": [
378,
378
],
"image_num_pos": 729,
"image_patch_size": 14,
"initializer_range": 0.02,
"intermediate_size": 4304,
"layer_norm_eps": 1e-06,
"model_type": "molmo2",
"num_attention_heads": 16,
"num_hidden_layers": 27,
"num_key_value_heads": 16,
"residual_dropout": 0.0
}
}
|