Initial GPTQ model commit
Browse files- config.json +43 -0
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 8192,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 22016,
|
12 |
+
"max_position_embeddings": 16384,
|
13 |
+
"model_type": "llama",
|
14 |
+
"num_attention_heads": 64,
|
15 |
+
"num_hidden_layers": 48,
|
16 |
+
"num_key_value_heads": 8,
|
17 |
+
"pretraining_tp": 1,
|
18 |
+
"rms_norm_eps": 1e-05,
|
19 |
+
"rope_scaling": null,
|
20 |
+
"tie_word_embeddings": false,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"transformers_version": "4.32.0",
|
23 |
+
"use_cache": true,
|
24 |
+
"vocab_size": 32000,
|
25 |
+
"auto_map": {
|
26 |
+
"AutoConfig": "configuration_llama.LlamaConfig",
|
27 |
+
"AutoModel": "modeling_llama.LlamaModel",
|
28 |
+
"AutoModelForCausalLM": "modeling_llama.LlamaForCausalLM",
|
29 |
+
"AutoModelForSequenceClassification": "modeling_llama.LlamaForSequenceClassification"
|
30 |
+
},
|
31 |
+
"rope_theta": 1000000,
|
32 |
+
"quantization_config": {
|
33 |
+
"bits": 4,
|
34 |
+
"group_size": 32,
|
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 |
+
}
|