Upload folder using huggingface_hub
Browse files- .gitattributes +10 -0
- compiled/0e4da9b94601999698d7.neff +3 -0
- compiled/591cab6b72e3e3cd0d8d.neff +3 -0
- compiled/630532528d120fce7e0c.neff +3 -0
- compiled/8fc7e41c205e20342056.neff +3 -0
- compiled/99a422551f1d7c7052fd.neff +3 -0
- compiled/a6c5d76104b556e58caa.neff +3 -0
- compiled/a835c1a9078e23ae82c0.neff +3 -0
- compiled/ac8dd8ec49c00e095a84.neff +3 -0
- compiled/b0f952d5862359db041a.neff +3 -0
- compiled/c72f202ba14a1198bc8b.neff +3 -0
- config.json +37 -0
- generation_config.json +6 -0
- special_tokens_map.json +23 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +43 -0
.gitattributes
CHANGED
@@ -33,3 +33,13 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
compiled/0e4da9b94601999698d7.neff filter=lfs diff=lfs merge=lfs -text
|
37 |
+
compiled/591cab6b72e3e3cd0d8d.neff filter=lfs diff=lfs merge=lfs -text
|
38 |
+
compiled/630532528d120fce7e0c.neff filter=lfs diff=lfs merge=lfs -text
|
39 |
+
compiled/8fc7e41c205e20342056.neff filter=lfs diff=lfs merge=lfs -text
|
40 |
+
compiled/99a422551f1d7c7052fd.neff filter=lfs diff=lfs merge=lfs -text
|
41 |
+
compiled/a6c5d76104b556e58caa.neff filter=lfs diff=lfs merge=lfs -text
|
42 |
+
compiled/a835c1a9078e23ae82c0.neff filter=lfs diff=lfs merge=lfs -text
|
43 |
+
compiled/ac8dd8ec49c00e095a84.neff filter=lfs diff=lfs merge=lfs -text
|
44 |
+
compiled/b0f952d5862359db041a.neff filter=lfs diff=lfs merge=lfs -text
|
45 |
+
compiled/c72f202ba14a1198bc8b.neff filter=lfs diff=lfs merge=lfs -text
|
compiled/0e4da9b94601999698d7.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c6fcd114ad31ce0da3504a537e941a98cc25e2821c5248dd0e8379d1c22360f
|
3 |
+
size 2264064
|
compiled/591cab6b72e3e3cd0d8d.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b017b2f9afe82aa0f522157ec70fb15b69a7627019a8a585bf379ee955c8168d
|
3 |
+
size 1639424
|
compiled/630532528d120fce7e0c.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cc8fe555927f1a38486d71e804f949f8d6b4bf865d54926be825704b293bdd0
|
3 |
+
size 1680384
|
compiled/8fc7e41c205e20342056.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96a2b028b1ee2ccddaf2ce2d4a1a92f90f1363c2f94438825a907d1e496d63be
|
3 |
+
size 5131264
|
compiled/99a422551f1d7c7052fd.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ab62ad85377ef449759afebb4688e83716236ddb8ffa99738e90a119f42670d
|
3 |
+
size 2038784
|
compiled/a6c5d76104b556e58caa.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d6d8d6c0037e91a96e0f243af7592b1e7fb884addd471d07ca73d50045da7c7
|
3 |
+
size 2561024
|
compiled/a835c1a9078e23ae82c0.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:837256a1d2b8311d0df6568368047f4defa5c3113cfb9fa28108d028f930910d
|
3 |
+
size 1608704
|
compiled/ac8dd8ec49c00e095a84.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20f97ac8900448147b4139f09c98469c424e2dd7eb2d6158fa51ed8f6bf8221f
|
3 |
+
size 1803264
|
compiled/b0f952d5862359db041a.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4812787cf38214d394dc4096b861fa57d7852dfc1dcbb1cf4e01d5af90651e0e
|
3 |
+
size 89273344
|
compiled/c72f202ba14a1198bc8b.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0843cd9d756d8a542b18a2152f3a2946da1a92fe8858b62dbfe0bdd2dbe6e4bb
|
3 |
+
size 16548864
|
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mistralai/Mistral-7B-Instruct-v0.1",
|
3 |
+
"architectures": [
|
4 |
+
"MistralForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
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": "mistral",
|
15 |
+
"neuron": {
|
16 |
+
"auto_cast_type": "bf16",
|
17 |
+
"batch_size": 4,
|
18 |
+
"checkpoint_id": "mistralai/Mistral-7B-Instruct-v0.1",
|
19 |
+
"checkpoint_revision": "9ab9e76e2b09f9f29ea2d56aa5bd139e4445c59e",
|
20 |
+
"compiler_type": "neuronx-cc",
|
21 |
+
"compiler_version": "2.12.54.0+f631c2365",
|
22 |
+
"num_cores": 24,
|
23 |
+
"sequence_length": 2048,
|
24 |
+
"task": "text-generation"
|
25 |
+
},
|
26 |
+
"num_attention_heads": 32,
|
27 |
+
"num_hidden_layers": 32,
|
28 |
+
"num_key_value_heads": 8,
|
29 |
+
"rms_norm_eps": 1e-05,
|
30 |
+
"rope_theta": 10000.0,
|
31 |
+
"sliding_window": 4096,
|
32 |
+
"tie_word_embeddings": false,
|
33 |
+
"torch_dtype": "bfloat16",
|
34 |
+
"transformers_version": "4.36.2",
|
35 |
+
"use_cache": true,
|
36 |
+
"vocab_size": 32000
|
37 |
+
}
|
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.36.2"
|
6 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"unk_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
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,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"additional_special_tokens": [],
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token + ' ' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
36 |
+
"model_max_length": 1000000000000000019884624838656,
|
37 |
+
"pad_token": null,
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
+
}
|