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": null,
|
@@ -41,35 +71,5 @@
|
|
41 |
"registry_requires_subclass": false,
|
42 |
"sparsity_structure": "unstructured"
|
43 |
}
|
44 |
-
}
|
45 |
-
"eos_token_id": [
|
46 |
-
128001,
|
47 |
-
128008,
|
48 |
-
128009
|
49 |
-
],
|
50 |
-
"hidden_act": "silu",
|
51 |
-
"hidden_size": 4096,
|
52 |
-
"initializer_range": 0.02,
|
53 |
-
"intermediate_size": 14336,
|
54 |
-
"max_position_embeddings": 131072,
|
55 |
-
"mlp_bias": false,
|
56 |
-
"model_type": "llama",
|
57 |
-
"num_attention_heads": 32,
|
58 |
-
"num_hidden_layers": 32,
|
59 |
-
"num_key_value_heads": 8,
|
60 |
-
"pretraining_tp": 1,
|
61 |
-
"rms_norm_eps": 1e-05,
|
62 |
-
"rope_scaling": {
|
63 |
-
"factor": 8.0,
|
64 |
-
"high_freq_factor": 4.0,
|
65 |
-
"low_freq_factor": 1.0,
|
66 |
-
"original_max_position_embeddings": 8192,
|
67 |
-
"rope_type": "llama3"
|
68 |
-
},
|
69 |
-
"rope_theta": 500000.0,
|
70 |
-
"tie_word_embeddings": false,
|
71 |
-
"torch_dtype": "bfloat16",
|
72 |
-
"transformers_version": "4.43.1",
|
73 |
-
"use_cache": true,
|
74 |
-
"vocab_size": 128256
|
75 |
}
|
|
|
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": null,
|
|
|
71 |
"registry_requires_subclass": false,
|
72 |
"sparsity_structure": "unstructured"
|
73 |
}
|
74 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
}
|