Text Generation
Transformers
Safetensors
mixtral
Not-For-All-Audiences
nsfw
text-generation-inference
4-bit precision
gptq
GPTQ model commit
Browse files- config.json +94 -0
- generation_config.json +7 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +0 -0
- quantize_config.json +8 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +42 -0
config.json
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/workspace/process/undi95_bigplap-8x20b/source",
|
3 |
+
"architectures": [
|
4 |
+
"MixtralForCausalLM"
|
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": 5120,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 13824,
|
14 |
+
"max_position_embeddings": 32768,
|
15 |
+
"model_type": "mixtral",
|
16 |
+
"num_attention_heads": 40,
|
17 |
+
"num_experts_per_tok": 2,
|
18 |
+
"num_hidden_layers": 62,
|
19 |
+
"num_key_value_heads": 40,
|
20 |
+
"num_local_experts": 8,
|
21 |
+
"output_router_logits": false,
|
22 |
+
"pad_token_id": 0,
|
23 |
+
"pretraining_tp": 1,
|
24 |
+
"quantization_config": {
|
25 |
+
"batch_size": 1,
|
26 |
+
"bits": 4,
|
27 |
+
"block_name_to_quantize": null,
|
28 |
+
"cache_block_outputs": true,
|
29 |
+
"damp_percent": 0.1,
|
30 |
+
"desc_act": true,
|
31 |
+
"exllama_config": {
|
32 |
+
"version": 1
|
33 |
+
},
|
34 |
+
"group_size": -1,
|
35 |
+
"max_input_length": null,
|
36 |
+
"model_seqlen": null,
|
37 |
+
"module_name_preceding_first_block": null,
|
38 |
+
"modules_in_block_to_quantize": [
|
39 |
+
[
|
40 |
+
"self_attn.k_proj",
|
41 |
+
"self_attn.v_proj",
|
42 |
+
"self_attn.q_proj"
|
43 |
+
],
|
44 |
+
[
|
45 |
+
"self_attn.o_proj"
|
46 |
+
],
|
47 |
+
[
|
48 |
+
"block_sparse_moe.experts.0.w1",
|
49 |
+
"block_sparse_moe.experts.1.w1",
|
50 |
+
"block_sparse_moe.experts.2.w1",
|
51 |
+
"block_sparse_moe.experts.3.w1",
|
52 |
+
"block_sparse_moe.experts.4.w1",
|
53 |
+
"block_sparse_moe.experts.5.w1",
|
54 |
+
"block_sparse_moe.experts.6.w1",
|
55 |
+
"block_sparse_moe.experts.7.w1",
|
56 |
+
"block_sparse_moe.experts.0.w3",
|
57 |
+
"block_sparse_moe.experts.1.w3",
|
58 |
+
"block_sparse_moe.experts.2.w3",
|
59 |
+
"block_sparse_moe.experts.3.w3",
|
60 |
+
"block_sparse_moe.experts.4.w3",
|
61 |
+
"block_sparse_moe.experts.5.w3",
|
62 |
+
"block_sparse_moe.experts.6.w3",
|
63 |
+
"block_sparse_moe.experts.7.w3"
|
64 |
+
],
|
65 |
+
[
|
66 |
+
"block_sparse_moe.experts.0.w2",
|
67 |
+
"block_sparse_moe.experts.1.w2",
|
68 |
+
"block_sparse_moe.experts.2.w2",
|
69 |
+
"block_sparse_moe.experts.3.w2",
|
70 |
+
"block_sparse_moe.experts.4.w2",
|
71 |
+
"block_sparse_moe.experts.5.w2",
|
72 |
+
"block_sparse_moe.experts.6.w2",
|
73 |
+
"block_sparse_moe.experts.7.w2"
|
74 |
+
]
|
75 |
+
],
|
76 |
+
"pad_token_id": null,
|
77 |
+
"quant_method": "gptq",
|
78 |
+
"sym": true,
|
79 |
+
"tokenizer": null,
|
80 |
+
"true_sequential": true,
|
81 |
+
"use_cuda_fp16": false,
|
82 |
+
"use_exllama": true
|
83 |
+
},
|
84 |
+
"rms_norm_eps": 1e-05,
|
85 |
+
"rope_scaling": null,
|
86 |
+
"rope_theta": 10000.0,
|
87 |
+
"router_aux_loss_coef": 0.001,
|
88 |
+
"sliding_window": null,
|
89 |
+
"tie_word_embeddings": false,
|
90 |
+
"torch_dtype": "float16",
|
91 |
+
"transformers_version": "4.37.0.dev0",
|
92 |
+
"use_cache": true,
|
93 |
+
"vocab_size": 32000
|
94 |
+
}
|
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.37.0.dev0"
|
7 |
+
}
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a937bac437703391aeb9a8ec52fef3ba9d340a67676c3ee663427638037f123
|
3 |
+
size 48967360912
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eedb6eae972d2883aafa02302b7f2ec38b794d20bd1253921d16dda03847466a
|
3 |
+
size 7737220848
|
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,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,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
},
|
30 |
+
"bos_token": "<s>",
|
31 |
+
"clean_up_tokenization_spaces": false,
|
32 |
+
"eos_token": "</s>",
|
33 |
+
"legacy": false,
|
34 |
+
"model_max_length": 4096,
|
35 |
+
"pad_token": "<s>",
|
36 |
+
"padding_side": "left",
|
37 |
+
"sp_model_kwargs": {},
|
38 |
+
"spaces_between_special_tokens": false,
|
39 |
+
"tokenizer_class": "LlamaTokenizer",
|
40 |
+
"unk_token": "<unk>",
|
41 |
+
"use_default_system_prompt": true
|
42 |
+
}
|