Upload 9 files
Browse files- .gitattributes +1 -0
- Mistral-7B-Instruct-v0.1_jit.bin +3 -0
- Mistral-7B-Instruct-v0.1_jit.onnx +3 -0
- Mistral-7B-Instruct-v0.1_jit.onnx.data +3 -0
- Mistral-7B-Instruct-v0.1_jit.pb.bin +3 -0
- genai_config.json +54 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +46 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ 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 |
+
Mistral-7B-Instruct-v0.1_jit.onnx.data filter=lfs diff=lfs merge=lfs -text
|
Mistral-7B-Instruct-v0.1_jit.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:497877b03b261a640537a28b7a41730411aaff25faeb0a1bd753b238d122f60e
|
| 3 |
+
size 3874881536
|
Mistral-7B-Instruct-v0.1_jit.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1addbc412cceb1d99b114cf8ea3491ac581c8cb37a801b6708b44e85548777ab
|
| 3 |
+
size 297122
|
Mistral-7B-Instruct-v0.1_jit.onnx.data
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31b39b4c10416d2ac5f89d77f53fef45ae771fdf223f5ef7d7acb282153c5293
|
| 3 |
+
size 3965136896
|
Mistral-7B-Instruct-v0.1_jit.pb.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b519c668fcd7df66e1e1fc3bd19c751dcfb362f3c0b4e66989f66bf8e989e5a
|
| 3 |
+
size 7543
|
genai_config.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": {
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"context_length": 32768,
|
| 5 |
+
"decoder": {
|
| 6 |
+
"session_options": {
|
| 7 |
+
"log_id": "onnxruntime-genai",
|
| 8 |
+
"custom_ops_library": "C:\\Users\\udayd\\Downloads\\hybrid-llm-artifacts_643176\\hybrid-llm-artifacts\\onnx_utils\\bin\\onnx_custom_ops.dll",
|
| 9 |
+
"custom_allocator": "shared_d3d_xrt",
|
| 10 |
+
"external_data_file": "Mistral-7B-Instruct-v0.1_jit.pb.bin",
|
| 11 |
+
"provider_options": [
|
| 12 |
+
]
|
| 13 |
+
},
|
| 14 |
+
"filename": "Mistral-7B-Instruct-v0.1_jit.onnx",
|
| 15 |
+
"head_size": 128,
|
| 16 |
+
"hidden_size": 4096,
|
| 17 |
+
"inputs": {
|
| 18 |
+
"input_ids": "input_ids",
|
| 19 |
+
"attention_mask": "attention_mask",
|
| 20 |
+
"position_ids": "position_ids",
|
| 21 |
+
"past_key_names": "past_key_values.%d.key",
|
| 22 |
+
"past_value_names": "past_key_values.%d.value"
|
| 23 |
+
},
|
| 24 |
+
"outputs": {
|
| 25 |
+
"logits": "logits",
|
| 26 |
+
"present_key_names": "present.%d.key",
|
| 27 |
+
"present_value_names": "present.%d.value"
|
| 28 |
+
},
|
| 29 |
+
"num_attention_heads": 32,
|
| 30 |
+
"num_hidden_layers": 32,
|
| 31 |
+
"num_key_value_heads": 8
|
| 32 |
+
},
|
| 33 |
+
"eos_token_id": 2,
|
| 34 |
+
"pad_token_id": 2,
|
| 35 |
+
"type": "mistral",
|
| 36 |
+
"vocab_size": 32000
|
| 37 |
+
},
|
| 38 |
+
"search": {
|
| 39 |
+
"diversity_penalty": 0.0,
|
| 40 |
+
"do_sample": false,
|
| 41 |
+
"early_stopping": true,
|
| 42 |
+
"length_penalty": 1.0,
|
| 43 |
+
"max_length": 32768,
|
| 44 |
+
"min_length": 0,
|
| 45 |
+
"no_repeat_ngram_size": 0,
|
| 46 |
+
"num_beams": 1,
|
| 47 |
+
"num_return_sequences": 1,
|
| 48 |
+
"past_present_share_buffer": true,
|
| 49 |
+
"repetition_penalty": 1.0,
|
| 50 |
+
"temperature": 1.0,
|
| 51 |
+
"top_k": 1,
|
| 52 |
+
"top_p": 1.0
|
| 53 |
+
}
|
| 54 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": {
|
| 17 |
+
"content": "</s>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"unk_token": {
|
| 24 |
+
"content": "<unk>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
}
|
| 30 |
+
}
|
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,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"extra_special_tokens": {},
|
| 37 |
+
"legacy": false,
|
| 38 |
+
"model_max_length": 512,
|
| 39 |
+
"pad_token": "</s>",
|
| 40 |
+
"padding_side": "left",
|
| 41 |
+
"sp_model_kwargs": {},
|
| 42 |
+
"spaces_between_special_tokens": false,
|
| 43 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 44 |
+
"unk_token": "<unk>",
|
| 45 |
+
"use_default_system_prompt": false
|
| 46 |
+
}
|