kadirnar commited on
Commit
d7828f0
1 Parent(s): daec43f

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +45 -34
config.json CHANGED
@@ -1,38 +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": [
9
- 128001,
10
- 128008,
11
- 128009
12
- ],
13
- "hidden_act": "silu",
14
- "hidden_size": 4096,
15
- "initializer_range": 0.02,
16
- "intermediate_size": 14336,
17
- "max_position_embeddings": 131072,
18
- "mlp_bias": false,
19
- "model_type": "llama",
20
- "num_attention_heads": 32,
21
- "num_hidden_layers": 32,
22
- "num_key_value_heads": 8,
23
- "pretraining_tp": 1,
24
- "rms_norm_eps": 1e-05,
25
- "rope_scaling": {
26
- "factor": 8.0,
27
- "low_freq_factor": 1.0,
28
- "high_freq_factor": 4.0,
29
- "original_max_position_embeddings": 8192,
30
- "rope_type": "llama3"
 
 
 
 
 
31
  },
32
- "rope_theta": 500000.0,
33
- "tie_word_embeddings": false,
34
- "torch_dtype": "bfloat16",
35
- "transformers_version": "4.42.3",
36
- "use_cache": true,
37
- "vocab_size": 128256
38
- }
 
 
 
 
 
 
 
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/Meta-Llama-3.1-8B-Instruct",
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": 1e-05,
26
+ "rope_scaling": {
27
+ "factor": 8.0,
28
+ "high_freq_factor": 4.0,
29
+ "low_freq_factor": 1.0,
30
+ "original_max_position_embeddings": 8192,
31
+ "rope_type": "llama3"
32
+ },
33
+ "rope_theta": 500000.0,
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
+ }