4 bit gptq
Browse files- gptq/config.json +49 -0
- gptq/generation_config.json +6 -0
- gptq/model.safetensors +3 -0
gptq/config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/media/rickard/Backup/models/bellman/bellman-7b-mistral-instruct-v0.2",
|
3 |
+
"architectures": [
|
4 |
+
"MistralForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 4096,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 14336,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"model_type": "mistral",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_hidden_layers": 32,
|
17 |
+
"num_key_value_heads": 8,
|
18 |
+
"quantization_config": {
|
19 |
+
"batch_size": 1,
|
20 |
+
"bits": 4,
|
21 |
+
"block_name_to_quantize": null,
|
22 |
+
"cache_block_outputs": true,
|
23 |
+
"damp_percent": 0.1,
|
24 |
+
"dataset": "c4",
|
25 |
+
"desc_act": true,
|
26 |
+
"exllama_config": {
|
27 |
+
"version": 1
|
28 |
+
},
|
29 |
+
"group_size": 128,
|
30 |
+
"max_input_length": null,
|
31 |
+
"model_seqlen": null,
|
32 |
+
"module_name_preceding_first_block": null,
|
33 |
+
"pad_token_id": null,
|
34 |
+
"quant_method": "gptq",
|
35 |
+
"sym": true,
|
36 |
+
"tokenizer": null,
|
37 |
+
"true_sequential": true,
|
38 |
+
"use_cuda_fp16": false,
|
39 |
+
"use_exllama": true
|
40 |
+
},
|
41 |
+
"rms_norm_eps": 1e-05,
|
42 |
+
"rope_theta": 1000000.0,
|
43 |
+
"sliding_window": null,
|
44 |
+
"tie_word_embeddings": false,
|
45 |
+
"torch_dtype": "float16",
|
46 |
+
"transformers_version": "4.36.2",
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 32000
|
49 |
+
}
|
gptq/generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.36.2"
|
6 |
+
}
|
gptq/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d78c8846f34993b20b183bc7de024259ec5dfd5f9ddc11aa68f68946824ffd73
|
3 |
+
size 4158662096
|