TheBloke commited on
Commit
b2f7c15
1 Parent(s): 2e0aebe

Update for Transformers AWQ support

Browse files
Files changed (1) hide show
  1. config.json +31 -24
config.json CHANGED
@@ -1,26 +1,33 @@
1
  {
2
- "architectures": [
3
- "MistralForCausalLM"
4
- ],
5
- "bos_token_id": 1,
6
- "eos_token_id": 2,
7
- "hidden_act": "silu",
8
- "hidden_size": 4096,
9
- "initializer_range": 0.02,
10
- "intermediate_size": 14336,
11
- "max_position_embeddings": 32768,
12
- "model_type": "mistral",
13
- "num_attention_heads": 32,
14
- "num_hidden_layers": 32,
15
- "num_key_value_heads": 8,
16
- "rms_norm_eps": 1e-05,
17
- "rope_theta": 10000.0,
18
- "sliding_window": 4096,
19
- "tie_word_embeddings": false,
20
- "torch_dtype": "bfloat16",
21
- "transformers_version": "4.34.0.dev0",
22
- "use_cache": true,
23
- "vocab_size": 32000,
24
- "pretraining_tp": 1,
25
- "pad_token_id": 0
 
 
 
 
 
 
 
26
  }
 
1
  {
2
+ "architectures": [
3
+ "MistralForCausalLM"
4
+ ],
5
+ "bos_token_id": 1,
6
+ "eos_token_id": 2,
7
+ "hidden_act": "silu",
8
+ "hidden_size": 4096,
9
+ "initializer_range": 0.02,
10
+ "intermediate_size": 14336,
11
+ "max_position_embeddings": 32768,
12
+ "model_type": "mistral",
13
+ "num_attention_heads": 32,
14
+ "num_hidden_layers": 32,
15
+ "num_key_value_heads": 8,
16
+ "rms_norm_eps": 1e-05,
17
+ "rope_theta": 10000.0,
18
+ "sliding_window": 4096,
19
+ "tie_word_embeddings": false,
20
+ "torch_dtype": "bfloat16",
21
+ "transformers_version": "4.34.0.dev0",
22
+ "use_cache": true,
23
+ "vocab_size": 32000,
24
+ "pretraining_tp": 1,
25
+ "pad_token_id": 0,
26
+ "quantization_config": {
27
+ "quant_method": "awq",
28
+ "zero_point": true,
29
+ "group_size": 128,
30
+ "bits": 4,
31
+ "version": "gemm"
32
+ }
33
  }