TheBloke commited on
Commit
e52f412
·
1 Parent(s): 98610dc

GPTQ model commit

Browse files
config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/workspace/process/cognitivecomputations_yayi2-30b-llama/source",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "causal_mask": false,
10
+ "eos_token_id": 2,
11
+ "grouped_query": false,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 7168,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 16384,
16
+ "max_position_embeddings": 4096,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 64,
19
+ "num_hidden_layers": 64,
20
+ "num_key_value_heads": 1,
21
+ "pad_token_id": 3,
22
+ "pretraining_tp": 1,
23
+ "quantization_config": {
24
+ "batch_size": 1,
25
+ "bits": 4,
26
+ "block_name_to_quantize": null,
27
+ "cache_block_outputs": true,
28
+ "damp_percent": 0.1,
29
+ "desc_act": true,
30
+ "exllama_config": {
31
+ "version": 1
32
+ },
33
+ "group_size": -1,
34
+ "max_input_length": null,
35
+ "model_seqlen": null,
36
+ "module_name_preceding_first_block": null,
37
+ "modules_in_block_to_quantize": [
38
+ [
39
+ "self_attn.k_proj",
40
+ "self_attn.v_proj",
41
+ "self_attn.q_proj"
42
+ ],
43
+ [
44
+ "self_attn.o_proj"
45
+ ],
46
+ [
47
+ "mlp.up_proj",
48
+ "mlp.gate_proj"
49
+ ],
50
+ [
51
+ "mlp.down_proj"
52
+ ]
53
+ ],
54
+ "pad_token_id": null,
55
+ "quant_method": "gptq",
56
+ "sym": true,
57
+ "tokenizer": null,
58
+ "true_sequential": true,
59
+ "use_cuda_fp16": false,
60
+ "use_exllama": true
61
+ },
62
+ "rms_norm_eps": 1e-06,
63
+ "rope_scaling": null,
64
+ "rope_theta": 10000.0,
65
+ "share_kv_heads_num": 2,
66
+ "tie_word_embeddings": false,
67
+ "torch_dtype": "float16",
68
+ "transformers_version": "4.37.0.dev0",
69
+ "use_cache": true,
70
+ "vocab_size": 81920
71
+ }
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": 3,
6
+ "transformers_version": "4.36.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee29dff6548b092da19758ce2acea9044ab4e43dabcb070a2cf110697ce460e9
3
+ size 16995828664
quantize_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bits": 4,
3
+ "group_size": -1,
4
+ "damp_percent": 0.1,
5
+ "desc_act": true,
6
+ "sym": true,
7
+ "true_sequential": true
8
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": true
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f35a9d7c9fc9537677d460534cd741ee0587680c54b5fc411befea8c0568852
3
+ size 1531242
tokenizer_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "bos_token": {
5
+ "__type": "AddedToken",
6
+ "content": "<s>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": true
11
+ },
12
+ "clean_up_tokenization_spaces": false,
13
+ "eos_token": {
14
+ "__type": "AddedToken",
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": true
20
+ },
21
+ "model_max_length": 1000000000000000019884624838656,
22
+ "pad_token": {
23
+ "__type": "AddedToken",
24
+ "content": "<pad>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": true
29
+ },
30
+ "sp_model_kwargs": {},
31
+ "tokenizer_class": "LlamaTokenizer",
32
+ "unk_token": {
33
+ "__type": "AddedToken",
34
+ "content": "<unk>",
35
+ "lstrip": false,
36
+ "normalized": true,
37
+ "rstrip": false,
38
+ "single_word": true
39
+ }
40
+ }