TheBloke commited on
Commit
a005997
1 Parent(s): 612ec6e

Update for Transformers AWQ support

Browse files
Files changed (1) hide show
  1. config.json +37 -30
config.json CHANGED
@@ -1,32 +1,39 @@
1
  {
2
- "architectures": [
3
- "LlamaForCausalLM"
4
- ],
5
- "auto_map": {
6
- "AutoModelForCausalLM": "modeling_flash_llama.LlamaForCausalLM"
7
- },
8
- "bos_token_id": 1,
9
- "eos_token_id": 2,
10
- "hidden_act": "silu",
11
- "hidden_size": 5120,
12
- "initializer_range": 0.02,
13
- "intermediate_size": 13824,
14
- "max_position_embeddings": 8192,
15
- "model_type": "llama",
16
- "num_attention_heads": 40,
17
- "num_hidden_layers": 40,
18
- "num_key_value_heads": 40,
19
- "pretraining_tp": 1,
20
- "rms_norm_eps": 1e-05,
21
- "rope_scaling": {
22
- "factor": 2.0,
23
- "type": "linear"
24
- },
25
- "rope_theta": 10000.0,
26
- "tie_word_embeddings": false,
27
- "torch_dtype": "float16",
28
- "transformers_version": "4.33.0",
29
- "use_cache": true,
30
- "vocab_size": 32000,
31
- "pad_token_id": 0
 
 
 
 
 
 
 
32
  }
 
1
  {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "auto_map": {
6
+ "AutoModelForCausalLM": "modeling_flash_llama.LlamaForCausalLM"
7
+ },
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 5120,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 13824,
14
+ "max_position_embeddings": 8192,
15
+ "model_type": "llama",
16
+ "num_attention_heads": 40,
17
+ "num_hidden_layers": 40,
18
+ "num_key_value_heads": 40,
19
+ "pretraining_tp": 1,
20
+ "rms_norm_eps": 1e-05,
21
+ "rope_scaling": {
22
+ "factor": 2.0,
23
+ "type": "linear"
24
+ },
25
+ "rope_theta": 10000.0,
26
+ "tie_word_embeddings": false,
27
+ "torch_dtype": "float16",
28
+ "transformers_version": "4.33.0",
29
+ "use_cache": true,
30
+ "vocab_size": 32000,
31
+ "pad_token_id": 0,
32
+ "quantization_config": {
33
+ "quant_method": "awq",
34
+ "zero_point": true,
35
+ "group_size": 128,
36
+ "bits": 4,
37
+ "version": "gemm"
38
+ }
39
  }