TheBloke commited on
Commit
159375d
1 Parent(s): 7e16d43

Update for Transformers AWQ support

Browse files
Files changed (1) hide show
  1. config.json +30 -23
config.json CHANGED
@@ -1,25 +1,32 @@
1
  {
2
- "architectures": [
3
- "LlamaForCausalLM"
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": 11008,
11
- "max_position_embeddings": 4096,
12
- "model_type": "llama",
13
- "num_attention_heads": 32,
14
- "num_hidden_layers": 32,
15
- "num_key_value_heads": 32,
16
- "pad_token_id": 0,
17
- "pretraining_tp": 1,
18
- "rms_norm_eps": 1e-05,
19
- "rope_scaling": null,
20
- "tie_word_embeddings": false,
21
- "torch_dtype": "float16",
22
- "transformers_version": "4.31.0",
23
- "use_cache": true,
24
- "vocab_size": 55296
 
 
 
 
 
 
 
25
  }
 
1
  {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
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": 11008,
11
+ "max_position_embeddings": 4096,
12
+ "model_type": "llama",
13
+ "num_attention_heads": 32,
14
+ "num_hidden_layers": 32,
15
+ "num_key_value_heads": 32,
16
+ "pad_token_id": 0,
17
+ "pretraining_tp": 1,
18
+ "rms_norm_eps": 1e-05,
19
+ "rope_scaling": null,
20
+ "tie_word_embeddings": false,
21
+ "torch_dtype": "float16",
22
+ "transformers_version": "4.31.0",
23
+ "use_cache": true,
24
+ "vocab_size": 55296,
25
+ "quantization_config": {
26
+ "quant_method": "awq",
27
+ "zero_point": true,
28
+ "group_size": 128,
29
+ "bits": 4,
30
+ "version": "gemm"
31
+ }
32
  }