hydrogen1999
commited on
Update config.json
Browse files- config.json +16 -27
config.json
CHANGED
@@ -1,29 +1,18 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
"base_model_name_or_path": "minhtt/vistral-7b-chat",
|
5 |
-
"bias": "none",
|
6 |
-
"fan_in_fan_out": false,
|
7 |
-
"inference_mode": true,
|
8 |
-
"init_lora_weights": true,
|
9 |
-
"layers_pattern": null,
|
10 |
-
"layers_to_transform": null,
|
11 |
-
"loftq_config": {},
|
12 |
-
"lora_alpha": 16,
|
13 |
-
"lora_dropout": 0.1,
|
14 |
-
"megatron_config": null,
|
15 |
-
"megatron_core": "megatron.core",
|
16 |
-
"modules_to_save": null,
|
17 |
-
"peft_type": "LORA",
|
18 |
-
"r": 64,
|
19 |
-
"rank_pattern": {},
|
20 |
-
"revision": null,
|
21 |
-
"target_modules": [
|
22 |
-
"q_proj",
|
23 |
-
"k_proj",
|
24 |
-
"o_proj",
|
25 |
-
"gate_proj",
|
26 |
-
"v_proj"
|
27 |
],
|
28 |
-
"
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
+
"architectures": [
|
3 |
+
"MistralForCausalLM"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
],
|
5 |
+
"max_position_embeddings": 2048,
|
6 |
+
"hidden_size": 4096,
|
7 |
+
"num_attention_heads": 32,
|
8 |
+
"num_hidden_layers": 32,
|
9 |
+
"vocab_size": 50257,
|
10 |
+
"model_type": "mistral", # <- Important key!
|
11 |
+
"use_cache": true,
|
12 |
+
"n_head": 32,
|
13 |
+
"n_layer": 32,
|
14 |
+
"n_positions": 2048,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"layer_norm_epsilon": 1e-5,
|
17 |
+
"attention_probs_dropout_prob": 0.1
|
18 |
+
}
|