TheBloke commited on
Commit
5b41182
1 Parent(s): 8f931b3

Update for Transformers AWQ support

Browse files
Files changed (1) hide show
  1. config.json +35 -28
config.json CHANGED
@@ -1,30 +1,37 @@
1
  {
2
- "_name_or_path": "conceptofmind/LLongMA-2-7b-16k",
3
- "architectures": [
4
- "LlamaForCausalLM"
5
- ],
6
- "bos_token_id": 1,
7
- "eos_token_id": 2,
8
- "hidden_act": "silu",
9
- "hidden_size": 4096,
10
- "initializer_range": 0.02,
11
- "intermediate_size": 11008,
12
- "max_position_embeddings": 16384,
13
- "model_type": "llama",
14
- "num_attention_heads": 32,
15
- "num_hidden_layers": 32,
16
- "num_key_value_heads": 32,
17
- "pad_token_id": 0,
18
- "pretraining_tp": 1,
19
- "rms_norm_eps": 1e-05,
20
- "rope_scaling": {
21
- "factor": 4.0,
22
- "type": "linear"
23
- },
24
- "tie_word_embeddings": false,
25
- "torch_dtype": "bfloat16",
26
- "transformers_version": "4.32.0.dev0",
27
- "use_cache": true,
28
- "use_flash_attention": false,
29
- "vocab_size": 32003
 
 
 
 
 
 
 
30
  }
 
1
  {
2
+ "_name_or_path": "conceptofmind/LLongMA-2-7b-16k",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 4096,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 11008,
12
+ "max_position_embeddings": 16384,
13
+ "model_type": "llama",
14
+ "num_attention_heads": 32,
15
+ "num_hidden_layers": 32,
16
+ "num_key_value_heads": 32,
17
+ "pad_token_id": 0,
18
+ "pretraining_tp": 1,
19
+ "rms_norm_eps": 1e-05,
20
+ "rope_scaling": {
21
+ "factor": 4.0,
22
+ "type": "linear"
23
+ },
24
+ "tie_word_embeddings": false,
25
+ "torch_dtype": "bfloat16",
26
+ "transformers_version": "4.32.0.dev0",
27
+ "use_cache": true,
28
+ "use_flash_attention": false,
29
+ "vocab_size": 32003,
30
+ "quantization_config": {
31
+ "quant_method": "awq",
32
+ "zero_point": true,
33
+ "group_size": 128,
34
+ "bits": 4,
35
+ "version": "gemm"
36
+ }
37
  }