Upload folder using huggingface_hub
Browse files- config.json +46 -0
- gptq_model-4bit-128g.safetensors +3 -0
- quantize_config.json +13 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./save_folder",
|
3 |
+
"architectures": [
|
4 |
+
"Qwen2ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoModel": "modeling_qwen.Qwen2Model",
|
9 |
+
"AutoModelForCausalLM": "modeling_qwen.Qwen2ForCausalLM",
|
10 |
+
"AutoModelForSequenceClassification": "modeling_qwen.Qwen2ForSequenceClassification"
|
11 |
+
},
|
12 |
+
"bos_token_id": 151643,
|
13 |
+
"eos_token_id": 151643,
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"hidden_size": 3584,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 18944,
|
18 |
+
"max_position_embeddings": 131072,
|
19 |
+
"max_window_layers": 28,
|
20 |
+
"model_type": "qwen2",
|
21 |
+
"num_attention_heads": 28,
|
22 |
+
"num_hidden_layers": 28,
|
23 |
+
"num_key_value_heads": 4,
|
24 |
+
"quantization_config": {
|
25 |
+
"bits": 4,
|
26 |
+
"checkpoint_format": "gptq",
|
27 |
+
"damp_percent": 0.01,
|
28 |
+
"desc_act": true,
|
29 |
+
"group_size": 128,
|
30 |
+
"model_file_base_name": null,
|
31 |
+
"model_name_or_path": null,
|
32 |
+
"quant_method": "gptq",
|
33 |
+
"static_groups": false,
|
34 |
+
"sym": true,
|
35 |
+
"true_sequential": true
|
36 |
+
},
|
37 |
+
"rms_norm_eps": 1e-06,
|
38 |
+
"rope_theta": 1000000.0,
|
39 |
+
"sliding_window": null,
|
40 |
+
"tie_word_embeddings": false,
|
41 |
+
"torch_dtype": "float16",
|
42 |
+
"transformers_version": "4.43.1",
|
43 |
+
"use_cache": true,
|
44 |
+
"use_sliding_window": false,
|
45 |
+
"vocab_size": 151646
|
46 |
+
}
|
gptq_model-4bit-128g.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a8e99dd2868af742a53e9806380b800eee384c04a797e731cc1ed6221c7d095
|
3 |
+
size 5569389032
|
quantize_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 4,
|
3 |
+
"group_size": 128,
|
4 |
+
"damp_percent": 0.01,
|
5 |
+
"desc_act": true,
|
6 |
+
"static_groups": false,
|
7 |
+
"sym": true,
|
8 |
+
"true_sequential": true,
|
9 |
+
"model_name_or_path": null,
|
10 |
+
"model_file_base_name": null,
|
11 |
+
"quant_method": "gptq",
|
12 |
+
"checkpoint_format": "gptq"
|
13 |
+
}
|