TheBloke commited on
Commit
60e5097
1 Parent(s): 99c23d4

Update for Transformers AWQ support

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