kadirnar commited on
Commit
ee3c04a
1 Parent(s): 80d50bc

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +47 -33
config.json CHANGED
@@ -1,35 +1,49 @@
1
  {
2
- "architectures": [
3
- "LlamaForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_dropout": 0.0,
7
- "bos_token_id": 128000,
8
- "eos_token_id": 128001,
9
- "head_dim": 64,
10
- "hidden_act": "silu",
11
- "hidden_size": 2048,
12
- "initializer_range": 0.02,
13
- "intermediate_size": 8192,
14
- "max_position_embeddings": 131072,
15
- "mlp_bias": false,
16
- "model_type": "llama",
17
- "num_attention_heads": 32,
18
- "num_hidden_layers": 16,
19
- "num_key_value_heads": 8,
20
- "pretraining_tp": 1,
21
- "rms_norm_eps": 1e-05,
22
- "rope_scaling": {
23
- "factor": 32.0,
24
- "high_freq_factor": 4.0,
25
- "low_freq_factor": 1.0,
26
- "original_max_position_embeddings": 8192,
27
- "rope_type": "llama3"
28
- },
29
- "rope_theta": 500000.0,
30
- "tie_word_embeddings": true,
31
- "torch_dtype": "bfloat16",
32
- "transformers_version": "4.45.0.dev0",
33
- "use_cache": true,
34
- "vocab_size": 128256
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  }
 
 
1
  {
2
+ "architectures": [
3
+ "Llamavision"
4
+ ],
5
+ "auto_map": {
6
+ "AutoConfig": "configuration_llamavision.LlamavisionConfig",
7
+ "AutoModelForCausalLM": "modeling_llamavision.Llamavision"
8
+ },
9
+ "model_type": "llamavision",
10
+ "text_config": {
11
+ "_name_or_path": "meta-llama/Llama-3.2-1B",
12
+ "architectures": [
13
+ "LlamaForCausalLM"
14
+ ],
15
+ "bos_token_id": 128000,
16
+ "eos_token_id": [
17
+ 128001,
18
+ 128008,
19
+ 128009
20
+ ],
21
+ "intermediate_size": 14336,
22
+ "max_position_embeddings": 131072,
23
+ "model_type": "llama",
24
+ "num_key_value_heads": 8,
25
+ "rms_norm_eps": 0.00001,
26
+ "rope_scaling": {
27
+ "factor": 8,
28
+ "high_freq_factor": 4,
29
+ "low_freq_factor": 1,
30
+ "original_max_position_embeddings": 8192,
31
+ "rope_type": "llama3"
32
+ },
33
+ "rope_theta": 500000,
34
+ "torch_dtype": "float16",
35
+ "vocab_size": 128256
36
+ },
37
+ "torch_dtype": "float16",
38
+ "transformers_version": "4.43.1",
39
+ "vision_config": {
40
+ "_name_or_path": "google/siglip-so400m-patch14-384",
41
+ "hidden_size": 1152,
42
+ "image_size": 384,
43
+ "intermediate_size": 4304,
44
+ "model_type": "siglip_vision_model",
45
+ "num_attention_heads": 16,
46
+ "num_hidden_layers": 27,
47
+ "patch_size": 14
48
  }
49
+ }