Aekanun commited on
Commit
4fa4654
1 Parent(s): 7d1212f

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +25 -14
config.json CHANGED
@@ -1,25 +1,36 @@
1
  {
2
- "model_type": "llama",
3
  "architectures": [
4
- "LlamaForVisionToText"
5
  ],
6
  "_name_or_path": "meta-llama/Llama-3.2-11B-Vision-Instruct",
7
  "torch_dtype": "bfloat16",
8
  "transformers_version": "4.36.0",
9
- "use_cache": true,
10
- "tie_word_embeddings": false,
11
- "vision_config": {
12
- "hidden_size": 1024,
13
- "image_size": 224,
14
- "patch_size": 14,
15
- "num_hidden_layers": 24,
16
- "num_attention_heads": 16
17
- },
18
  "text_config": {
 
19
  "hidden_size": 4096,
20
- "intermediate_size": 11008,
21
- "num_hidden_layers": 32,
22
  "num_attention_heads": 32,
23
- "vocab_size": 32000
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
  }
 
1
  {
2
+ "model_type": "mllama",
3
  "architectures": [
4
+ "MllamaForConditionalGeneration"
5
  ],
6
  "_name_or_path": "meta-llama/Llama-3.2-11B-Vision-Instruct",
7
  "torch_dtype": "bfloat16",
8
  "transformers_version": "4.36.0",
9
+ "image_token_index": 128256,
 
 
 
 
 
 
 
 
10
  "text_config": {
11
+ "model_type": "mllama_text_model",
12
  "hidden_size": 4096,
13
+ "intermediate_size": 14336,
 
14
  "num_attention_heads": 32,
15
+ "num_hidden_layers": 40,
16
+ "num_key_value_heads": 8,
17
+ "hidden_act": "silu",
18
+ "max_position_embeddings": 131072,
19
+ "rms_norm_eps": 1e-05,
20
+ "vocab_size": 128256,
21
+ "torch_dtype": "bfloat16"
22
+ },
23
+ "vision_config": {
24
+ "model_type": "mllama_vision_model",
25
+ "hidden_size": 1280,
26
+ "intermediate_size": 5120,
27
+ "num_hidden_layers": 32,
28
+ "num_attention_heads": 16,
29
+ "hidden_act": "gelu",
30
+ "image_size": 560,
31
+ "patch_size": 14,
32
+ "num_channels": 3,
33
+ "norm_eps": 1e-05,
34
+ "vision_output_dim": 7680
35
  }
36
  }