Upload folder using huggingface_hub
Browse files- .gitattributes +10 -0
- compiled/1116586d0a946c8c5b51.neff +3 -0
- compiled/4a86d81a8ec6cdf7f1e8.neff +3 -0
- compiled/5c84a91fa9c76d98f66a.neff +3 -0
- compiled/6b949851b00393814c60.neff +3 -0
- compiled/6d6665acdc70c63e9582.neff +3 -0
- compiled/b564a2ce5c2f832007bb.neff +3 -0
- compiled/b58e84878c6d3fda68d4.neff +3 -0
- compiled/b6fc1672a6080c5a1a0b.neff +3 -0
- compiled/b8411fc7f8419caa8430.neff +3 -0
- compiled/d05b049fb63eff01c4dc.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/1116586d0a946c8c5b51.neff filter=lfs diff=lfs merge=lfs -text
|
37 |
+
compiled/4a86d81a8ec6cdf7f1e8.neff filter=lfs diff=lfs merge=lfs -text
|
38 |
+
compiled/5c84a91fa9c76d98f66a.neff filter=lfs diff=lfs merge=lfs -text
|
39 |
+
compiled/6b949851b00393814c60.neff filter=lfs diff=lfs merge=lfs -text
|
40 |
+
compiled/6d6665acdc70c63e9582.neff filter=lfs diff=lfs merge=lfs -text
|
41 |
+
compiled/b564a2ce5c2f832007bb.neff filter=lfs diff=lfs merge=lfs -text
|
42 |
+
compiled/b58e84878c6d3fda68d4.neff filter=lfs diff=lfs merge=lfs -text
|
43 |
+
compiled/b6fc1672a6080c5a1a0b.neff filter=lfs diff=lfs merge=lfs -text
|
44 |
+
compiled/b8411fc7f8419caa8430.neff filter=lfs diff=lfs merge=lfs -text
|
45 |
+
compiled/d05b049fb63eff01c4dc.neff filter=lfs diff=lfs merge=lfs -text
|
compiled/1116586d0a946c8c5b51.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d1e65ae6cca762102fc38b85d3cb08c40059969dfdda8859da69f58ab5fef4f
|
3 |
+
size 1567744
|
compiled/4a86d81a8ec6cdf7f1e8.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d7ec97da610445378bcef5a1cca854ab52d26808c42bdd7ffc894b1e8d944dc
|
3 |
+
size 1577984
|
compiled/5c84a91fa9c76d98f66a.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be1ac78cf360423b6ec5bc45838f331631c00fb47741e72bd8bea5329789199f
|
3 |
+
size 1731584
|
compiled/6b949851b00393814c60.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aee949c8dab148f687651cc2993c6a20ffedafe43673e92ad873843849055568
|
3 |
+
size 1977344
|
compiled/6d6665acdc70c63e9582.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:138db4ee0f974d1101c46a1f9f259969182c444403064b5c9f3200abf3726854
|
3 |
+
size 1485824
|
compiled/b564a2ce5c2f832007bb.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c84cb6206eabeef53ccd72ea450b35e51d847139204204fd86c06464e71c35e4
|
3 |
+
size 4240384
|
compiled/b58e84878c6d3fda68d4.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d90f54cc4fd850cb8660e0de7eef8c7cfbb3c08ae0f3ccb6ac866aa4ded25bde
|
3 |
+
size 1434624
|
compiled/b6fc1672a6080c5a1a0b.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b540b0c96b7bcf3d215137cc4d3ed62e2e6cc26d24316a003dcfb37d37cb4e0e
|
3 |
+
size 1393664
|
compiled/b8411fc7f8419caa8430.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee4ffc59f1d6c4567118a367696f2d04c6f8c4d4f71c62ee355c8b43c833d188
|
3 |
+
size 1598464
|
compiled/d05b049fb63eff01c4dc.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43f72f646d9780090215c5a8ab7f96a14862fe998e69ee68f1f9cca254687c37
|
3 |
+
size 1403904
|
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": 1,
|
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 |
+
}
|