onebitquantized
commited on
Commit
•
5da7be6
1
Parent(s):
b39ab66
Upload of AutoGPTQ quantized model
Browse files- config.json +49 -0
- gptq_model-4bit-128g.safetensors +3 -0
- quantize_config.json +15 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/gemma-2-9b-it",
|
3 |
+
"architectures": [
|
4 |
+
"Gemma2ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"attn_logit_softcapping": 50.0,
|
9 |
+
"bos_token_id": 2,
|
10 |
+
"cache_implementation": "hybrid",
|
11 |
+
"eos_token_id": 1,
|
12 |
+
"final_logit_softcapping": 30.0,
|
13 |
+
"head_dim": 256,
|
14 |
+
"hidden_act": "gelu_pytorch_tanh",
|
15 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
16 |
+
"hidden_size": 3584,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 14336,
|
19 |
+
"max_position_embeddings": 8192,
|
20 |
+
"model_type": "gemma2",
|
21 |
+
"num_attention_heads": 16,
|
22 |
+
"num_hidden_layers": 42,
|
23 |
+
"num_key_value_heads": 8,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"quantization_config": {
|
26 |
+
"bits": 4,
|
27 |
+
"checkpoint_format": "gptq",
|
28 |
+
"damp_percent": 0.025,
|
29 |
+
"desc_act": true,
|
30 |
+
"exponent_hinv": 4.0,
|
31 |
+
"group_size": 128,
|
32 |
+
"model_file_base_name": null,
|
33 |
+
"model_name_or_path": null,
|
34 |
+
"quant_method": "gptq",
|
35 |
+
"shrink": 0.0625,
|
36 |
+
"static_groups": false,
|
37 |
+
"sym": false,
|
38 |
+
"true_sequential": true
|
39 |
+
},
|
40 |
+
"query_pre_attn_scalar": 256,
|
41 |
+
"rms_norm_eps": 1e-06,
|
42 |
+
"rope_theta": 10000.0,
|
43 |
+
"sliding_window": 4096,
|
44 |
+
"sliding_window_size": 4096,
|
45 |
+
"torch_dtype": "float16",
|
46 |
+
"transformers_version": "4.43.3",
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 256000
|
49 |
+
}
|
gptq_model-4bit-128g.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4fdaaca6a67fef734e163ff7217eeacd0c93246a8f00b2857d50051218070f42
|
3 |
+
size 8001855472
|
quantize_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 4,
|
3 |
+
"group_size": 128,
|
4 |
+
"damp_percent": 0.025,
|
5 |
+
"desc_act": true,
|
6 |
+
"static_groups": false,
|
7 |
+
"sym": false,
|
8 |
+
"true_sequential": true,
|
9 |
+
"model_name_or_path": null,
|
10 |
+
"model_file_base_name": null,
|
11 |
+
"exponent_hinv": 4.0,
|
12 |
+
"shrink": 0.0625,
|
13 |
+
"quant_method": "gptq",
|
14 |
+
"checkpoint_format": "gptq"
|
15 |
+
}
|