TheBloke commited on
Commit
945fa97
1 Parent(s): 69c6e4a

Update for Transformers AWQ support

Browse files
Files changed (1) hide show
  1. config.json +27 -20
config.json CHANGED
@@ -1,22 +1,29 @@
1
  {
2
- "architectures": [
3
- "LLaMAForCausalLM"
4
- ],
5
- "bos_token_id": 0,
6
- "eos_token_id": 1,
7
- "hidden_act": "silu",
8
- "hidden_size": 4096,
9
- "intermediate_size": 11008,
10
- "initializer_range": 0.02,
11
- "max_sequence_length": 2048,
12
- "model_type": "llama",
13
- "num_attention_heads": 32,
14
- "num_hidden_layers": 32,
15
- "pad_token_id": 32000,
16
- "rms_norm_eps": 1e-06,
17
- "torch_dtype": "float16",
18
- "transformers_version": "4.27.0.dev0",
19
- "use_cache": true,
20
- "vocab_size": 32001,
21
- "pretraining_tp": 1
 
 
 
 
 
 
 
22
  }
 
1
  {
2
+ "architectures": [
3
+ "LLaMAForCausalLM"
4
+ ],
5
+ "bos_token_id": 0,
6
+ "eos_token_id": 1,
7
+ "hidden_act": "silu",
8
+ "hidden_size": 4096,
9
+ "intermediate_size": 11008,
10
+ "initializer_range": 0.02,
11
+ "max_sequence_length": 2048,
12
+ "model_type": "llama",
13
+ "num_attention_heads": 32,
14
+ "num_hidden_layers": 32,
15
+ "pad_token_id": 32000,
16
+ "rms_norm_eps": 1e-06,
17
+ "torch_dtype": "float16",
18
+ "transformers_version": "4.27.0.dev0",
19
+ "use_cache": true,
20
+ "vocab_size": 32001,
21
+ "pretraining_tp": 1,
22
+ "quantization_config": {
23
+ "quant_method": "awq",
24
+ "zero_point": true,
25
+ "group_size": 128,
26
+ "bits": 4,
27
+ "version": "gemm"
28
+ }
29
  }