Yang Gu
commited on
Commit
•
65b6758
1
Parent(s):
a6eea9a
Add more models
Browse files- Phi-3.5-mini-instruct-onnx-web/config.json +137 -0
- Phi-3.5-mini-instruct-onnx-web/onnx/model_q4f16.onnx +3 -0
- Phi-3.5-mini-instruct-onnx-web/onnx/model_q4f16.onnx_data +3 -0
- phi-3-mini-4k-instruct_fp16/config.json +38 -0
- phi-3-mini-4k-instruct_fp16/generation_config.json +11 -0
- phi-3-mini-4k-instruct_fp16/model_q4.onnx +3 -0
- phi-3-mini-4k-instruct_fp16/tokenizer.json +0 -0
- phi-3-mini-4k-instruct_fp16/tokenizer_config.json +130 -0
- rtmpose-m-orig.onnx +3 -0
- sam2-large-decoder.onnx +3 -0
- sam2-large-encoder.onnx +3 -0
- sd-unet-separate-weights/sd-unet.onnx +3 -0
- sd-unet-separate-weights/weights.pb +3 -0
- tmp/clip.onnx +3 -0
- tmp/demucs1.onnx +3 -0
- tmp/distilbert.onnx +3 -0
- tmp/sam-b-vision-encoder.onnx +3 -0
- tmp/vits.onnx +3 -0
- tmp/wav2vec2.onnx +3 -0
- tmp/yolov8.onnx +3 -0
Phi-3.5-mini-instruct-onnx-web/config.json
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Phi-3.5-mini-instruct",
|
3 |
+
"architectures": [
|
4 |
+
"Phi3ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"embd_pdrop": 0.0,
|
9 |
+
"eos_token_id": 32000,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 3072,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 8192,
|
14 |
+
"max_position_embeddings": 131072,
|
15 |
+
"model_type": "phi3",
|
16 |
+
"num_attention_heads": 32,
|
17 |
+
"num_hidden_layers": 32,
|
18 |
+
"num_key_value_heads": 32,
|
19 |
+
"original_max_position_embeddings": 4096,
|
20 |
+
"pad_token_id": 32000,
|
21 |
+
"resid_pdrop": 0.0,
|
22 |
+
"rms_norm_eps": 1e-05,
|
23 |
+
"rope_scaling": {
|
24 |
+
"long_factor": [
|
25 |
+
1.0800000429153442,
|
26 |
+
1.1100000143051147,
|
27 |
+
1.1399999856948853,
|
28 |
+
1.340000033378601,
|
29 |
+
1.5899999141693115,
|
30 |
+
1.600000023841858,
|
31 |
+
1.6200000047683716,
|
32 |
+
2.620000123977661,
|
33 |
+
3.2300000190734863,
|
34 |
+
3.2300000190734863,
|
35 |
+
4.789999961853027,
|
36 |
+
7.400000095367432,
|
37 |
+
7.700000286102295,
|
38 |
+
9.09000015258789,
|
39 |
+
12.199999809265137,
|
40 |
+
17.670000076293945,
|
41 |
+
24.46000099182129,
|
42 |
+
28.57000160217285,
|
43 |
+
30.420001983642578,
|
44 |
+
30.840002059936523,
|
45 |
+
32.590003967285156,
|
46 |
+
32.93000411987305,
|
47 |
+
42.320003509521484,
|
48 |
+
44.96000289916992,
|
49 |
+
50.340003967285156,
|
50 |
+
50.45000457763672,
|
51 |
+
57.55000305175781,
|
52 |
+
57.93000411987305,
|
53 |
+
58.21000289916992,
|
54 |
+
60.1400032043457,
|
55 |
+
62.61000442504883,
|
56 |
+
62.62000274658203,
|
57 |
+
62.71000289916992,
|
58 |
+
63.1400032043457,
|
59 |
+
63.1400032043457,
|
60 |
+
63.77000427246094,
|
61 |
+
63.93000411987305,
|
62 |
+
63.96000289916992,
|
63 |
+
63.970001220703125,
|
64 |
+
64.02999877929688,
|
65 |
+
64.06999969482422,
|
66 |
+
64.08000183105469,
|
67 |
+
64.12000274658203,
|
68 |
+
64.41000366210938,
|
69 |
+
64.4800033569336,
|
70 |
+
64.51000213623047,
|
71 |
+
64.52999877929688,
|
72 |
+
64.83999633789062
|
73 |
+
],
|
74 |
+
"short_factor": [
|
75 |
+
1.0,
|
76 |
+
1.0199999809265137,
|
77 |
+
1.0299999713897705,
|
78 |
+
1.0299999713897705,
|
79 |
+
1.0499999523162842,
|
80 |
+
1.0499999523162842,
|
81 |
+
1.0499999523162842,
|
82 |
+
1.0499999523162842,
|
83 |
+
1.0499999523162842,
|
84 |
+
1.0699999332427979,
|
85 |
+
1.0999999046325684,
|
86 |
+
1.1099998950958252,
|
87 |
+
1.1599998474121094,
|
88 |
+
1.1599998474121094,
|
89 |
+
1.1699998378753662,
|
90 |
+
1.2899998426437378,
|
91 |
+
1.339999794960022,
|
92 |
+
1.679999828338623,
|
93 |
+
1.7899998426437378,
|
94 |
+
1.8199998140335083,
|
95 |
+
1.8499997854232788,
|
96 |
+
1.8799997568130493,
|
97 |
+
1.9099997282028198,
|
98 |
+
1.9399996995925903,
|
99 |
+
1.9899996519088745,
|
100 |
+
2.0199997425079346,
|
101 |
+
2.0199997425079346,
|
102 |
+
2.0199997425079346,
|
103 |
+
2.0199997425079346,
|
104 |
+
2.0199997425079346,
|
105 |
+
2.0199997425079346,
|
106 |
+
2.0299997329711914,
|
107 |
+
2.0299997329711914,
|
108 |
+
2.0299997329711914,
|
109 |
+
2.0299997329711914,
|
110 |
+
2.0299997329711914,
|
111 |
+
2.0299997329711914,
|
112 |
+
2.0299997329711914,
|
113 |
+
2.0299997329711914,
|
114 |
+
2.0299997329711914,
|
115 |
+
2.0799996852874756,
|
116 |
+
2.0899996757507324,
|
117 |
+
2.189999580383301,
|
118 |
+
2.2199995517730713,
|
119 |
+
2.5899994373321533,
|
120 |
+
2.729999542236328,
|
121 |
+
2.749999523162842,
|
122 |
+
2.8399994373321533
|
123 |
+
],
|
124 |
+
"type": "longrope"
|
125 |
+
},
|
126 |
+
"rope_theta": 10000.0,
|
127 |
+
"sliding_window": 262144,
|
128 |
+
"tie_word_embeddings": false,
|
129 |
+
"torch_dtype": "bfloat16",
|
130 |
+
"transformers_version": "4.43.3",
|
131 |
+
"transformers.js_config": {
|
132 |
+
"kv_cache_dtype": "float16"
|
133 |
+
},
|
134 |
+
"use_cache": true,
|
135 |
+
"attention_bias": false,
|
136 |
+
"vocab_size": 32064
|
137 |
+
}
|
Phi-3.5-mini-instruct-onnx-web/onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e1119b8d3fa1adaaad4abaf0c0405dec377054948440e02dd6837d18d2a920d
|
3 |
+
size 220452346
|
Phi-3.5-mini-instruct-onnx-web/onnx/model_q4f16.onnx_data
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6dfb3069b717b518266dd58cb8e794bc0712fbc46e1737aef99cd8875302cf0
|
3 |
+
size 2097020928
|
phi-3-mini-4k-instruct_fp16/config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/Phi-3-mini-4k-instruct-onnx",
|
3 |
+
"architectures": [
|
4 |
+
"Phi3ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "configuration_phi3.Phi3Config",
|
9 |
+
"AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
|
10 |
+
},
|
11 |
+
"bos_token_id": 1,
|
12 |
+
"embd_pdrop": 0.0,
|
13 |
+
"eos_token_id": 32000,
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"hidden_size": 3072,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 8192,
|
18 |
+
"max_position_embeddings": 4096,
|
19 |
+
"model_type": "phi3",
|
20 |
+
"num_attention_heads": 32,
|
21 |
+
"num_hidden_layers": 32,
|
22 |
+
"num_key_value_heads": 32,
|
23 |
+
"original_max_position_embeddings": 4096,
|
24 |
+
"pad_token_id": 32000,
|
25 |
+
"resid_pdrop": 0.0,
|
26 |
+
"rms_norm_eps": 1e-05,
|
27 |
+
"rope_scaling": null,
|
28 |
+
"rope_theta": 10000.0,
|
29 |
+
"sliding_window": 2047,
|
30 |
+
"tie_word_embeddings": false,
|
31 |
+
"torch_dtype": "bfloat16",
|
32 |
+
"transformers_version": "4.39.3",
|
33 |
+
"transformers.js_config": {
|
34 |
+
"kv_cache_dtype": "float16"
|
35 |
+
},
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 32064
|
38 |
+
}
|
phi-3-mini-4k-instruct_fp16/generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": [
|
5 |
+
32000,
|
6 |
+
32001,
|
7 |
+
32007
|
8 |
+
],
|
9 |
+
"pad_token_id": 32000,
|
10 |
+
"transformers_version": "4.39.3"
|
11 |
+
}
|
phi-3-mini-4k-instruct_fp16/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f02ea39a2e1681c035259065c2b267e2a6a8c97db9d565fae067bf95ffc23393
|
3 |
+
size 838080131
|
phi-3-mini-4k-instruct_fp16/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
phi-3-mini-4k-instruct_fp16/tokenizer_config.json
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": true,
|
26 |
+
"single_word": false,
|
27 |
+
"special": false
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "<|endoftext|>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "<|assistant|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": true,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"32002": {
|
46 |
+
"content": "<|placeholder1|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": true,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"32003": {
|
54 |
+
"content": "<|placeholder2|>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": true,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
},
|
61 |
+
"32004": {
|
62 |
+
"content": "<|placeholder3|>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": true,
|
66 |
+
"single_word": false,
|
67 |
+
"special": true
|
68 |
+
},
|
69 |
+
"32005": {
|
70 |
+
"content": "<|placeholder4|>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": true,
|
74 |
+
"single_word": false,
|
75 |
+
"special": true
|
76 |
+
},
|
77 |
+
"32006": {
|
78 |
+
"content": "<|system|>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": true,
|
82 |
+
"single_word": false,
|
83 |
+
"special": true
|
84 |
+
},
|
85 |
+
"32007": {
|
86 |
+
"content": "<|end|>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": true,
|
90 |
+
"single_word": false,
|
91 |
+
"special": true
|
92 |
+
},
|
93 |
+
"32008": {
|
94 |
+
"content": "<|placeholder5|>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": true,
|
98 |
+
"single_word": false,
|
99 |
+
"special": true
|
100 |
+
},
|
101 |
+
"32009": {
|
102 |
+
"content": "<|placeholder6|>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": true,
|
106 |
+
"single_word": false,
|
107 |
+
"special": true
|
108 |
+
},
|
109 |
+
"32010": {
|
110 |
+
"content": "<|user|>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": true,
|
114 |
+
"single_word": false,
|
115 |
+
"special": true
|
116 |
+
}
|
117 |
+
},
|
118 |
+
"bos_token": "<s>",
|
119 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') %}{{'<|user|>' + '\n' + message['content'] + '<|end|>' + '\n' + '<|assistant|>' + '\n'}}{% elif (message['role'] == 'assistant') %}{{message['content'] + '<|end|>' + '\n'}}{% endif %}{% endfor %}",
|
120 |
+
"clean_up_tokenization_spaces": false,
|
121 |
+
"eos_token": "<|endoftext|>",
|
122 |
+
"legacy": false,
|
123 |
+
"model_max_length": 4096,
|
124 |
+
"pad_token": "<|endoftext|>",
|
125 |
+
"padding_side": "left",
|
126 |
+
"sp_model_kwargs": {},
|
127 |
+
"tokenizer_class": "LlamaTokenizer",
|
128 |
+
"unk_token": "<unk>",
|
129 |
+
"use_default_system_prompt": false
|
130 |
+
}
|
rtmpose-m-orig.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c9df2570aff3209b1a7871ce13be4470655eb7cf3053f641e2f4397980880a3c
|
3 |
+
size 54339984
|
sam2-large-decoder.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7350b171ab5f2baac083c649ac07aa50be5647bddae6e7686b19895be1bc9c07
|
3 |
+
size 16606128
|
sam2-large-encoder.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:705dff64011658abdc7556eb9957d63fcfafdcfceaf0ddc6241ed8c63464c7a3
|
3 |
+
size 852451135
|
sd-unet-separate-weights/sd-unet.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0407225aa6d5fda3754fcbc807938639449b982e98a5dc33d2c9c562fbd282c4
|
3 |
+
size 775566
|
sd-unet-separate-weights/weights.pb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:339a499d1a3191b5879410ee7171c42ac15a3e116a570a95c3c93087e907de9d
|
3 |
+
size 3438083840
|
tmp/clip.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5fc6ce7479c156f737d3ec0459136afde5951ec2884a2602d28483402e56b70e
|
3 |
+
size 1213341225
|
tmp/demucs1.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bacfac8a892cc63515716e2eb1a652228a478bf798ecc12935a7faf708e65877
|
3 |
+
size 171038235
|
tmp/distilbert.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a52b92d181e65cb792ae6721b26b4b676016972bc60eb2e95cdffa07697ab71
|
3 |
+
size 133045146
|
tmp/sam-b-vision-encoder.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:78418463bed0cacb058a4419900eb8a9aa20a3ba48f074db165397a103351d6b
|
3 |
+
size 359323904
|
tmp/vits.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:914c473788fc1fa8b63ace1cdcdb44588f4ae523d3ab37df1536616835a140b7
|
3 |
+
size 63201294
|
tmp/wav2vec2.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:957409b2e755542b9600c9d82e8bb37f9556a90dc893f466b640565fbad0b301
|
3 |
+
size 377814725
|
tmp/yolov8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d9bf92391afb5b1ec8303ad86d926a012922bec953fda95903cd0aaf448dab0
|
3 |
+
size 13696228
|