GPTQ model commit
Browse files- config.json +52 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
- quantize_config.json +16 -0
- special_tokens_map.json +1 -0
- tokenizer.model +3 -0
- tokenizer_config.json +1 -0
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/workspace/process/harborwater_open-llama-3b-v2-wizard-evol-instuct-v2-196k/source",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 3200,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 8640,
|
13 |
+
"max_position_embeddings": 2048,
|
14 |
+
"model_type": "llama",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_hidden_layers": 26,
|
17 |
+
"num_key_value_heads": 32,
|
18 |
+
"pad_token_id": 0,
|
19 |
+
"pretraining_tp": 1,
|
20 |
+
"quantization_config": {
|
21 |
+
"batch_size": 1,
|
22 |
+
"bits": 4,
|
23 |
+
"block_name_to_quantize": "model.layers",
|
24 |
+
"cache_block_outputs": true,
|
25 |
+
"damp_percent": 0.1,
|
26 |
+
"desc_act": true,
|
27 |
+
"exllama_config": {
|
28 |
+
"version": 1
|
29 |
+
},
|
30 |
+
"group_size": 128,
|
31 |
+
"max_input_length": null,
|
32 |
+
"model_seqlen": 2048,
|
33 |
+
"module_name_preceding_first_block": [
|
34 |
+
"model.embed_tokens"
|
35 |
+
],
|
36 |
+
"pad_token_id": null,
|
37 |
+
"quant_method": "gptq",
|
38 |
+
"sym": true,
|
39 |
+
"tokenizer": null,
|
40 |
+
"true_sequential": true,
|
41 |
+
"use_cuda_fp16": true,
|
42 |
+
"use_exllama": true
|
43 |
+
},
|
44 |
+
"rms_norm_eps": 1e-06,
|
45 |
+
"rope_scaling": null,
|
46 |
+
"rope_theta": 10000.0,
|
47 |
+
"tie_word_embeddings": false,
|
48 |
+
"torch_dtype": "float16",
|
49 |
+
"transformers_version": "4.35.2",
|
50 |
+
"use_cache": true,
|
51 |
+
"vocab_size": 32000
|
52 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.31.0"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:157415fef6a5e17cf722d3d13c28a32929ee938ca106b5fbd469fb2e5273d377
|
3 |
+
size 2088448192
|
quantize_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": [
|
3 |
+
4
|
4 |
+
],
|
5 |
+
"group_size": [
|
6 |
+
128
|
7 |
+
],
|
8 |
+
"damp_percent": [
|
9 |
+
0.1
|
10 |
+
],
|
11 |
+
"desc_act": [
|
12 |
+
true
|
13 |
+
],
|
14 |
+
"sym": true,
|
15 |
+
"true_sequential": true
|
16 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": {"content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false}, "eos_token": {"content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false}, "unk_token": {"content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false}}
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91b289e85fa20fd375d8b33dc12f77616f18abc6359804471d1fafcb425fecb8
|
3 |
+
size 511574
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"add_bos_token": true, "add_eos_token": false, "model_max_length": 2048, "pad_token": null, "sp_model_kwargs": {}, "tokenizer_class": "LlamaTokenizer", "clean_up_tokenization_spaces": false, "bos_token": {"__type": "AddedToken", "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false}, "eos_token": {"__type": "AddedToken", "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false}, "unk_token": {"__type": "AddedToken", "content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false}}
|