GPTQ model commit
Browse files- config.json +43 -0
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"pad_token_id": 0,
|
20 |
+
"pretraining_tp": 1,
|
21 |
+
"rms_norm_eps": 1e-05,
|
22 |
+
"rope_scaling": {
|
23 |
+
"factor": 2.0,
|
24 |
+
"type": "linear"
|
25 |
+
},
|
26 |
+
"rope_theta": 10000.0,
|
27 |
+
"tie_word_embeddings": false,
|
28 |
+
"torch_dtype": "float16",
|
29 |
+
"transformers_version": "4.33.1",
|
30 |
+
"use_cache": true,
|
31 |
+
"vocab_size": 32128,
|
32 |
+
"quantization_config": {
|
33 |
+
"bits": 4,
|
34 |
+
"group_size": 128,
|
35 |
+
"damp_percent": 0.1,
|
36 |
+
"desc_act": true,
|
37 |
+
"sym": true,
|
38 |
+
"true_sequential": true,
|
39 |
+
"model_name_or_path": null,
|
40 |
+
"model_file_base_name": "model",
|
41 |
+
"quant_method": "gptq"
|
42 |
+
}
|
43 |
+
}
|