TheBloke commited on
Commit
9974daa
1 Parent(s): b678201

Update for Transformers AWQ support

Browse files
Files changed (1) hide show
  1. config.json +40 -33
config.json CHANGED
@@ -1,35 +1,42 @@
1
  {
2
- "_name_or_path": "NousResearch/Llama-2-7b-hf",
3
- "architectures": [
4
- "LlamaForCausalLM"
5
- ],
6
- "auto_map": {
7
- "AutoConfig": "configuration_llama.LlamaConfig",
8
- "AutoModel": "modeling_llama.LlamaModel",
9
- "AutoModelForCausalLM": "modeling_llama.LlamaForCausalLM",
10
- "AutoModelForSequenceClassification": "modeling_llama.LlamaForSequenceClassification"
11
- },
12
- "bos_token_id": 1,
13
- "eos_token_id": 2,
14
- "hidden_act": "silu",
15
- "hidden_size": 4096,
16
- "initializer_range": 0.02,
17
- "intermediate_size": 11008,
18
- "max_position_embeddings": 8192,
19
- "model_type": "llama",
20
- "num_attention_heads": 32,
21
- "num_hidden_layers": 32,
22
- "num_key_value_heads": 32,
23
- "pad_token_id": 0,
24
- "pretraining_tp": 1,
25
- "rms_norm_eps": 1e-05,
26
- "rope_scaling": {
27
- "type": "linear",
28
- "factor": 2.0
29
- },
30
- "tie_word_embeddings": false,
31
- "torch_dtype": "bfloat16",
32
- "transformers_version": "4.32.0.dev0",
33
- "use_cache": true,
34
- "vocab_size": 32000
 
 
 
 
 
 
 
35
  }
 
1
  {
2
+ "_name_or_path": "NousResearch/Llama-2-7b-hf",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "auto_map": {
7
+ "AutoConfig": "configuration_llama.LlamaConfig",
8
+ "AutoModel": "modeling_llama.LlamaModel",
9
+ "AutoModelForCausalLM": "modeling_llama.LlamaForCausalLM",
10
+ "AutoModelForSequenceClassification": "modeling_llama.LlamaForSequenceClassification"
11
+ },
12
+ "bos_token_id": 1,
13
+ "eos_token_id": 2,
14
+ "hidden_act": "silu",
15
+ "hidden_size": 4096,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 11008,
18
+ "max_position_embeddings": 8192,
19
+ "model_type": "llama",
20
+ "num_attention_heads": 32,
21
+ "num_hidden_layers": 32,
22
+ "num_key_value_heads": 32,
23
+ "pad_token_id": 0,
24
+ "pretraining_tp": 1,
25
+ "rms_norm_eps": 1e-05,
26
+ "rope_scaling": {
27
+ "type": "linear",
28
+ "factor": 2.0
29
+ },
30
+ "tie_word_embeddings": false,
31
+ "torch_dtype": "bfloat16",
32
+ "transformers_version": "4.32.0.dev0",
33
+ "use_cache": true,
34
+ "vocab_size": 32000,
35
+ "quantization_config": {
36
+ "quant_method": "awq",
37
+ "zero_point": true,
38
+ "group_size": 128,
39
+ "bits": 4,
40
+ "version": "gemm"
41
+ }
42
  }