TheBloke commited on
Commit
dcadded
1 Parent(s): 9116b7e

Update for Transformers AWQ support

Browse files
Files changed (1) hide show
  1. config.json +32 -25
config.json CHANGED
@@ -1,27 +1,34 @@
1
  {
2
- "_name_or_path": "/home/ubuntu/llm/Mistral-7B-v0.1",
3
- "architectures": [
4
- "MistralForCausalLM"
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": 14336,
12
- "max_position_embeddings": 32768,
13
- "model_type": "mistral",
14
- "num_attention_heads": 32,
15
- "num_hidden_layers": 32,
16
- "num_key_value_heads": 8,
17
- "rms_norm_eps": 1e-05,
18
- "rope_theta": 10000.0,
19
- "sliding_window": 4096,
20
- "tie_word_embeddings": false,
21
- "torch_dtype": "float16",
22
- "transformers_version": "4.34.0.dev0",
23
- "use_cache": true,
24
- "vocab_size": 32000,
25
- "pretraining_tp": 1,
26
- "pad_token_id": 0
 
 
 
 
 
 
 
27
  }
 
1
  {
2
+ "_name_or_path": "/home/ubuntu/llm/Mistral-7B-v0.1",
3
+ "architectures": [
4
+ "MistralForCausalLM"
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": 14336,
12
+ "max_position_embeddings": 32768,
13
+ "model_type": "mistral",
14
+ "num_attention_heads": 32,
15
+ "num_hidden_layers": 32,
16
+ "num_key_value_heads": 8,
17
+ "rms_norm_eps": 1e-05,
18
+ "rope_theta": 10000.0,
19
+ "sliding_window": 4096,
20
+ "tie_word_embeddings": false,
21
+ "torch_dtype": "float16",
22
+ "transformers_version": "4.34.0.dev0",
23
+ "use_cache": true,
24
+ "vocab_size": 32000,
25
+ "pretraining_tp": 1,
26
+ "pad_token_id": 0,
27
+ "quantization_config": {
28
+ "quant_method": "awq",
29
+ "zero_point": true,
30
+ "group_size": 128,
31
+ "bits": 4,
32
+ "version": "gemm"
33
+ }
34
  }