Upload folder using huggingface_hub
Browse files- .gitattributes +10 -0
- compiled/1744545db8406da6398e.neff +3 -0
- compiled/1bb198a13076d1853641.neff +3 -0
- compiled/2e107447c6e0a7f19573.neff +3 -0
- compiled/51f8a515591560780d48.neff +3 -0
- compiled/6cab3b785bfcdd58ee6a.neff +3 -0
- compiled/a37ede77a746b866b69d.neff +3 -0
- compiled/b938f58ffd873c7146a7.neff +3 -0
- compiled/c3741198db69eb019273.neff +3 -0
- compiled/d632e5ec42990d4ee01b.neff +3 -0
- compiled/d95062416ef36beb6494.neff +3 -0
- config.json +39 -0
- generation_config.json +10 -0
- special_tokens_map.json +23 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +42 -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/1744545db8406da6398e.neff filter=lfs diff=lfs merge=lfs -text
|
37 |
+
compiled/1bb198a13076d1853641.neff filter=lfs diff=lfs merge=lfs -text
|
38 |
+
compiled/2e107447c6e0a7f19573.neff filter=lfs diff=lfs merge=lfs -text
|
39 |
+
compiled/51f8a515591560780d48.neff filter=lfs diff=lfs merge=lfs -text
|
40 |
+
compiled/6cab3b785bfcdd58ee6a.neff filter=lfs diff=lfs merge=lfs -text
|
41 |
+
compiled/a37ede77a746b866b69d.neff filter=lfs diff=lfs merge=lfs -text
|
42 |
+
compiled/b938f58ffd873c7146a7.neff filter=lfs diff=lfs merge=lfs -text
|
43 |
+
compiled/c3741198db69eb019273.neff filter=lfs diff=lfs merge=lfs -text
|
44 |
+
compiled/d632e5ec42990d4ee01b.neff filter=lfs diff=lfs merge=lfs -text
|
45 |
+
compiled/d95062416ef36beb6494.neff filter=lfs diff=lfs merge=lfs -text
|
compiled/1744545db8406da6398e.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:184b75e15fa46c68efa34f129454d1119f546162bdc51e755826f00b7ac75a4f
|
3 |
+
size 7906304
|
compiled/1bb198a13076d1853641.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5bd835c2dd1ae68f6d07afa68bb81fb5ef3897f304a1d36b7892ed99faef52e1
|
3 |
+
size 12770304
|
compiled/2e107447c6e0a7f19573.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cecb2fb3ffdf1cac6ac65467c66fed1443d82d186634dabd1a08c2968a5531d4
|
3 |
+
size 7875584
|
compiled/51f8a515591560780d48.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe1af2301ed7e4d218236b0f3df620dc822cd67a129e1896890d611021274559
|
3 |
+
size 10036224
|
compiled/6cab3b785bfcdd58ee6a.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c54b6214eaab05b3d8c7eb3a1366e1b42b43ea13d4695031362f7c7fa28275dd
|
3 |
+
size 8551424
|
compiled/a37ede77a746b866b69d.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62510b17d67a2ccf41d164a5b1708eaca5778ebf28c298a88e74e66e59b07d20
|
3 |
+
size 7998464
|
compiled/b938f58ffd873c7146a7.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c37eb24b729b5a3a4e2e4acbd97d29d111047f6fe4f64c8613c4b6e09087aa5
|
3 |
+
size 23307264
|
compiled/c3741198db69eb019273.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c0a100c2e9b22dd745d81413eb4a82ad6e08022484819736b9de0c5d1f835e9
|
3 |
+
size 8162304
|
compiled/d632e5ec42990d4ee01b.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2f5e36a63d6750190d0126ab073e54356012b6cc6935dd6bea07015b9636892
|
3 |
+
size 8479744
|
compiled/d95062416ef36beb6494.neff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aff21f510a1ea6b228d0e76619a22192b0b640f1167f7b24bce4d187a2b1e87d
|
3 |
+
size 8899584
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
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": 4096,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 11008,
|
14 |
+
"max_position_embeddings": 4096,
|
15 |
+
"model_type": "llama",
|
16 |
+
"neuron": {
|
17 |
+
"auto_cast_type": "fp16",
|
18 |
+
"batch_size": 1,
|
19 |
+
"checkpoint_id": "meta-llama/Llama-2-7b-chat-hf",
|
20 |
+
"checkpoint_revision": "c1b0db933684edbfe29a06fa47eb19cc48025e93",
|
21 |
+
"compiler_type": "neuronx-cc",
|
22 |
+
"compiler_version": "2.12.54.0+f631c2365",
|
23 |
+
"num_cores": 2,
|
24 |
+
"sequence_length": 2048,
|
25 |
+
"task": "text-generation"
|
26 |
+
},
|
27 |
+
"num_attention_heads": 32,
|
28 |
+
"num_hidden_layers": 32,
|
29 |
+
"num_key_value_heads": 32,
|
30 |
+
"pretraining_tp": 1,
|
31 |
+
"rms_norm_eps": 1e-05,
|
32 |
+
"rope_scaling": null,
|
33 |
+
"rope_theta": 10000.0,
|
34 |
+
"tie_word_embeddings": false,
|
35 |
+
"torch_dtype": "float16",
|
36 |
+
"transformers_version": "4.36.2",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 32000
|
39 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"max_length": 4096,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"temperature": 0.6,
|
8 |
+
"top_p": 0.9,
|
9 |
+
"transformers_version": "4.36.2"
|
10 |
+
}
|
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: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 |
+
"chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}",
|
32 |
+
"clean_up_tokenization_spaces": false,
|
33 |
+
"eos_token": "</s>",
|
34 |
+
"legacy": false,
|
35 |
+
"model_max_length": 1000000000000000019884624838656,
|
36 |
+
"pad_token": null,
|
37 |
+
"padding_side": "right",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"tokenizer_class": "LlamaTokenizer",
|
40 |
+
"unk_token": "<unk>",
|
41 |
+
"use_default_system_prompt": false
|
42 |
+
}
|