qeternity commited on
Commit
05b26ae
1 Parent(s): 3a05c6f

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/root/quantized/Nous-Hermes-2-Mixtral-8x7B-DPO-GPTQ-4bit-128g-actorder_False/",
3
+ "architectures": [
4
+ "MixtralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 32000,
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": "mixtral",
15
+ "num_attention_heads": 32,
16
+ "num_experts_per_tok": 2,
17
+ "num_hidden_layers": 32,
18
+ "num_key_value_heads": 8,
19
+ "num_local_experts": 8,
20
+ "output_router_logits": false,
21
+ "quantization_config": {
22
+ "batch_size": 1,
23
+ "bits": 4,
24
+ "block_name_to_quantize": null,
25
+ "cache_block_outputs": true,
26
+ "damp_percent": 0.01,
27
+ "dataset": null,
28
+ "desc_act": false,
29
+ "exllama_config": {
30
+ "version": 1
31
+ },
32
+ "group_size": 128,
33
+ "max_input_length": null,
34
+ "model_seqlen": null,
35
+ "module_name_preceding_first_block": null,
36
+ "modules_in_block_to_quantize": [
37
+ [
38
+ "self_attn.k_proj",
39
+ "self_attn.v_proj",
40
+ "self_attn.q_proj"
41
+ ],
42
+ [
43
+ "self_attn.o_proj"
44
+ ],
45
+ [
46
+ "block_sparse_moe.experts.0.w1",
47
+ "block_sparse_moe.experts.0.w2",
48
+ "block_sparse_moe.experts.0.w3"
49
+ ],
50
+ [
51
+ "block_sparse_moe.experts.1.w1",
52
+ "block_sparse_moe.experts.1.w2",
53
+ "block_sparse_moe.experts.1.w3"
54
+ ],
55
+ [
56
+ "block_sparse_moe.experts.2.w1",
57
+ "block_sparse_moe.experts.2.w2",
58
+ "block_sparse_moe.experts.2.w3"
59
+ ],
60
+ [
61
+ "block_sparse_moe.experts.3.w1",
62
+ "block_sparse_moe.experts.3.w2",
63
+ "block_sparse_moe.experts.3.w3"
64
+ ],
65
+ [
66
+ "block_sparse_moe.experts.4.w1",
67
+ "block_sparse_moe.experts.4.w2",
68
+ "block_sparse_moe.experts.4.w3"
69
+ ],
70
+ [
71
+ "block_sparse_moe.experts.5.w1",
72
+ "block_sparse_moe.experts.5.w2",
73
+ "block_sparse_moe.experts.5.w3"
74
+ ],
75
+ [
76
+ "block_sparse_moe.experts.6.w1",
77
+ "block_sparse_moe.experts.6.w2",
78
+ "block_sparse_moe.experts.6.w3"
79
+ ],
80
+ [
81
+ "block_sparse_moe.experts.7.w1",
82
+ "block_sparse_moe.experts.7.w2",
83
+ "block_sparse_moe.experts.7.w3"
84
+ ]
85
+ ],
86
+ "pad_token_id": null,
87
+ "quant_method": "gptq",
88
+ "sym": true,
89
+ "tokenizer": null,
90
+ "true_sequential": true,
91
+ "use_cuda_fp16": false,
92
+ "use_exllama": true
93
+ },
94
+ "rms_norm_eps": 1e-05,
95
+ "rope_theta": 1000000.0,
96
+ "router_aux_loss_coef": 0.02,
97
+ "sliding_window": null,
98
+ "tie_word_embeddings": false,
99
+ "torch_dtype": "float16",
100
+ "transformers_version": "4.38.2",
101
+ "use_cache": false,
102
+ "vocab_size": 32002
103
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 32000,
5
+ "transformers_version": "4.38.2",
6
+ "use_cache": false
7
+ }
model-00001-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb3783e656a54db69538668df488f276e3f9f36169673f1584eefb24f56e11ad
3
+ size 4999800664
model-00002-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a88094f6311c126218161e30d0279a1858899dfce7fe9f2fcc9e16a323b95ec
3
+ size 4990731648
model-00003-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6d9fbd322cba74981ad7a9b4449a7b773473bac2b20144781e0922afb7f3652
3
+ size 4982140744
model-00004-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c509e0dbe2d028d4166bfa841adb65ecae945e5451b622a2b28fe46edb596ca
3
+ size 4982120288
model-00005-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64dd70dbcef42615228f0bc5931960cb69f3246c222a37f4366b68dcfb24a451
3
+ size 4742010696
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
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
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|im_end|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "32000": {
30
+ "content": "<|im_end|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "32001": {
38
+ "content": "<|im_start|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": false
44
+ }
45
+ },
46
+ "additional_special_tokens": [],
47
+ "bos_token": "<s>",
48
+ "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
49
+ "clean_up_tokenization_spaces": false,
50
+ "eos_token": "<|im_end|>",
51
+ "legacy": true,
52
+ "model_max_length": 1000000000000000019884624838656,
53
+ "pad_token": "</s>",
54
+ "sp_model_kwargs": {},
55
+ "spaces_between_special_tokens": false,
56
+ "tokenizer_class": "LlamaTokenizer",
57
+ "trust_remote_code": false,
58
+ "unk_token": "<unk>",
59
+ "use_default_system_prompt": false,
60
+ "use_fast": true
61
+ }