Upload config
Browse files- config.json +77 -61
config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "mistralai/Mistral-7B-v0.1",
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 1,
|
@@ -9,80 +9,96 @@
|
|
9 |
"hidden_act": "silu",
|
10 |
"hidden_size": 4096,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
-
"5": "
|
18 |
-
"6": "
|
19 |
-
"7": "
|
20 |
-
"8": "
|
21 |
-
"9": "
|
22 |
-
"10": "
|
23 |
-
"11": "
|
24 |
-
"12": "
|
25 |
-
"13": "
|
26 |
-
"14": "
|
27 |
-
"15": "
|
28 |
-
"16": "
|
29 |
-
"17": "
|
30 |
-
"18": "
|
31 |
-
"19": "
|
32 |
-
"20": "
|
33 |
-
"21": "
|
34 |
-
"22": "
|
35 |
-
"23": "
|
36 |
-
"24": "
|
37 |
-
"25": "
|
38 |
-
"26": "
|
39 |
-
"27": "
|
40 |
-
"28": "
|
41 |
},
|
42 |
"initializer_range": 0.02,
|
43 |
"intermediate_size": 14336,
|
44 |
"label2id": {
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"
|
56 |
-
"
|
57 |
-
"
|
58 |
-
"
|
59 |
-
"
|
60 |
-
"
|
61 |
-
"
|
62 |
-
"
|
63 |
-
"
|
64 |
-
"
|
65 |
-
"
|
66 |
-
"
|
67 |
-
"
|
68 |
-
"
|
69 |
-
"
|
70 |
-
"
|
71 |
-
"
|
72 |
-
"
|
73 |
-
"
|
74 |
},
|
75 |
"max_position_embeddings": 32768,
|
76 |
"model_type": "mistral",
|
77 |
"num_attention_heads": 32,
|
78 |
"num_hidden_layers": 32,
|
79 |
"num_key_value_heads": 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
"rms_norm_eps": 1e-05,
|
81 |
"rope_theta": 10000.0,
|
82 |
"sliding_window": 4096,
|
83 |
"tie_word_embeddings": false,
|
84 |
"torch_dtype": "bfloat16",
|
85 |
"transformers_version": "4.42.0.dev0",
|
86 |
-
"use_cache":
|
87 |
"vocab_size": 32000
|
88 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./mistralai/Mistral-7B-v0.1",
|
3 |
"architectures": [
|
4 |
+
"MistralForCausalLM"
|
5 |
],
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 1,
|
|
|
9 |
"hidden_act": "silu",
|
10 |
"hidden_size": 4096,
|
11 |
"id2label": {
|
12 |
+
"0": "loc1lay1",
|
13 |
+
"1": "loc1lay2",
|
14 |
+
"2": "loc1lay3",
|
15 |
+
"3": "loc1lay4",
|
16 |
+
"4": "loc2lay1",
|
17 |
+
"5": "loc2lay2",
|
18 |
+
"6": "loc2lay3",
|
19 |
+
"7": "loc2lay4",
|
20 |
+
"8": "loc3lay1",
|
21 |
+
"9": "loc3lay2",
|
22 |
+
"10": "loc3lay3",
|
23 |
+
"11": "loc3lay4",
|
24 |
+
"12": "loc4lay1",
|
25 |
+
"13": "loc4lay2",
|
26 |
+
"14": "loc4lay3",
|
27 |
+
"15": "loc4lay4",
|
28 |
+
"16": "loc5+",
|
29 |
+
"17": "loc1",
|
30 |
+
"18": "loc2",
|
31 |
+
"19": "loc3",
|
32 |
+
"20": "loc4",
|
33 |
+
"21": "nfw",
|
34 |
+
"22": "tfw",
|
35 |
+
"23": "fwc",
|
36 |
+
"24": "fwp",
|
37 |
+
"25": "lay1",
|
38 |
+
"26": "lay2",
|
39 |
+
"27": "lay3",
|
40 |
+
"28": "lay4"
|
41 |
},
|
42 |
"initializer_range": 0.02,
|
43 |
"intermediate_size": 14336,
|
44 |
"label2id": {
|
45 |
+
"fwc": 23,
|
46 |
+
"fwp": 24,
|
47 |
+
"lay1": 25,
|
48 |
+
"lay2": 26,
|
49 |
+
"lay3": 27,
|
50 |
+
"lay4": 28,
|
51 |
+
"loc1": 17,
|
52 |
+
"loc1lay1": 0,
|
53 |
+
"loc1lay2": 1,
|
54 |
+
"loc1lay3": 2,
|
55 |
+
"loc1lay4": 3,
|
56 |
+
"loc2": 18,
|
57 |
+
"loc2lay1": 4,
|
58 |
+
"loc2lay2": 5,
|
59 |
+
"loc2lay3": 6,
|
60 |
+
"loc2lay4": 7,
|
61 |
+
"loc3": 19,
|
62 |
+
"loc3lay1": 8,
|
63 |
+
"loc3lay2": 9,
|
64 |
+
"loc3lay3": 10,
|
65 |
+
"loc3lay4": 11,
|
66 |
+
"loc4": 20,
|
67 |
+
"loc4lay1": 12,
|
68 |
+
"loc4lay2": 13,
|
69 |
+
"loc4lay3": 14,
|
70 |
+
"loc4lay4": 15,
|
71 |
+
"loc5+": 16,
|
72 |
+
"nfw": 21,
|
73 |
+
"tfw": 22
|
74 |
},
|
75 |
"max_position_embeddings": 32768,
|
76 |
"model_type": "mistral",
|
77 |
"num_attention_heads": 32,
|
78 |
"num_hidden_layers": 32,
|
79 |
"num_key_value_heads": 8,
|
80 |
+
"pad_token_id": 2,
|
81 |
+
"quantization_config": {
|
82 |
+
"_load_in_4bit": true,
|
83 |
+
"_load_in_8bit": false,
|
84 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
85 |
+
"bnb_4bit_quant_storage": "uint8",
|
86 |
+
"bnb_4bit_quant_type": "nf4",
|
87 |
+
"bnb_4bit_use_double_quant": true,
|
88 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
89 |
+
"llm_int8_has_fp16_weight": false,
|
90 |
+
"llm_int8_skip_modules": null,
|
91 |
+
"llm_int8_threshold": 6.0,
|
92 |
+
"load_in_4bit": true,
|
93 |
+
"load_in_8bit": false,
|
94 |
+
"quant_method": "bitsandbytes"
|
95 |
+
},
|
96 |
"rms_norm_eps": 1e-05,
|
97 |
"rope_theta": 10000.0,
|
98 |
"sliding_window": 4096,
|
99 |
"tie_word_embeddings": false,
|
100 |
"torch_dtype": "bfloat16",
|
101 |
"transformers_version": "4.42.0.dev0",
|
102 |
+
"use_cache": false,
|
103 |
"vocab_size": 32000
|
104 |
}
|