Update config.json
Browse files- config.json +19 -3
config.json
CHANGED
@@ -8,20 +8,36 @@
|
|
8 |
"model_type": "llava",
|
9 |
"projector_hidden_act": "gelu",
|
10 |
"text_config": {
|
11 |
-
"_name_or_path": "HuggingFaceM4/tiny-random-LlamaForCausalLM",
|
12 |
"architectures": [
|
13 |
-
"
|
14 |
],
|
|
|
|
|
15 |
"bos_token_id": 0,
|
|
|
16 |
"eos_token_id": 1,
|
|
|
17 |
"hidden_size": 16,
|
|
|
18 |
"intermediate_size": 64,
|
19 |
-
"
|
|
|
|
|
20 |
"num_attention_heads": 4,
|
21 |
"num_hidden_layers": 2,
|
22 |
"num_key_value_heads": 4,
|
23 |
"pad_token_id": -1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
"torch_dtype": "float32",
|
|
|
|
|
25 |
"vocab_size": 32002
|
26 |
},
|
27 |
"torch_dtype": "float32",
|
|
|
8 |
"model_type": "llava",
|
9 |
"projector_hidden_act": "gelu",
|
10 |
"text_config": {
|
|
|
11 |
"architectures": [
|
12 |
+
"PhiForCausalLM"
|
13 |
],
|
14 |
+
"attention_bias": false,
|
15 |
+
"attention_dropout": 0.0,
|
16 |
"bos_token_id": 0,
|
17 |
+
"embd_pdrop": 0.0,
|
18 |
"eos_token_id": 1,
|
19 |
+
"hidden_act": "silu",
|
20 |
"hidden_size": 16,
|
21 |
+
"initializer_range": 0.02,
|
22 |
"intermediate_size": 64,
|
23 |
+
"layer_norm_eps": 1e-05,
|
24 |
+
"max_position_embeddings": 2048,
|
25 |
+
"model_type": "phi",
|
26 |
"num_attention_heads": 4,
|
27 |
"num_hidden_layers": 2,
|
28 |
"num_key_value_heads": 4,
|
29 |
"pad_token_id": -1,
|
30 |
+
"partial_rotary_factor": 0.5,
|
31 |
+
"pretraining_tp": 1,
|
32 |
+
"qk_layernorm": false,
|
33 |
+
"resid_pdrop": 0.0,
|
34 |
+
"rms_norm_eps": 1e-06,
|
35 |
+
"rope_scaling": null,
|
36 |
+
"rope_theta": 10000.0,
|
37 |
+
"tie_word_embeddings": false,
|
38 |
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.38.2",
|
40 |
+
"use_cache": true,
|
41 |
"vocab_size": 32002
|
42 |
},
|
43 |
"torch_dtype": "float32",
|