Upload of AutoGPTQ quantized model
Browse files- config.json +41 -0
- gptq_model-4bit-32g.bin +3 -0
- quantize_config.json +10 -0
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./chatglm2_6b/",
|
3 |
+
"add_bias_linear": false,
|
4 |
+
"add_qkv_bias": true,
|
5 |
+
"apply_query_key_layer_scaling": true,
|
6 |
+
"apply_residual_connection_post_layernorm": false,
|
7 |
+
"architectures": [
|
8 |
+
"ChatGLMModel"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"attention_softmax_in_fp32": true,
|
12 |
+
"auto_map": {
|
13 |
+
"AutoConfig": "configuration_chatglm.ChatGLMConfig",
|
14 |
+
"AutoModel": "modeling_chatglm.ChatGLMForConditionalGeneration",
|
15 |
+
"AutoModelForCausalLM": "modeling_chatglm.ChatGLMForConditionalGeneration",
|
16 |
+
"AutoModelForSeq2SeqLM": "modeling_chatglm.ChatGLMForConditionalGeneration"
|
17 |
+
},
|
18 |
+
"bias_dropout_fusion": true,
|
19 |
+
"eos_token_id": 2,
|
20 |
+
"ffn_hidden_size": 13696,
|
21 |
+
"fp32_residual_connection": false,
|
22 |
+
"hidden_dropout": 0.0,
|
23 |
+
"hidden_size": 4096,
|
24 |
+
"kv_channels": 128,
|
25 |
+
"layernorm_epsilon": 1e-05,
|
26 |
+
"multi_query_attention": true,
|
27 |
+
"multi_query_group_num": 2,
|
28 |
+
"num_attention_heads": 32,
|
29 |
+
"num_layers": 28,
|
30 |
+
"original_rope": true,
|
31 |
+
"pad_token_id": 2,
|
32 |
+
"padded_vocab_size": 65024,
|
33 |
+
"post_layer_norm": true,
|
34 |
+
"quantization_bit": 0,
|
35 |
+
"rmsnorm": true,
|
36 |
+
"seq_length": 32768,
|
37 |
+
"tie_word_embeddings": false,
|
38 |
+
"torch_dtype": "float16",
|
39 |
+
"transformers_version": "4.31.0.dev0",
|
40 |
+
"use_cache": true
|
41 |
+
}
|
gptq_model-4bit-32g.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:838b9c1292544c26b51b4fac10b39b7edbac8ae6dd40ffbec194493ddfe15d3a
|
3 |
+
size 4372627929
|
quantize_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 4,
|
3 |
+
"group_size": 32,
|
4 |
+
"damp_percent": 0.01,
|
5 |
+
"desc_act": false,
|
6 |
+
"sym": true,
|
7 |
+
"true_sequential": true,
|
8 |
+
"model_name_or_path": null,
|
9 |
+
"model_file_base_name": null
|
10 |
+
}
|