Upload of AutoGPTQ quantized model
Browse files- config.json +53 -0
- gptq_model-4bit-128g.safetensors +3 -0
- quantize_config.json +13 -0
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gpt2-xl",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_ctx": 1024,
|
15 |
+
"n_embd": 1600,
|
16 |
+
"n_head": 25,
|
17 |
+
"n_inner": null,
|
18 |
+
"n_layer": 48,
|
19 |
+
"n_positions": 1024,
|
20 |
+
"output_past": true,
|
21 |
+
"quantization_config": {
|
22 |
+
"bits": 4,
|
23 |
+
"damp_percent": 0.01,
|
24 |
+
"desc_act": false,
|
25 |
+
"group_size": 128,
|
26 |
+
"is_marlin_format": false,
|
27 |
+
"model_file_base_name": "gptq_model-4bit-128g",
|
28 |
+
"model_name_or_path": "gpt2-xl-4bit-128g",
|
29 |
+
"quant_method": "gptq",
|
30 |
+
"static_groups": false,
|
31 |
+
"sym": true,
|
32 |
+
"true_sequential": true
|
33 |
+
},
|
34 |
+
"reorder_and_upcast_attn": false,
|
35 |
+
"resid_pdrop": 0.1,
|
36 |
+
"scale_attn_by_inverse_layer_idx": false,
|
37 |
+
"scale_attn_weights": true,
|
38 |
+
"summary_activation": null,
|
39 |
+
"summary_first_dropout": 0.1,
|
40 |
+
"summary_proj_to_labels": true,
|
41 |
+
"summary_type": "cls_index",
|
42 |
+
"summary_use_proj": true,
|
43 |
+
"task_specific_params": {
|
44 |
+
"text-generation": {
|
45 |
+
"do_sample": true,
|
46 |
+
"max_length": 50
|
47 |
+
}
|
48 |
+
},
|
49 |
+
"torch_dtype": "float16",
|
50 |
+
"transformers_version": "4.37.2",
|
51 |
+
"use_cache": true,
|
52 |
+
"vocab_size": 50257
|
53 |
+
}
|
gptq_model-4bit-128g.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7409c61700554871622f8f3db9cc5d31431a8f33ad74eca50ba281637b96923
|
3 |
+
size 1096044400
|
quantize_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 4,
|
3 |
+
"group_size": 128,
|
4 |
+
"damp_percent": 0.01,
|
5 |
+
"desc_act": false,
|
6 |
+
"static_groups": false,
|
7 |
+
"sym": true,
|
8 |
+
"true_sequential": true,
|
9 |
+
"model_name_or_path": "gpt2-xl-4bit-128g",
|
10 |
+
"model_file_base_name": "gptq_model-4bit-128g",
|
11 |
+
"is_marlin_format": false,
|
12 |
+
"quant_method": "gptq"
|
13 |
+
}
|