Upload 11 files
Browse files- .gitattributes +2 -0
- Qwen1.5-7B-Chat_jit.bin +3 -0
- Qwen1.5-7B-Chat_jit.onnx +3 -0
- Qwen1.5-7B-Chat_jit.onnx.data +3 -0
- Qwen1.5-7B-Chat_jit.pb.bin +3 -0
- added_tokens.json +5 -0
- genai_config.json +57 -0
- merges.txt +0 -0
- special_tokens_map.json +20 -0
- tokenizer.json +3 -0
- tokenizer_config.json +44 -0
- vocab.json +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,5 @@ 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 |
+
Qwen1.5-7B-Chat_jit.onnx.data filter=lfs diff=lfs merge=lfs -text
|
37 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
Qwen1.5-7B-Chat_jit.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f1750f8267265a4d2b0eaf2eeaeafc1f580773316fb937dd2b5616210e7e488
|
3 |
+
size 3877527552
|
Qwen1.5-7B-Chat_jit.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0adae21fe045b83ff1a3d187012110b4328e7a7ad112c04a9aed32a48940eb6
|
3 |
+
size 303720
|
Qwen1.5-7B-Chat_jit.onnx.data
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:039a2f276f6d31bef2754f9c8671783d909082a728b569d4a51b1c2ae2880357
|
3 |
+
size 4942174208
|
Qwen1.5-7B-Chat_jit.pb.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4aebd92699307ccb8f064a564aaf681781e15f35c252fcf6599ec20eab58cc56
|
3 |
+
size 7695
|
added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 151643,
|
3 |
+
"<|im_end|>": 151645,
|
4 |
+
"<|im_start|>": 151644
|
5 |
+
}
|
genai_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": {
|
3 |
+
"bos_token_id": 151643,
|
4 |
+
"context_length": 32768,
|
5 |
+
"decoder": {
|
6 |
+
"session_options": {
|
7 |
+
"log_id": "onnxruntime-genai",
|
8 |
+
"custom_ops_library": "onnx_custom_ops.dll",
|
9 |
+
"custom_allocator": "shared_d3d_xrt",
|
10 |
+
"external_data_file": "Qwen1.5-7B-Chat_jit.pb.bin",
|
11 |
+
"provider_options": [
|
12 |
+
]
|
13 |
+
},
|
14 |
+
"filename": "Qwen1.5-7B-Chat_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": 32
|
32 |
+
},
|
33 |
+
"eos_token_id": [
|
34 |
+
151645,
|
35 |
+
151643
|
36 |
+
],
|
37 |
+
"pad_token_id": 151643,
|
38 |
+
"type": "qwen2",
|
39 |
+
"vocab_size": 151936
|
40 |
+
},
|
41 |
+
"search": {
|
42 |
+
"diversity_penalty": 0.0,
|
43 |
+
"do_sample": true,
|
44 |
+
"early_stopping": true,
|
45 |
+
"length_penalty": 1.0,
|
46 |
+
"max_length": 32768,
|
47 |
+
"min_length": 0,
|
48 |
+
"no_repeat_ngram_size": 0,
|
49 |
+
"num_beams": 1,
|
50 |
+
"num_return_sequences": 1,
|
51 |
+
"past_present_share_buffer": true,
|
52 |
+
"repetition_penalty": 1.05,
|
53 |
+
"temperature": 0.7,
|
54 |
+
"top_k": 1,
|
55 |
+
"top_p": 0.8
|
56 |
+
}
|
57 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"eos_token": {
|
7 |
+
"content": "<|endoftext|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"pad_token": {
|
14 |
+
"content": "<|endoftext|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
}
|
20 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eed1a284796e34384414abbe5b4c932001c8dd9d62d06f8bff8400086f2e76c8
|
3 |
+
size 11418260
|
tokenizer_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"151643": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"151644": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"151645": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"additional_special_tokens": [
|
30 |
+
"<|im_start|>",
|
31 |
+
"<|im_end|>"
|
32 |
+
],
|
33 |
+
"bos_token": null,
|
34 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
35 |
+
"clean_up_tokenization_spaces": false,
|
36 |
+
"eos_token": "<|endoftext|>",
|
37 |
+
"errors": "replace",
|
38 |
+
"model_max_length": 512,
|
39 |
+
"pad_token": "<|endoftext|>",
|
40 |
+
"padding_side": "left",
|
41 |
+
"split_special_tokens": false,
|
42 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
43 |
+
"unk_token": null
|
44 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|