Updated compression_config to quantization_config
Browse files- config.json +32 -32
config.json
CHANGED
@@ -6,7 +6,37 @@
|
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 128000,
|
9 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"config_groups": {
|
11 |
"group_0": {
|
12 |
"input_activations": {
|
@@ -51,35 +81,5 @@
|
|
51 |
"registry_requires_subclass": false,
|
52 |
"sparsity_structure": "unstructured"
|
53 |
}
|
54 |
-
}
|
55 |
-
"eos_token_id": [
|
56 |
-
128001,
|
57 |
-
128008,
|
58 |
-
128009
|
59 |
-
],
|
60 |
-
"hidden_act": "silu",
|
61 |
-
"hidden_size": 4096,
|
62 |
-
"initializer_range": 0.02,
|
63 |
-
"intermediate_size": 14336,
|
64 |
-
"max_position_embeddings": 131072,
|
65 |
-
"mlp_bias": false,
|
66 |
-
"model_type": "llama",
|
67 |
-
"num_attention_heads": 32,
|
68 |
-
"num_hidden_layers": 32,
|
69 |
-
"num_key_value_heads": 8,
|
70 |
-
"pretraining_tp": 1,
|
71 |
-
"rms_norm_eps": 1e-05,
|
72 |
-
"rope_scaling": {
|
73 |
-
"factor": 8.0,
|
74 |
-
"high_freq_factor": 4.0,
|
75 |
-
"low_freq_factor": 1.0,
|
76 |
-
"original_max_position_embeddings": 8192,
|
77 |
-
"rope_type": "llama3"
|
78 |
-
},
|
79 |
-
"rope_theta": 500000.0,
|
80 |
-
"tie_word_embeddings": false,
|
81 |
-
"torch_dtype": "bfloat16",
|
82 |
-
"transformers_version": "4.43.1",
|
83 |
-
"use_cache": true,
|
84 |
-
"vocab_size": 128256
|
85 |
}
|
|
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": [
|
10 |
+
128001,
|
11 |
+
128008,
|
12 |
+
128009
|
13 |
+
],
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"hidden_size": 4096,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 14336,
|
18 |
+
"max_position_embeddings": 131072,
|
19 |
+
"mlp_bias": false,
|
20 |
+
"model_type": "llama",
|
21 |
+
"num_attention_heads": 32,
|
22 |
+
"num_hidden_layers": 32,
|
23 |
+
"num_key_value_heads": 8,
|
24 |
+
"pretraining_tp": 1,
|
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 |
+
"tie_word_embeddings": false,
|
35 |
+
"torch_dtype": "bfloat16",
|
36 |
+
"transformers_version": "4.43.1",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 128256,
|
39 |
+
"quantization_config": {
|
40 |
"config_groups": {
|
41 |
"group_0": {
|
42 |
"input_activations": {
|
|
|
81 |
"registry_requires_subclass": false,
|
82 |
"sparsity_structure": "unstructured"
|
83 |
}
|
84 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
}
|