hongce-tech
commited on
Commit
•
bb3eb47
1
Parent(s):
b14c31f
Upload folder using huggingface_hub
Browse files- config.json +41 -0
- gptq_model-4bit-128g.safetensors +3 -0
- quantize_config.json +13 -0
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 4096,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 11008,
|
14 |
+
"max_position_embeddings": 4096,
|
15 |
+
"model_type": "llama",
|
16 |
+
"num_attention_heads": 32,
|
17 |
+
"num_hidden_layers": 32,
|
18 |
+
"num_key_value_heads": 32,
|
19 |
+
"pretraining_tp": 1,
|
20 |
+
"quantization_config": {
|
21 |
+
"bits": 4,
|
22 |
+
"damp_percent": 0.01,
|
23 |
+
"desc_act": false,
|
24 |
+
"group_size": 128,
|
25 |
+
"is_marlin_format": false,
|
26 |
+
"model_file_base_name": null,
|
27 |
+
"model_name_or_path": null,
|
28 |
+
"quant_method": "gptq",
|
29 |
+
"static_groups": false,
|
30 |
+
"sym": true,
|
31 |
+
"true_sequential": true
|
32 |
+
},
|
33 |
+
"rms_norm_eps": 1e-05,
|
34 |
+
"rope_scaling": null,
|
35 |
+
"rope_theta": 10000.0,
|
36 |
+
"tie_word_embeddings": false,
|
37 |
+
"torch_dtype": "float16",
|
38 |
+
"transformers_version": "4.38.2",
|
39 |
+
"use_cache": true,
|
40 |
+
"vocab_size": 32000
|
41 |
+
}
|
gptq_model-4bit-128g.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:194647b38c6b988a88dae85c11297471ed7069b4092dedad0c21a940f220c775
|
3 |
+
size 3896714760
|
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": null,
|
10 |
+
"model_file_base_name": null,
|
11 |
+
"is_marlin_format": false,
|
12 |
+
"quant_method": "gptq"
|
13 |
+
}
|