Upload folder using huggingface_hub
Browse files- config.json +61 -0
- generation_config.json +6 -0
- model-00001-of-00010.safetensors +3 -0
- model-00002-of-00010.safetensors +3 -0
- model-00003-of-00010.safetensors +3 -0
- model-00004-of-00010.safetensors +3 -0
- model-00005-of-00010.safetensors +3 -0
- model-00006-of-00010.safetensors +3 -0
- model-00007-of-00010.safetensors +3 -0
- model-00008-of-00010.safetensors +3 -0
- model-00009-of-00010.safetensors +3 -0
- model-00010-of-00010.safetensors +3 -0
- model.safetensors.index.json +0 -0
- recipe.yaml +7 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer_config.json +44 -0
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/sadkins/.cache/huggingface/hub/models--mistralai--Mixtral-8x7B-Instruct-v0.1/snapshots/67c3bf6b0aa8b6670f892629331d314f9af0b522",
|
3 |
+
"architectures": [
|
4 |
+
"MixtralForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"compression_config": {
|
9 |
+
"config_groups": {
|
10 |
+
"group_0": {
|
11 |
+
"input_activations": null,
|
12 |
+
"output_activations": null,
|
13 |
+
"targets": [
|
14 |
+
"Linear"
|
15 |
+
],
|
16 |
+
"weights": {
|
17 |
+
"block_structure": null,
|
18 |
+
"dynamic": false,
|
19 |
+
"group_size": null,
|
20 |
+
"num_bits": 8,
|
21 |
+
"observer": "minmax",
|
22 |
+
"observer_kwargs": {},
|
23 |
+
"strategy": "channel",
|
24 |
+
"symmetric": true,
|
25 |
+
"type": "int"
|
26 |
+
}
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"format": "pack-quantized",
|
30 |
+
"global_compression_ratio": 1.5664617716052016,
|
31 |
+
"ignore": [
|
32 |
+
"lm_head"
|
33 |
+
],
|
34 |
+
"kv_cache_scheme": null,
|
35 |
+
"quant_method": "compressed-tensors",
|
36 |
+
"quantization_status": "frozen"
|
37 |
+
},
|
38 |
+
"eos_token_id": 2,
|
39 |
+
"hidden_act": "silu",
|
40 |
+
"hidden_size": 4096,
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"intermediate_size": 14336,
|
43 |
+
"max_position_embeddings": 32768,
|
44 |
+
"model_type": "mixtral",
|
45 |
+
"num_attention_heads": 32,
|
46 |
+
"num_experts_per_tok": 2,
|
47 |
+
"num_hidden_layers": 32,
|
48 |
+
"num_key_value_heads": 8,
|
49 |
+
"num_local_experts": 8,
|
50 |
+
"output_router_logits": false,
|
51 |
+
"rms_norm_eps": 1e-05,
|
52 |
+
"rope_theta": 1000000.0,
|
53 |
+
"router_aux_loss_coef": 0.02,
|
54 |
+
"router_jitter_noise": 0.0,
|
55 |
+
"sliding_window": null,
|
56 |
+
"tie_word_embeddings": false,
|
57 |
+
"torch_dtype": "float16",
|
58 |
+
"transformers_version": "4.43.4",
|
59 |
+
"use_cache": true,
|
60 |
+
"vocab_size": 32000
|
61 |
+
}
|
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.43.4"
|
6 |
+
}
|
model-00001-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75ce198369d15741fdfff2bc38e781bb7a21c6a14c6d857d585f8959a4b454c5
|
3 |
+
size 4953352192
|
model-00002-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0782e911c6d9738b0cfcd6379decfa08f6a98869dd5b5f87b5b8a817ee0e4b9c
|
3 |
+
size 4942936008
|
model-00003-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2201e4c6e904971fe004a7f6ed8dc50a7fe7c0a16bf72c1b725d392b25738ff
|
3 |
+
size 4984950736
|
model-00004-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25d8f18bbc275847802b3560ed23e2e8880d6b9d4d2bae9bafc89fc1b5e2847e
|
3 |
+
size 4942915816
|
model-00005-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83635080d366327345004a9c50f1472cbf1a2aedf390a7effa6a6d8b9c29310b
|
3 |
+
size 4942936304
|
model-00006-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e1a0a9fc65f3cfddf31bd266b5d7dab7ed6283d5577b6c526b81f4ebbd6ba765
|
3 |
+
size 4984951048
|
model-00007-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e0f8ef19c4c811b931703896576c66f2b706d8980e9778b53ce9109420ee357
|
3 |
+
size 4942915816
|
model-00008-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ec9c93cc7291eb2ef27218979d23746101166b233e83da006c9e02873ea0d85
|
3 |
+
size 4984951048
|
model-00009-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4261ba8830cb94aaa75e29a25e024322e1582019e5a39b97a878376ac4bf2a6
|
3 |
+
size 4942936304
|
model-00010-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd2411caf6448a6587e8ea44be82d43699daa087e09add958d752e03796b382d
|
3 |
+
size 2360164344
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
recipe.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
DEFAULT_stage:
|
2 |
+
DEFAULT_modifiers:
|
3 |
+
GPTQModifier:
|
4 |
+
sequential_update: true
|
5 |
+
targets: Linear
|
6 |
+
ignore: [lm_head]
|
7 |
+
scheme: W8A16
|
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_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"additional_special_tokens": [],
|
32 |
+
"bos_token": "<s>",
|
33 |
+
"chat_template": "{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] %}\n {%- set loop_messages = messages[1:] %}\n{%- else %}\n {%- set loop_messages = messages %}\n{%- endif %}\n\n{{- bos_token }}\n{%- for message in loop_messages %}\n {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}\n {{- raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}\n {%- endif %}\n {%- if message['role'] == 'user' %}\n {%- if loop.first and system_message is defined %}\n {{- ' [INST] ' + system_message + '\\n\\n' + message['content'] + ' [/INST]' }}\n {%- else %}\n {{- ' [INST] ' + message['content'] + ' [/INST]' }}\n {%- endif %}\n {%- elif message['role'] == 'assistant' %}\n {{- ' ' + message['content'] + eos_token}}\n {%- else %}\n {{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }}\n {%- endif %}\n{%- endfor %}\n",
|
34 |
+
"clean_up_tokenization_spaces": false,
|
35 |
+
"eos_token": "</s>",
|
36 |
+
"legacy": false,
|
37 |
+
"model_max_length": 1000000000000000019884624838656,
|
38 |
+
"pad_token": "</s>",
|
39 |
+
"sp_model_kwargs": {},
|
40 |
+
"spaces_between_special_tokens": false,
|
41 |
+
"tokenizer_class": "LlamaTokenizer",
|
42 |
+
"unk_token": "<unk>",
|
43 |
+
"use_default_system_prompt": false
|
44 |
+
}
|