alexwengg commited on
Commit
b0cbdfc
·
verified ·
1 Parent(s): 2042ab2

Paradee-8M v1.0 Core ML: int8 + fp32 (text + acoustic)

Browse files
Files changed (40) hide show
  1. .gitattributes +5 -0
  2. LICENSE +202 -0
  3. README.md +86 -0
  4. config.json +131 -0
  5. fp32/ParadeeAcoustic.mlmodelc/analytics/coremldata.bin +3 -0
  6. fp32/ParadeeAcoustic.mlmodelc/coremldata.bin +3 -0
  7. fp32/ParadeeAcoustic.mlmodelc/model.mil +0 -0
  8. fp32/ParadeeAcoustic.mlmodelc/weights/weight.bin +3 -0
  9. fp32/ParadeeText.mlmodelc/analytics/coremldata.bin +3 -0
  10. fp32/ParadeeText.mlmodelc/coremldata.bin +3 -0
  11. fp32/ParadeeText.mlmodelc/model.mil +525 -0
  12. fp32/ParadeeText.mlmodelc/weights/weight.bin +3 -0
  13. fp32/vocab.json +116 -0
  14. int8/ParadeeAcoustic.mlmodelc/analytics/coremldata.bin +3 -0
  15. int8/ParadeeAcoustic.mlmodelc/coremldata.bin +3 -0
  16. int8/ParadeeAcoustic.mlmodelc/model.mil +0 -0
  17. int8/ParadeeAcoustic.mlmodelc/weights/weight.bin +3 -0
  18. int8/ParadeeText.mlmodelc/analytics/coremldata.bin +3 -0
  19. int8/ParadeeText.mlmodelc/coremldata.bin +3 -0
  20. int8/ParadeeText.mlmodelc/model.mil +0 -0
  21. int8/ParadeeText.mlmodelc/weights/weight.bin +3 -0
  22. int8/vocab.json +116 -0
  23. mlpackage/fp32/ParadeeAcoustic.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  24. mlpackage/fp32/ParadeeAcoustic.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  25. mlpackage/fp32/ParadeeAcoustic.mlpackage/Manifest.json +18 -0
  26. mlpackage/fp32/ParadeeText.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  27. mlpackage/fp32/ParadeeText.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  28. mlpackage/fp32/ParadeeText.mlpackage/Manifest.json +18 -0
  29. mlpackage/int8/ParadeeAcoustic.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  30. mlpackage/int8/ParadeeAcoustic.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  31. mlpackage/int8/ParadeeAcoustic.mlpackage/Manifest.json +18 -0
  32. mlpackage/int8/ParadeeText.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  33. mlpackage/int8/ParadeeText.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  34. mlpackage/int8/ParadeeText.mlpackage/Manifest.json +18 -0
  35. samples/1_paradee_coreml_int8.wav +3 -0
  36. samples/2_paradee_coreml_int8.wav +3 -0
  37. samples/3_paradee_coreml_int8.wav +3 -0
  38. samples/4_paradee_coreml_int8.wav +3 -0
  39. samples/5_paradee_coreml_int8.wav +3 -0
  40. samples/sentences.txt +5 -0
.gitattributes CHANGED
@@ -33,3 +33,8 @@ 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
+ samples/1_paradee_coreml_int8.wav filter=lfs diff=lfs merge=lfs -text
37
+ samples/2_paradee_coreml_int8.wav filter=lfs diff=lfs merge=lfs -text
38
+ samples/3_paradee_coreml_int8.wav filter=lfs diff=lfs merge=lfs -text
39
+ samples/4_paradee_coreml_int8.wav filter=lfs diff=lfs merge=lfs -text
40
+ samples/5_paradee_coreml_int8.wav filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sahilmahendrakar/Paradee-8M-v1.0
3
+ language:
4
+ - en
5
+ library_name: coreml
6
+ license: apache-2.0
7
+ pipeline_tag: text-to-speech
8
+ tags:
9
+ - text-to-speech
10
+ - tts
11
+ - coreml
12
+ - kokoro
13
+ - distillation
14
+ - apple-silicon
15
+ ---
16
+
17
+ # Paradee-8M Core ML
18
+
19
+ Core ML conversion of [Paradee-8M v1.0](https://huggingface.co/sahilmahendrakar/Paradee-8M-v1.0) by Sahil Mahendrakar:
20
+ Kokoro-82M distilled into an 8.07M-parameter, single-voice (`af_heart`) English TTS model, 24 kHz.
21
+ Paper: [arXiv 2610.06817](https://arxiv.org/abs/2610.06817).
22
+
23
+ Runs **~150× real time on the CPU of an M5 Pro** (93 s of audio in 0.62 s, text side + acoustic side), against 20×
24
+ for the upstream fp32 ONNX on one onnxruntime thread. The int8 build has a **12 MB weight footprint**.
25
+
26
+ Used by [FluidAudio](https://github.com/FluidInference/FluidAudio) (`ParadeeManager`).
27
+
28
+ ## Files
29
+
30
+ | Path | What |
31
+ |---|---|
32
+ | `int8/` | Default. `ParadeeText.mlmodelc` (3.1 MB) + `ParadeeAcoustic.mlmodelc` (9.1 MB), int8 per-channel weights; the phase-lock filter's DFT bases stay fp32 |
33
+ | `fp32/` | Same graphs in fp32 (12 + 22 MB). Matches PyTorch to rounding |
34
+ | `*/vocab.json` | Phoneme → id map (identical to Kokoro's) |
35
+ | `mlpackage/` | Source `.mlpackage`s for both variants |
36
+ | `config.json` | Vocab, sample rate, shape limits |
37
+ | `samples/` | The model card's five held-out sentences, rendered by `int8/` |
38
+
39
+ ## Pipeline
40
+
41
+ ```
42
+ text -> misaki-style en-US phonemes -> ids = [0, ...vocab ids..., 0] (<= 512 total)
43
+ ParadeeText input_ids [1,T] int32 -> duration [1,T], d [1,224,T], asr_tok [1,512,T]
44
+ host n_i = max(1, round(duration_i / speed)); F = sum(n)
45
+ en = d with column i repeated n_i times [1,224,F]
46
+ asr = asr_tok with column i repeated n_i times [1,512,F]
47
+ noise ~ N(0,1) [1,1,600F]
48
+ ParadeeAcoustic en, asr, noise -> audio [1,600F] float32, 24 kHz
49
+ ```
50
+
51
+ - `F` may be 1…4000 (100 s at speed 1). Split longer input into chunks of ≤ 510 phonemes.
52
+ - `noise` is the harmonic source's Gaussian noise, passed in so the graph is deterministic. It is equivalent to the
53
+ upstream in-graph noise (9 per-harmonic channels mixed by a linear layer = one scaled channel).
54
+ - Phonemes must be written the way [misaki](https://github.com/hexgrad/misaki) writes them (Kokoro's G2P); that is
55
+ all Paradee saw in training.
56
+ - Use `CPU_ONLY` or `CPU_AND_NE`. **Do not use `ALL` / `CPU_AND_GPU`**: the LSTMs abort in MPSGraph
57
+ (`GPURNNOps … JIT not supported`), the same failure Kokoro's prosody stage has.
58
+
59
+ ## Accuracy (M5 Pro, macOS 27)
60
+
61
+ 10 inputs: the README quick-start line, the five held-out sentences, a numbers/abbreviation sentence, a 28.6 s
62
+ paragraph, and one sentence at speed 0.8 and 1.3.
63
+
64
+ - fp32 vs PyTorch with the same noise: 0 duration rounding differences, identical lengths. Log-mel L1 against the
65
+ upstream ONNX equals the ONNX's own run-to-run difference in every case (e.g. 0.123 vs 0.123).
66
+ - Whisper large-v3-turbo transcripts of Core ML fp32 and upstream ONNX fp32 are identical (WER 3.81 %; every miss is
67
+ text normalization: "Ia", "favourite", "Zzyzx").
68
+ - int8: log-mel L1 to fp32 ONNX 0.18–0.20 vs 0.21–0.31 for upstream `paradee_int8.onnx`; WER 3.81 % vs 2.97 %
69
+ (one word of ~236).
70
+
71
+ Conversion notes: the 1024-point phase-lock STFT is a gather + matmul + overlap-add instead of strided convolutions
72
+ (the conv form ran ~40× slower on the Core ML CPU), and kokoro's random harmonic start phases are omitted because the
73
+ upstream graph never reads them.
74
+
75
+ ## License
76
+
77
+ Apache-2.0, same as Paradee and Kokoro-82M. Paradee © Sahil Mahendrakar.
78
+
79
+ ```bibtex
80
+ @misc{mahendrakar2026paradee,
81
+ title = {Paradee: Distilling Kokoro-82M into an 8M-Parameter Single-Voice Text-to-Speech Model},
82
+ author = {Mahendrakar, Sahil},
83
+ year = {2026},
84
+ url = {https://huggingface.co/sahilmahendrakar/Paradee-8M-v1.0}
85
+ }
86
+ ```
config.json ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_model": "sahilmahendrakar/Paradee-8M-v1.0",
3
+ "format": "coreml",
4
+ "model_type": "paradee",
5
+ "sample_rate": 24000,
6
+ "n_token": 178,
7
+ "max_phonemes": 510,
8
+ "samples_per_frame": 600,
9
+ "max_frames": 4000,
10
+ "default_variant": "int8",
11
+ "variants": [
12
+ "int8",
13
+ "fp32"
14
+ ],
15
+ "vocab": {
16
+ ";": 1,
17
+ ":": 2,
18
+ ",": 3,
19
+ ".": 4,
20
+ "!": 5,
21
+ "?": 6,
22
+ "—": 9,
23
+ "…": 10,
24
+ "\"": 11,
25
+ "(": 12,
26
+ ")": 13,
27
+ "“": 14,
28
+ "”": 15,
29
+ " ": 16,
30
+ "̃": 17,
31
+ "ʣ": 18,
32
+ "ʥ": 19,
33
+ "ʦ": 20,
34
+ "ʨ": 21,
35
+ "ᵝ": 22,
36
+ "ꭧ": 23,
37
+ "A": 24,
38
+ "I": 25,
39
+ "O": 31,
40
+ "Q": 33,
41
+ "S": 35,
42
+ "T": 36,
43
+ "W": 39,
44
+ "Y": 41,
45
+ "ᵊ": 42,
46
+ "a": 43,
47
+ "b": 44,
48
+ "c": 45,
49
+ "d": 46,
50
+ "e": 47,
51
+ "f": 48,
52
+ "h": 50,
53
+ "i": 51,
54
+ "j": 52,
55
+ "k": 53,
56
+ "l": 54,
57
+ "m": 55,
58
+ "n": 56,
59
+ "o": 57,
60
+ "p": 58,
61
+ "q": 59,
62
+ "r": 60,
63
+ "s": 61,
64
+ "t": 62,
65
+ "u": 63,
66
+ "v": 64,
67
+ "w": 65,
68
+ "x": 66,
69
+ "y": 67,
70
+ "z": 68,
71
+ "ɑ": 69,
72
+ "ɐ": 70,
73
+ "ɒ": 71,
74
+ "æ": 72,
75
+ "β": 75,
76
+ "ɔ": 76,
77
+ "ɕ": 77,
78
+ "ç": 78,
79
+ "ɖ": 80,
80
+ "ð": 81,
81
+ "ʤ": 82,
82
+ "ə": 83,
83
+ "ɚ": 85,
84
+ "ɛ": 86,
85
+ "ɜ": 87,
86
+ "ɟ": 90,
87
+ "ɡ": 92,
88
+ "ɥ": 99,
89
+ "ɨ": 101,
90
+ "ɪ": 102,
91
+ "ʝ": 103,
92
+ "ɯ": 110,
93
+ "ɰ": 111,
94
+ "ŋ": 112,
95
+ "ɳ": 113,
96
+ "ɲ": 114,
97
+ "ɴ": 115,
98
+ "ø": 116,
99
+ "ɸ": 118,
100
+ "θ": 119,
101
+ "œ": 120,
102
+ "ɹ": 123,
103
+ "ɾ": 125,
104
+ "ɻ": 126,
105
+ "ʁ": 128,
106
+ "ɽ": 129,
107
+ "ʂ": 130,
108
+ "ʃ": 131,
109
+ "ʈ": 132,
110
+ "ʧ": 133,
111
+ "ʊ": 135,
112
+ "ʋ": 136,
113
+ "ʌ": 138,
114
+ "ɣ": 139,
115
+ "ɤ": 140,
116
+ "χ": 142,
117
+ "ʎ": 143,
118
+ "ʒ": 147,
119
+ "ʔ": 148,
120
+ "ˈ": 156,
121
+ "ˌ": 157,
122
+ "ː": 158,
123
+ "ʰ": 162,
124
+ "ʲ": 164,
125
+ "↓": 169,
126
+ "→": 171,
127
+ "↗": 172,
128
+ "↘": 173,
129
+ "ᵻ": 177
130
+ }
131
+ }
fp32/ParadeeAcoustic.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c954ed240ee6aea1844c5d7bda8405b0856aa9c54663a159f8ee7b4f9e0a6db
3
+ size 243
fp32/ParadeeAcoustic.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:445a1c9b70d679b44b305a0518e288a26ac356f017d6c0a6228382ac025d72d1
3
+ size 560
fp32/ParadeeAcoustic.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
fp32/ParadeeAcoustic.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5ddbd3cde24b2026c85c6cb8e7bdb53c80bb398f6b63e26f7cd16df7546b282
3
+ size 23005056
fp32/ParadeeText.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3d8b39b7e4577111ed93b5296205a5e53b600f7e78a07a52872c85349093be6
3
+ size 243
fp32/ParadeeText.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6279264658a74a4985fc0954a1ff2663643045a07a0ada40be83863c8d0edc61
3
+ size 503
fp32/ParadeeText.mlmodelc/model.mil ADDED
@@ -0,0 +1,525 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ program(1.0)
2
+ [buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3600.16.1"}, {"coremlc-version", "3600.25.2"}, {"coremltools-component-torch", "2.7.0"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "9.0"}})]
3
+ {
4
+ func main<ios17>(tensor<int32, [1, ?]> input_ids) [FlexibleShapeInformation = tuple<tuple<tensor<string, []>, dict<tensor<string, []>, tensor<int32, [?]>>>, tuple<tensor<string, []>, dict<tensor<string, []>, list<tensor<int32, [2]>, ?>>>>((("DefaultShapes", {{"input_ids", [1, 45]}}), ("RangeDims", {{"input_ids", [[1, 1], [3, 512]]}})))] {
5
+ tensor<fp32, [256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_bias = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64)))];
6
+ tensor<fp32, [256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_weight = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_weight"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1152)))];
7
+ tensor<fp32, [256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_bias = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2240)))];
8
+ tensor<fp32, [256, 768]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_weight = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_weight"), val = tensor<fp32, [256, 768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3328)))];
9
+ tensor<fp32, [768]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_bias = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_bias"), val = tensor<fp32, [768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(789824)))];
10
+ tensor<fp32, [768, 256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_weight = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_weight"), val = tensor<fp32, [768, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(792960)))];
11
+ tensor<fp32, [256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_bias = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1579456)))];
12
+ tensor<fp32, [256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_weight = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_weight"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1580544)))];
13
+ tensor<fp32, [256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_bias = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1581632)))];
14
+ tensor<fp32, [256, 256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_weight = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_weight"), val = tensor<fp32, [256, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1582720)))];
15
+ tensor<fp32, [256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_bias = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1844928)))];
16
+ tensor<fp32, [256, 256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_weight = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_weight"), val = tensor<fp32, [256, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1846016)))];
17
+ tensor<fp32, [256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_bias = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2108224)))];
18
+ tensor<fp32, [256, 256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_weight = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_weight"), val = tensor<fp32, [256, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2109312)))];
19
+ tensor<fp32, [256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_bias = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2371520)))];
20
+ tensor<fp32, [256, 256]> ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_weight = const()[name = tensor<string, []>("ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_weight"), val = tensor<fp32, [256, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2372608)))];
21
+ tensor<fp32, [256]> ts_bert_encoder_embedding_hidden_mapping_in_bias = const()[name = tensor<string, []>("ts_bert_encoder_embedding_hidden_mapping_in_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2634816)))];
22
+ tensor<fp32, [256, 128]> ts_bert_encoder_embedding_hidden_mapping_in_weight = const()[name = tensor<string, []>("ts_bert_encoder_embedding_hidden_mapping_in_weight"), val = tensor<fp32, [256, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2635904)))];
23
+ tensor<fp32, [128]> ts_bert_embeddings_LayerNorm_bias = const()[name = tensor<string, []>("ts_bert_embeddings_LayerNorm_bias"), val = tensor<fp32, [128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2767040)))];
24
+ tensor<fp32, [128]> ts_bert_embeddings_LayerNorm_weight = const()[name = tensor<string, []>("ts_bert_embeddings_LayerNorm_weight"), val = tensor<fp32, [128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2767616)))];
25
+ tensor<fp32, [2, 128]> ts_bert_embeddings_token_type_embeddings_weight = const()[name = tensor<string, []>("ts_bert_embeddings_token_type_embeddings_weight"), val = tensor<fp32, [2, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2768192)))];
26
+ tensor<fp32, [512, 128]> ts_bert_embeddings_position_embeddings_weight = const()[name = tensor<string, []>("ts_bert_embeddings_position_embeddings_weight"), val = tensor<fp32, [512, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2769280)))];
27
+ tensor<fp32, [178, 128]> ts_bert_embeddings_word_embeddings_weight = const()[name = tensor<string, []>("ts_bert_embeddings_word_embeddings_weight"), val = tensor<fp32, [178, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3031488)))];
28
+ tensor<fp32, [192]> ts_bert_encoder_bias = const()[name = tensor<string, []>("ts_bert_encoder_bias"), val = tensor<fp32, [192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3122688)))];
29
+ tensor<fp32, [192, 256]> ts_bert_encoder_weight = const()[name = tensor<string, []>("ts_bert_encoder_weight"), val = tensor<fp32, [192, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3123520)))];
30
+ tensor<fp32, [50]> ts_predictor_duration_proj_linear_layer_bias = const()[name = tensor<string, []>("ts_predictor_duration_proj_linear_layer_bias"), val = tensor<fp32, [50]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3320192)))];
31
+ tensor<fp32, [50, 192]> ts_predictor_duration_proj_linear_layer_weight = const()[name = tensor<string, []>("ts_predictor_duration_proj_linear_layer_weight"), val = tensor<fp32, [50, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3320512)))];
32
+ tensor<fp32, [178, 192]> ts_text_encoder_embedding_weight = const()[name = tensor<string, []>("ts_text_encoder_embedding_weight"), val = tensor<fp32, [178, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3358976)))];
33
+ tensor<fp32, [192]> ts_text_encoder_cnn_0_0_bias = const()[name = tensor<string, []>("ts_text_encoder_cnn_0_0_bias"), val = tensor<fp32, [192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3495744)))];
34
+ tensor<fp32, [192, 192, 5]> ts_text_encoder_cnn_0_0_weight = const()[name = tensor<string, []>("ts_text_encoder_cnn_0_0_weight"), val = tensor<fp32, [192, 192, 5]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3496576)))];
35
+ tensor<fp32, [192]> ts_text_encoder_cnn_0_1_beta = const()[name = tensor<string, []>("ts_text_encoder_cnn_0_1_beta"), val = tensor<fp32, [192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4233920)))];
36
+ tensor<fp32, [192]> ts_text_encoder_cnn_0_1_gamma = const()[name = tensor<string, []>("ts_text_encoder_cnn_0_1_gamma"), val = tensor<fp32, [192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4234752)))];
37
+ tensor<fp32, [192]> ts_text_encoder_cnn_1_0_bias = const()[name = tensor<string, []>("ts_text_encoder_cnn_1_0_bias"), val = tensor<fp32, [192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4235584)))];
38
+ tensor<fp32, [192, 192, 5]> ts_text_encoder_cnn_1_0_weight = const()[name = tensor<string, []>("ts_text_encoder_cnn_1_0_weight"), val = tensor<fp32, [192, 192, 5]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4236416)))];
39
+ tensor<fp32, [192]> ts_text_encoder_cnn_1_1_beta = const()[name = tensor<string, []>("ts_text_encoder_cnn_1_1_beta"), val = tensor<fp32, [192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4973760)))];
40
+ tensor<fp32, [192]> ts_text_encoder_cnn_1_1_gamma = const()[name = tensor<string, []>("ts_text_encoder_cnn_1_1_gamma"), val = tensor<fp32, [192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4974592)))];
41
+ tensor<fp32, [192]> ts_text_encoder_cnn_2_0_bias = const()[name = tensor<string, []>("ts_text_encoder_cnn_2_0_bias"), val = tensor<fp32, [192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4975424)))];
42
+ tensor<fp32, [192, 192, 5]> ts_text_encoder_cnn_2_0_weight = const()[name = tensor<string, []>("ts_text_encoder_cnn_2_0_weight"), val = tensor<fp32, [192, 192, 5]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4976256)))];
43
+ tensor<fp32, [192]> ts_text_encoder_cnn_2_1_beta = const()[name = tensor<string, []>("ts_text_encoder_cnn_2_1_beta"), val = tensor<fp32, [192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5713600)))];
44
+ tensor<fp32, [192]> ts_text_encoder_cnn_2_1_gamma = const()[name = tensor<string, []>("ts_text_encoder_cnn_2_1_gamma"), val = tensor<fp32, [192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5714432)))];
45
+ tensor<fp32, [512]> ts_asr_proj_0_bias = const()[name = tensor<string, []>("ts_asr_proj_0_bias"), val = tensor<fp32, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5715264)))];
46
+ tensor<fp32, [512, 192]> ts_asr_proj_0_weight = const()[name = tensor<string, []>("ts_asr_proj_0_weight"), val = tensor<fp32, [512, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5717376)))];
47
+ tensor<fp32, [512]> ts_asr_proj_2_bias = const()[name = tensor<string, []>("ts_asr_proj_2_bias"), val = tensor<fp32, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6110656)))];
48
+ tensor<fp32, [512, 512]> ts_asr_proj_2_weight = const()[name = tensor<string, []>("ts_asr_proj_2_weight"), val = tensor<fp32, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6112768)))];
49
+ tensor<fp32, []> var_258 = const()[name = tensor<string, []>("op_258"), val = tensor<fp32, []>(0x1.197998p-40)];
50
+ tensor<int32, []> var_260 = const()[name = tensor<string, []>("op_260"), val = tensor<int32, []>(-1)];
51
+ tensor<int32, [2]> var_266_shape = shape(x = input_ids)[name = tensor<string, []>("op_266_shape")];
52
+ tensor<int32, []> gather_0_batch_dims_0 = const()[name = tensor<string, []>("gather_0_batch_dims_0"), val = tensor<int32, []>(0)];
53
+ tensor<bool, []> gather_0_validate_indices_0 = const()[name = tensor<string, []>("gather_0_validate_indices_0"), val = tensor<bool, []>(false)];
54
+ tensor<int32, []> select_1 = const()[name = tensor<string, []>("select_1"), val = tensor<int32, []>(1)];
55
+ tensor<int32, []> gather_0_axis_1 = const()[name = tensor<string, []>("gather_0_axis_1"), val = tensor<int32, []>(0)];
56
+ tensor<int32, []> gather_0 = gather(axis = gather_0_axis_1, batch_dims = gather_0_batch_dims_0, indices = select_1, validate_indices = gather_0_validate_indices_0, x = var_266_shape)[name = tensor<string, []>("gather_0")];
57
+ tensor<int32, []> const_0 = const()[name = tensor<string, []>("const_0"), val = tensor<int32, []>(0)];
58
+ tensor<int32, []> const_1 = const()[name = tensor<string, []>("const_1"), val = tensor<int32, []>(1)];
59
+ tensor<int32, [?]> var_267 = range_1d(end = gather_0, start = const_0, step = const_1)[name = tensor<string, []>("op_267")];
60
+ tensor<int32, [1]> input_1_axes_0 = const()[name = tensor<string, []>("input_1_axes_0"), val = tensor<int32, [1]>([0])];
61
+ tensor<int32, [1, ?]> input_1 = expand_dims(axes = input_1_axes_0, x = var_267)[name = tensor<string, []>("input_1")];
62
+ tensor<int32, []> var_269_batch_dims_0 = const()[name = tensor<string, []>("op_269_batch_dims_0"), val = tensor<int32, []>(0)];
63
+ tensor<bool, []> var_269_validate_indices_0 = const()[name = tensor<string, []>("op_269_validate_indices_0"), val = tensor<bool, []>(false)];
64
+ tensor<int32, []> greater_equal_1_y_0 = const()[name = tensor<string, []>("greater_equal_1_y_0"), val = tensor<int32, []>(0)];
65
+ tensor<bool, [1, ?]> greater_equal_1 = greater_equal(x = input_ids, y = greater_equal_1_y_0)[name = tensor<string, []>("greater_equal_1")];
66
+ tensor<int32, []> slice_by_index_1 = const()[name = tensor<string, []>("slice_by_index_1"), val = tensor<int32, []>(178)];
67
+ tensor<int32, [1, ?]> add_11 = add(x = input_ids, y = slice_by_index_1)[name = tensor<string, []>("add_11")];
68
+ tensor<int32, [1, ?]> select_2 = select(a = input_ids, b = add_11, cond = greater_equal_1)[name = tensor<string, []>("select_2")];
69
+ tensor<int32, []> var_269_axis_1 = const()[name = tensor<string, []>("op_269_axis_1"), val = tensor<int32, []>(0)];
70
+ tensor<fp32, [1, ?, 128]> var_269 = gather(axis = var_269_axis_1, batch_dims = var_269_batch_dims_0, indices = select_2, validate_indices = var_269_validate_indices_0, x = ts_bert_embeddings_word_embeddings_weight)[name = tensor<string, []>("op_269")];
71
+ tensor<int32, []> var_270_batch_dims_0 = const()[name = tensor<string, []>("op_270_batch_dims_0"), val = tensor<int32, []>(0)];
72
+ tensor<bool, []> var_270_validate_indices_0 = const()[name = tensor<string, []>("op_270_validate_indices_0"), val = tensor<bool, []>(false)];
73
+ tensor<int32, []> greater_equal_2_y_0 = const()[name = tensor<string, []>("greater_equal_2_y_0"), val = tensor<int32, []>(0)];
74
+ tensor<bool, [1, ?]> greater_equal_2 = greater_equal(x = input_1, y = greater_equal_2_y_0)[name = tensor<string, []>("greater_equal_2")];
75
+ tensor<int32, []> slice_by_index_2 = const()[name = tensor<string, []>("slice_by_index_2"), val = tensor<int32, []>(512)];
76
+ tensor<int32, [1, ?]> add_12 = add(x = input_1, y = slice_by_index_2)[name = tensor<string, []>("add_12")];
77
+ tensor<int32, [1, ?]> select_3 = select(a = input_1, b = add_12, cond = greater_equal_2)[name = tensor<string, []>("select_3")];
78
+ tensor<int32, []> var_270_axis_1 = const()[name = tensor<string, []>("op_270_axis_1"), val = tensor<int32, []>(0)];
79
+ tensor<fp32, [1, ?, 128]> var_270 = gather(axis = var_270_axis_1, batch_dims = var_270_batch_dims_0, indices = select_3, validate_indices = var_270_validate_indices_0, x = ts_bert_embeddings_position_embeddings_weight)[name = tensor<string, []>("op_270")];
80
+ tensor<fp32, [1, ?, 128]> var_271 = add(x = var_269, y = var_270)[name = tensor<string, []>("op_271")];
81
+ tensor<int32, [1, ?]> input_3 = sub(x = input_ids, y = input_ids)[name = tensor<string, []>("sub_0")];
82
+ tensor<int32, []> var_273_batch_dims_0 = const()[name = tensor<string, []>("op_273_batch_dims_0"), val = tensor<int32, []>(0)];
83
+ tensor<bool, []> var_273_validate_indices_0 = const()[name = tensor<string, []>("op_273_validate_indices_0"), val = tensor<bool, []>(false)];
84
+ tensor<int32, []> greater_equal_3_y_0 = const()[name = tensor<string, []>("greater_equal_3_y_0"), val = tensor<int32, []>(0)];
85
+ tensor<bool, [1, ?]> greater_equal_3 = greater_equal(x = input_3, y = greater_equal_3_y_0)[name = tensor<string, []>("greater_equal_3")];
86
+ tensor<int32, []> slice_by_index_3 = const()[name = tensor<string, []>("slice_by_index_3"), val = tensor<int32, []>(2)];
87
+ tensor<int32, [1, ?]> add_13 = add(x = input_3, y = slice_by_index_3)[name = tensor<string, []>("add_13")];
88
+ tensor<int32, [1, ?]> select_4 = select(a = input_3, b = add_13, cond = greater_equal_3)[name = tensor<string, []>("select_4")];
89
+ tensor<int32, []> var_273_axis_1 = const()[name = tensor<string, []>("op_273_axis_1"), val = tensor<int32, []>(0)];
90
+ tensor<fp32, [1, ?, 128]> var_273 = gather(axis = var_273_axis_1, batch_dims = var_273_batch_dims_0, indices = select_4, validate_indices = var_273_validate_indices_0, x = ts_bert_embeddings_token_type_embeddings_weight)[name = tensor<string, []>("op_273")];
91
+ tensor<fp32, [1, ?, 128]> input_5 = add(x = var_271, y = var_273)[name = tensor<string, []>("input_5")];
92
+ tensor<int32, [1]> input_7_axes_0 = const()[name = tensor<string, []>("input_7_axes_0"), val = tensor<int32, [1]>([-1])];
93
+ tensor<fp32, [1, ?, 128]> input_7 = layer_norm(axes = input_7_axes_0, beta = ts_bert_embeddings_LayerNorm_bias, epsilon = var_258, gamma = ts_bert_embeddings_LayerNorm_weight, x = input_5)[name = tensor<string, []>("input_7")];
94
+ tensor<fp32, [1, ?, 256]> input_9 = linear(bias = ts_bert_encoder_embedding_hidden_mapping_in_bias, weight = ts_bert_encoder_embedding_hidden_mapping_in_weight, x = input_7)[name = tensor<string, []>("linear_0")];
95
+ tensor<fp32, [1, ?, 256]> var_278 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_weight, x = input_9)[name = tensor<string, []>("linear_1")];
96
+ tensor<int32, [4]> concat_0x = const()[name = tensor<string, []>("concat_0x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
97
+ tensor<fp32, [1, ?, 4, 64]> var_280 = reshape(shape = concat_0x, x = var_278)[name = tensor<string, []>("op_280")];
98
+ tensor<fp32, [1, ?, 256]> var_282 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_weight, x = input_9)[name = tensor<string, []>("linear_2")];
99
+ tensor<int32, [4]> concat_1x = const()[name = tensor<string, []>("concat_1x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
100
+ tensor<fp32, [1, ?, 4, 64]> var_284 = reshape(shape = concat_1x, x = var_282)[name = tensor<string, []>("op_284")];
101
+ tensor<fp32, [1, ?, 256]> var_286 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_weight, x = input_9)[name = tensor<string, []>("linear_3")];
102
+ tensor<int32, [4]> concat_2x = const()[name = tensor<string, []>("concat_2x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
103
+ tensor<fp32, [1, ?, 4, 64]> var_288 = reshape(shape = concat_2x, x = var_286)[name = tensor<string, []>("op_288")];
104
+ tensor<int32, [4]> v_1_perm_0 = const()[name = tensor<string, []>("v_1_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
105
+ tensor<bool, []> var_291_transpose_x_0 = const()[name = tensor<string, []>("op_291_transpose_x_0"), val = tensor<bool, []>(false)];
106
+ tensor<bool, []> var_291_transpose_y_0 = const()[name = tensor<string, []>("op_291_transpose_y_0"), val = tensor<bool, []>(false)];
107
+ tensor<int32, [4]> transpose_28_perm_0 = const()[name = tensor<string, []>("transpose_28_perm_0"), val = tensor<int32, [4]>([0, 2, -3, -1])];
108
+ tensor<int32, [4]> transpose_29_perm_0 = const()[name = tensor<string, []>("transpose_29_perm_0"), val = tensor<int32, [4]>([0, 2, -1, -3])];
109
+ tensor<fp32, [1, 4, 64, ?]> transpose_29 = transpose(perm = transpose_29_perm_0, x = var_284)[name = tensor<string, []>("transpose_82")];
110
+ tensor<fp32, [1, 4, ?, 64]> transpose_28 = transpose(perm = transpose_28_perm_0, x = var_280)[name = tensor<string, []>("transpose_83")];
111
+ tensor<fp32, [1, 4, ?, ?]> var_291 = matmul(transpose_x = var_291_transpose_x_0, transpose_y = var_291_transpose_y_0, x = transpose_28, y = transpose_29)[name = tensor<string, []>("op_291")];
112
+ tensor<fp32, []> _inversed_input_11_y_0 = const()[name = tensor<string, []>("_inversed_input_11_y_0"), val = tensor<fp32, []>(0x1p-3)];
113
+ tensor<fp32, [1, 4, ?, ?]> _inversed_input_11 = mul(x = var_291, y = _inversed_input_11_y_0)[name = tensor<string, []>("_inversed_input_11")];
114
+ tensor<fp32, [1, 4, ?, ?]> att_1 = softmax(axis = var_260, x = _inversed_input_11)[name = tensor<string, []>("att_1")];
115
+ tensor<bool, []> var_295_transpose_x_0 = const()[name = tensor<string, []>("op_295_transpose_x_0"), val = tensor<bool, []>(false)];
116
+ tensor<bool, []> var_295_transpose_y_0 = const()[name = tensor<string, []>("op_295_transpose_y_0"), val = tensor<bool, []>(false)];
117
+ tensor<fp32, [1, 4, ?, 64]> v_1 = transpose(perm = v_1_perm_0, x = var_288)[name = tensor<string, []>("transpose_84")];
118
+ tensor<fp32, [1, 4, ?, 64]> var_295 = matmul(transpose_x = var_295_transpose_x_0, transpose_y = var_295_transpose_y_0, x = att_1, y = v_1)[name = tensor<string, []>("op_295")];
119
+ tensor<int32, [4]> var_296_perm_0 = const()[name = tensor<string, []>("op_296_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
120
+ tensor<int32, [3]> concat_3x = const()[name = tensor<string, []>("concat_3x"), val = tensor<int32, [3]>([1, -1, 256])];
121
+ tensor<fp32, [1, ?, 4, 64]> var_296 = transpose(perm = var_296_perm_0, x = var_295)[name = tensor<string, []>("transpose_81")];
122
+ tensor<fp32, [1, ?, 256]> input_13 = reshape(shape = concat_3x, x = var_296)[name = tensor<string, []>("input_13")];
123
+ tensor<fp32, [1, ?, 256]> var_299 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_weight, x = input_13)[name = tensor<string, []>("linear_4")];
124
+ tensor<fp32, [1, ?, 256]> input_15 = add(x = var_299, y = input_9)[name = tensor<string, []>("input_15")];
125
+ tensor<int32, [1]> input_17_axes_0 = const()[name = tensor<string, []>("input_17_axes_0"), val = tensor<int32, [1]>([-1])];
126
+ tensor<fp32, [1, ?, 256]> input_17 = layer_norm(axes = input_17_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_weight, x = input_15)[name = tensor<string, []>("input_17")];
127
+ tensor<fp32, [1, ?, 768]> var_303 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_weight, x = input_17)[name = tensor<string, []>("linear_5")];
128
+ tensor<string, []> input_19_mode_0 = const()[name = tensor<string, []>("input_19_mode_0"), val = tensor<string, []>("TANH_APPROXIMATION")];
129
+ tensor<fp32, [1, ?, 768]> input_19 = gelu(mode = input_19_mode_0, x = var_303)[name = tensor<string, []>("input_19")];
130
+ tensor<fp32, [1, ?, 256]> f_1 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_weight, x = input_19)[name = tensor<string, []>("linear_6")];
131
+ tensor<fp32, [1, ?, 256]> input_21 = add(x = f_1, y = input_17)[name = tensor<string, []>("input_21")];
132
+ tensor<int32, [1]> input_23_axes_0 = const()[name = tensor<string, []>("input_23_axes_0"), val = tensor<int32, [1]>([-1])];
133
+ tensor<fp32, [1, ?, 256]> input_23 = layer_norm(axes = input_23_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_weight, x = input_21)[name = tensor<string, []>("input_23")];
134
+ tensor<fp32, [1, ?, 256]> var_309 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_weight, x = input_23)[name = tensor<string, []>("linear_7")];
135
+ tensor<int32, [4]> concat_4x = const()[name = tensor<string, []>("concat_4x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
136
+ tensor<fp32, [1, ?, 4, 64]> var_311 = reshape(shape = concat_4x, x = var_309)[name = tensor<string, []>("op_311")];
137
+ tensor<fp32, [1, ?, 256]> var_313 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_weight, x = input_23)[name = tensor<string, []>("linear_8")];
138
+ tensor<int32, [4]> concat_5x = const()[name = tensor<string, []>("concat_5x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
139
+ tensor<fp32, [1, ?, 4, 64]> var_315 = reshape(shape = concat_5x, x = var_313)[name = tensor<string, []>("op_315")];
140
+ tensor<fp32, [1, ?, 256]> var_317 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_weight, x = input_23)[name = tensor<string, []>("linear_9")];
141
+ tensor<int32, [4]> concat_6x = const()[name = tensor<string, []>("concat_6x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
142
+ tensor<fp32, [1, ?, 4, 64]> var_319 = reshape(shape = concat_6x, x = var_317)[name = tensor<string, []>("op_319")];
143
+ tensor<int32, [4]> v_3_perm_0 = const()[name = tensor<string, []>("v_3_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
144
+ tensor<bool, []> var_322_transpose_x_0 = const()[name = tensor<string, []>("op_322_transpose_x_0"), val = tensor<bool, []>(false)];
145
+ tensor<bool, []> var_322_transpose_y_0 = const()[name = tensor<string, []>("op_322_transpose_y_0"), val = tensor<bool, []>(false)];
146
+ tensor<int32, [4]> transpose_30_perm_0 = const()[name = tensor<string, []>("transpose_30_perm_0"), val = tensor<int32, [4]>([0, 2, -3, -1])];
147
+ tensor<int32, [4]> transpose_31_perm_0 = const()[name = tensor<string, []>("transpose_31_perm_0"), val = tensor<int32, [4]>([0, 2, -1, -3])];
148
+ tensor<fp32, [1, 4, 64, ?]> transpose_31 = transpose(perm = transpose_31_perm_0, x = var_315)[name = tensor<string, []>("transpose_78")];
149
+ tensor<fp32, [1, 4, ?, 64]> transpose_30 = transpose(perm = transpose_30_perm_0, x = var_311)[name = tensor<string, []>("transpose_79")];
150
+ tensor<fp32, [1, 4, ?, ?]> var_322 = matmul(transpose_x = var_322_transpose_x_0, transpose_y = var_322_transpose_y_0, x = transpose_30, y = transpose_31)[name = tensor<string, []>("op_322")];
151
+ tensor<fp32, []> _inversed_input_25_y_0 = const()[name = tensor<string, []>("_inversed_input_25_y_0"), val = tensor<fp32, []>(0x1p-3)];
152
+ tensor<fp32, [1, 4, ?, ?]> _inversed_input_25 = mul(x = var_322, y = _inversed_input_25_y_0)[name = tensor<string, []>("_inversed_input_25")];
153
+ tensor<fp32, [1, 4, ?, ?]> att_3 = softmax(axis = var_260, x = _inversed_input_25)[name = tensor<string, []>("att_3")];
154
+ tensor<bool, []> var_326_transpose_x_0 = const()[name = tensor<string, []>("op_326_transpose_x_0"), val = tensor<bool, []>(false)];
155
+ tensor<bool, []> var_326_transpose_y_0 = const()[name = tensor<string, []>("op_326_transpose_y_0"), val = tensor<bool, []>(false)];
156
+ tensor<fp32, [1, 4, ?, 64]> v_3 = transpose(perm = v_3_perm_0, x = var_319)[name = tensor<string, []>("transpose_80")];
157
+ tensor<fp32, [1, 4, ?, 64]> var_326 = matmul(transpose_x = var_326_transpose_x_0, transpose_y = var_326_transpose_y_0, x = att_3, y = v_3)[name = tensor<string, []>("op_326")];
158
+ tensor<int32, [4]> var_327_perm_0 = const()[name = tensor<string, []>("op_327_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
159
+ tensor<int32, [3]> concat_7x = const()[name = tensor<string, []>("concat_7x"), val = tensor<int32, [3]>([1, -1, 256])];
160
+ tensor<fp32, [1, ?, 4, 64]> var_327 = transpose(perm = var_327_perm_0, x = var_326)[name = tensor<string, []>("transpose_77")];
161
+ tensor<fp32, [1, ?, 256]> input_27 = reshape(shape = concat_7x, x = var_327)[name = tensor<string, []>("input_27")];
162
+ tensor<fp32, [1, ?, 256]> var_330 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_weight, x = input_27)[name = tensor<string, []>("linear_10")];
163
+ tensor<fp32, [1, ?, 256]> input_29 = add(x = var_330, y = input_23)[name = tensor<string, []>("input_29")];
164
+ tensor<int32, [1]> input_31_axes_0 = const()[name = tensor<string, []>("input_31_axes_0"), val = tensor<int32, [1]>([-1])];
165
+ tensor<fp32, [1, ?, 256]> input_31 = layer_norm(axes = input_31_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_weight, x = input_29)[name = tensor<string, []>("input_31")];
166
+ tensor<fp32, [1, ?, 768]> var_334 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_weight, x = input_31)[name = tensor<string, []>("linear_11")];
167
+ tensor<string, []> input_33_mode_0 = const()[name = tensor<string, []>("input_33_mode_0"), val = tensor<string, []>("TANH_APPROXIMATION")];
168
+ tensor<fp32, [1, ?, 768]> input_33 = gelu(mode = input_33_mode_0, x = var_334)[name = tensor<string, []>("input_33")];
169
+ tensor<fp32, [1, ?, 256]> f_3 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_weight, x = input_33)[name = tensor<string, []>("linear_12")];
170
+ tensor<fp32, [1, ?, 256]> input_35 = add(x = f_3, y = input_31)[name = tensor<string, []>("input_35")];
171
+ tensor<int32, [1]> input_37_axes_0 = const()[name = tensor<string, []>("input_37_axes_0"), val = tensor<int32, [1]>([-1])];
172
+ tensor<fp32, [1, ?, 256]> input_37 = layer_norm(axes = input_37_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_weight, x = input_35)[name = tensor<string, []>("input_37")];
173
+ tensor<fp32, [1, ?, 256]> var_340 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_weight, x = input_37)[name = tensor<string, []>("linear_13")];
174
+ tensor<int32, [4]> concat_8x = const()[name = tensor<string, []>("concat_8x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
175
+ tensor<fp32, [1, ?, 4, 64]> var_342 = reshape(shape = concat_8x, x = var_340)[name = tensor<string, []>("op_342")];
176
+ tensor<fp32, [1, ?, 256]> var_344 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_weight, x = input_37)[name = tensor<string, []>("linear_14")];
177
+ tensor<int32, [4]> concat_9x = const()[name = tensor<string, []>("concat_9x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
178
+ tensor<fp32, [1, ?, 4, 64]> var_346 = reshape(shape = concat_9x, x = var_344)[name = tensor<string, []>("op_346")];
179
+ tensor<fp32, [1, ?, 256]> var_348 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_weight, x = input_37)[name = tensor<string, []>("linear_15")];
180
+ tensor<int32, [4]> concat_10x = const()[name = tensor<string, []>("concat_10x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
181
+ tensor<fp32, [1, ?, 4, 64]> var_350 = reshape(shape = concat_10x, x = var_348)[name = tensor<string, []>("op_350")];
182
+ tensor<int32, [4]> v_5_perm_0 = const()[name = tensor<string, []>("v_5_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
183
+ tensor<bool, []> var_353_transpose_x_0 = const()[name = tensor<string, []>("op_353_transpose_x_0"), val = tensor<bool, []>(false)];
184
+ tensor<bool, []> var_353_transpose_y_0 = const()[name = tensor<string, []>("op_353_transpose_y_0"), val = tensor<bool, []>(false)];
185
+ tensor<int32, [4]> transpose_32_perm_0 = const()[name = tensor<string, []>("transpose_32_perm_0"), val = tensor<int32, [4]>([0, 2, -3, -1])];
186
+ tensor<int32, [4]> transpose_33_perm_0 = const()[name = tensor<string, []>("transpose_33_perm_0"), val = tensor<int32, [4]>([0, 2, -1, -3])];
187
+ tensor<fp32, [1, 4, 64, ?]> transpose_33 = transpose(perm = transpose_33_perm_0, x = var_346)[name = tensor<string, []>("transpose_74")];
188
+ tensor<fp32, [1, 4, ?, 64]> transpose_32 = transpose(perm = transpose_32_perm_0, x = var_342)[name = tensor<string, []>("transpose_75")];
189
+ tensor<fp32, [1, 4, ?, ?]> var_353 = matmul(transpose_x = var_353_transpose_x_0, transpose_y = var_353_transpose_y_0, x = transpose_32, y = transpose_33)[name = tensor<string, []>("op_353")];
190
+ tensor<fp32, []> _inversed_input_39_y_0 = const()[name = tensor<string, []>("_inversed_input_39_y_0"), val = tensor<fp32, []>(0x1p-3)];
191
+ tensor<fp32, [1, 4, ?, ?]> _inversed_input_39 = mul(x = var_353, y = _inversed_input_39_y_0)[name = tensor<string, []>("_inversed_input_39")];
192
+ tensor<fp32, [1, 4, ?, ?]> att_5 = softmax(axis = var_260, x = _inversed_input_39)[name = tensor<string, []>("att_5")];
193
+ tensor<bool, []> var_357_transpose_x_0 = const()[name = tensor<string, []>("op_357_transpose_x_0"), val = tensor<bool, []>(false)];
194
+ tensor<bool, []> var_357_transpose_y_0 = const()[name = tensor<string, []>("op_357_transpose_y_0"), val = tensor<bool, []>(false)];
195
+ tensor<fp32, [1, 4, ?, 64]> v_5 = transpose(perm = v_5_perm_0, x = var_350)[name = tensor<string, []>("transpose_76")];
196
+ tensor<fp32, [1, 4, ?, 64]> var_357 = matmul(transpose_x = var_357_transpose_x_0, transpose_y = var_357_transpose_y_0, x = att_5, y = v_5)[name = tensor<string, []>("op_357")];
197
+ tensor<int32, [4]> var_358_perm_0 = const()[name = tensor<string, []>("op_358_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
198
+ tensor<int32, [3]> concat_11x = const()[name = tensor<string, []>("concat_11x"), val = tensor<int32, [3]>([1, -1, 256])];
199
+ tensor<fp32, [1, ?, 4, 64]> var_358 = transpose(perm = var_358_perm_0, x = var_357)[name = tensor<string, []>("transpose_73")];
200
+ tensor<fp32, [1, ?, 256]> input_41 = reshape(shape = concat_11x, x = var_358)[name = tensor<string, []>("input_41")];
201
+ tensor<fp32, [1, ?, 256]> var_361 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_weight, x = input_41)[name = tensor<string, []>("linear_16")];
202
+ tensor<fp32, [1, ?, 256]> input_43 = add(x = var_361, y = input_37)[name = tensor<string, []>("input_43")];
203
+ tensor<int32, [1]> input_45_axes_0 = const()[name = tensor<string, []>("input_45_axes_0"), val = tensor<int32, [1]>([-1])];
204
+ tensor<fp32, [1, ?, 256]> input_45 = layer_norm(axes = input_45_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_weight, x = input_43)[name = tensor<string, []>("input_45")];
205
+ tensor<fp32, [1, ?, 768]> var_365 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_weight, x = input_45)[name = tensor<string, []>("linear_17")];
206
+ tensor<string, []> input_47_mode_0 = const()[name = tensor<string, []>("input_47_mode_0"), val = tensor<string, []>("TANH_APPROXIMATION")];
207
+ tensor<fp32, [1, ?, 768]> input_47 = gelu(mode = input_47_mode_0, x = var_365)[name = tensor<string, []>("input_47")];
208
+ tensor<fp32, [1, ?, 256]> f_5 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_weight, x = input_47)[name = tensor<string, []>("linear_18")];
209
+ tensor<fp32, [1, ?, 256]> input_49 = add(x = f_5, y = input_45)[name = tensor<string, []>("input_49")];
210
+ tensor<int32, [1]> input_51_axes_0 = const()[name = tensor<string, []>("input_51_axes_0"), val = tensor<int32, [1]>([-1])];
211
+ tensor<fp32, [1, ?, 256]> input_51 = layer_norm(axes = input_51_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_weight, x = input_49)[name = tensor<string, []>("input_51")];
212
+ tensor<fp32, [1, ?, 256]> var_371 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_weight, x = input_51)[name = tensor<string, []>("linear_19")];
213
+ tensor<int32, [4]> concat_12x = const()[name = tensor<string, []>("concat_12x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
214
+ tensor<fp32, [1, ?, 4, 64]> var_373 = reshape(shape = concat_12x, x = var_371)[name = tensor<string, []>("op_373")];
215
+ tensor<fp32, [1, ?, 256]> var_375 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_weight, x = input_51)[name = tensor<string, []>("linear_20")];
216
+ tensor<int32, [4]> concat_13x = const()[name = tensor<string, []>("concat_13x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
217
+ tensor<fp32, [1, ?, 4, 64]> var_377 = reshape(shape = concat_13x, x = var_375)[name = tensor<string, []>("op_377")];
218
+ tensor<fp32, [1, ?, 256]> var_379 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_weight, x = input_51)[name = tensor<string, []>("linear_21")];
219
+ tensor<int32, [4]> concat_14x = const()[name = tensor<string, []>("concat_14x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
220
+ tensor<fp32, [1, ?, 4, 64]> var_381 = reshape(shape = concat_14x, x = var_379)[name = tensor<string, []>("op_381")];
221
+ tensor<int32, [4]> v_7_perm_0 = const()[name = tensor<string, []>("v_7_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
222
+ tensor<bool, []> var_384_transpose_x_0 = const()[name = tensor<string, []>("op_384_transpose_x_0"), val = tensor<bool, []>(false)];
223
+ tensor<bool, []> var_384_transpose_y_0 = const()[name = tensor<string, []>("op_384_transpose_y_0"), val = tensor<bool, []>(false)];
224
+ tensor<int32, [4]> transpose_34_perm_0 = const()[name = tensor<string, []>("transpose_34_perm_0"), val = tensor<int32, [4]>([0, 2, -3, -1])];
225
+ tensor<int32, [4]> transpose_35_perm_0 = const()[name = tensor<string, []>("transpose_35_perm_0"), val = tensor<int32, [4]>([0, 2, -1, -3])];
226
+ tensor<fp32, [1, 4, 64, ?]> transpose_35 = transpose(perm = transpose_35_perm_0, x = var_377)[name = tensor<string, []>("transpose_70")];
227
+ tensor<fp32, [1, 4, ?, 64]> transpose_34 = transpose(perm = transpose_34_perm_0, x = var_373)[name = tensor<string, []>("transpose_71")];
228
+ tensor<fp32, [1, 4, ?, ?]> var_384 = matmul(transpose_x = var_384_transpose_x_0, transpose_y = var_384_transpose_y_0, x = transpose_34, y = transpose_35)[name = tensor<string, []>("op_384")];
229
+ tensor<fp32, []> _inversed_input_53_y_0 = const()[name = tensor<string, []>("_inversed_input_53_y_0"), val = tensor<fp32, []>(0x1p-3)];
230
+ tensor<fp32, [1, 4, ?, ?]> _inversed_input_53 = mul(x = var_384, y = _inversed_input_53_y_0)[name = tensor<string, []>("_inversed_input_53")];
231
+ tensor<fp32, [1, 4, ?, ?]> att_7 = softmax(axis = var_260, x = _inversed_input_53)[name = tensor<string, []>("att_7")];
232
+ tensor<bool, []> var_388_transpose_x_0 = const()[name = tensor<string, []>("op_388_transpose_x_0"), val = tensor<bool, []>(false)];
233
+ tensor<bool, []> var_388_transpose_y_0 = const()[name = tensor<string, []>("op_388_transpose_y_0"), val = tensor<bool, []>(false)];
234
+ tensor<fp32, [1, 4, ?, 64]> v_7 = transpose(perm = v_7_perm_0, x = var_381)[name = tensor<string, []>("transpose_72")];
235
+ tensor<fp32, [1, 4, ?, 64]> var_388 = matmul(transpose_x = var_388_transpose_x_0, transpose_y = var_388_transpose_y_0, x = att_7, y = v_7)[name = tensor<string, []>("op_388")];
236
+ tensor<int32, [4]> var_389_perm_0 = const()[name = tensor<string, []>("op_389_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
237
+ tensor<int32, [3]> concat_15x = const()[name = tensor<string, []>("concat_15x"), val = tensor<int32, [3]>([1, -1, 256])];
238
+ tensor<fp32, [1, ?, 4, 64]> var_389 = transpose(perm = var_389_perm_0, x = var_388)[name = tensor<string, []>("transpose_69")];
239
+ tensor<fp32, [1, ?, 256]> input_55 = reshape(shape = concat_15x, x = var_389)[name = tensor<string, []>("input_55")];
240
+ tensor<fp32, [1, ?, 256]> var_392 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_weight, x = input_55)[name = tensor<string, []>("linear_22")];
241
+ tensor<fp32, [1, ?, 256]> input_57 = add(x = var_392, y = input_51)[name = tensor<string, []>("input_57")];
242
+ tensor<int32, [1]> input_59_axes_0 = const()[name = tensor<string, []>("input_59_axes_0"), val = tensor<int32, [1]>([-1])];
243
+ tensor<fp32, [1, ?, 256]> input_59 = layer_norm(axes = input_59_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_weight, x = input_57)[name = tensor<string, []>("input_59")];
244
+ tensor<fp32, [1, ?, 768]> var_396 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_weight, x = input_59)[name = tensor<string, []>("linear_23")];
245
+ tensor<string, []> input_61_mode_0 = const()[name = tensor<string, []>("input_61_mode_0"), val = tensor<string, []>("TANH_APPROXIMATION")];
246
+ tensor<fp32, [1, ?, 768]> input_61 = gelu(mode = input_61_mode_0, x = var_396)[name = tensor<string, []>("input_61")];
247
+ tensor<fp32, [1, ?, 256]> f_7 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_weight, x = input_61)[name = tensor<string, []>("linear_24")];
248
+ tensor<fp32, [1, ?, 256]> input_63 = add(x = f_7, y = input_59)[name = tensor<string, []>("input_63")];
249
+ tensor<int32, [1]> input_65_axes_0 = const()[name = tensor<string, []>("input_65_axes_0"), val = tensor<int32, [1]>([-1])];
250
+ tensor<fp32, [1, ?, 256]> input_65 = layer_norm(axes = input_65_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_weight, x = input_63)[name = tensor<string, []>("input_65")];
251
+ tensor<fp32, [1, ?, 256]> var_402 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_weight, x = input_65)[name = tensor<string, []>("linear_25")];
252
+ tensor<int32, [4]> concat_16x = const()[name = tensor<string, []>("concat_16x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
253
+ tensor<fp32, [1, ?, 4, 64]> var_404 = reshape(shape = concat_16x, x = var_402)[name = tensor<string, []>("op_404")];
254
+ tensor<fp32, [1, ?, 256]> var_406 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_weight, x = input_65)[name = tensor<string, []>("linear_26")];
255
+ tensor<int32, [4]> concat_17x = const()[name = tensor<string, []>("concat_17x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
256
+ tensor<fp32, [1, ?, 4, 64]> var_408 = reshape(shape = concat_17x, x = var_406)[name = tensor<string, []>("op_408")];
257
+ tensor<fp32, [1, ?, 256]> var_410 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_weight, x = input_65)[name = tensor<string, []>("linear_27")];
258
+ tensor<int32, [4]> concat_18x = const()[name = tensor<string, []>("concat_18x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
259
+ tensor<fp32, [1, ?, 4, 64]> var_412 = reshape(shape = concat_18x, x = var_410)[name = tensor<string, []>("op_412")];
260
+ tensor<int32, [4]> v_9_perm_0 = const()[name = tensor<string, []>("v_9_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
261
+ tensor<bool, []> var_415_transpose_x_0 = const()[name = tensor<string, []>("op_415_transpose_x_0"), val = tensor<bool, []>(false)];
262
+ tensor<bool, []> var_415_transpose_y_0 = const()[name = tensor<string, []>("op_415_transpose_y_0"), val = tensor<bool, []>(false)];
263
+ tensor<int32, [4]> transpose_36_perm_0 = const()[name = tensor<string, []>("transpose_36_perm_0"), val = tensor<int32, [4]>([0, 2, -3, -1])];
264
+ tensor<int32, [4]> transpose_37_perm_0 = const()[name = tensor<string, []>("transpose_37_perm_0"), val = tensor<int32, [4]>([0, 2, -1, -3])];
265
+ tensor<fp32, [1, 4, 64, ?]> transpose_37 = transpose(perm = transpose_37_perm_0, x = var_408)[name = tensor<string, []>("transpose_66")];
266
+ tensor<fp32, [1, 4, ?, 64]> transpose_36 = transpose(perm = transpose_36_perm_0, x = var_404)[name = tensor<string, []>("transpose_67")];
267
+ tensor<fp32, [1, 4, ?, ?]> var_415 = matmul(transpose_x = var_415_transpose_x_0, transpose_y = var_415_transpose_y_0, x = transpose_36, y = transpose_37)[name = tensor<string, []>("op_415")];
268
+ tensor<fp32, []> _inversed_input_67_y_0 = const()[name = tensor<string, []>("_inversed_input_67_y_0"), val = tensor<fp32, []>(0x1p-3)];
269
+ tensor<fp32, [1, 4, ?, ?]> _inversed_input_67 = mul(x = var_415, y = _inversed_input_67_y_0)[name = tensor<string, []>("_inversed_input_67")];
270
+ tensor<fp32, [1, 4, ?, ?]> att_9 = softmax(axis = var_260, x = _inversed_input_67)[name = tensor<string, []>("att_9")];
271
+ tensor<bool, []> var_419_transpose_x_0 = const()[name = tensor<string, []>("op_419_transpose_x_0"), val = tensor<bool, []>(false)];
272
+ tensor<bool, []> var_419_transpose_y_0 = const()[name = tensor<string, []>("op_419_transpose_y_0"), val = tensor<bool, []>(false)];
273
+ tensor<fp32, [1, 4, ?, 64]> v_9 = transpose(perm = v_9_perm_0, x = var_412)[name = tensor<string, []>("transpose_68")];
274
+ tensor<fp32, [1, 4, ?, 64]> var_419 = matmul(transpose_x = var_419_transpose_x_0, transpose_y = var_419_transpose_y_0, x = att_9, y = v_9)[name = tensor<string, []>("op_419")];
275
+ tensor<int32, [4]> var_420_perm_0 = const()[name = tensor<string, []>("op_420_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
276
+ tensor<int32, [3]> concat_19x = const()[name = tensor<string, []>("concat_19x"), val = tensor<int32, [3]>([1, -1, 256])];
277
+ tensor<fp32, [1, ?, 4, 64]> var_420 = transpose(perm = var_420_perm_0, x = var_419)[name = tensor<string, []>("transpose_65")];
278
+ tensor<fp32, [1, ?, 256]> input_69 = reshape(shape = concat_19x, x = var_420)[name = tensor<string, []>("input_69")];
279
+ tensor<fp32, [1, ?, 256]> var_423 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_weight, x = input_69)[name = tensor<string, []>("linear_28")];
280
+ tensor<fp32, [1, ?, 256]> input_71 = add(x = var_423, y = input_65)[name = tensor<string, []>("input_71")];
281
+ tensor<int32, [1]> input_73_axes_0 = const()[name = tensor<string, []>("input_73_axes_0"), val = tensor<int32, [1]>([-1])];
282
+ tensor<fp32, [1, ?, 256]> input_73 = layer_norm(axes = input_73_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_weight, x = input_71)[name = tensor<string, []>("input_73")];
283
+ tensor<fp32, [1, ?, 768]> var_427 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_weight, x = input_73)[name = tensor<string, []>("linear_29")];
284
+ tensor<string, []> input_75_mode_0 = const()[name = tensor<string, []>("input_75_mode_0"), val = tensor<string, []>("TANH_APPROXIMATION")];
285
+ tensor<fp32, [1, ?, 768]> input_75 = gelu(mode = input_75_mode_0, x = var_427)[name = tensor<string, []>("input_75")];
286
+ tensor<fp32, [1, ?, 256]> f_9 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_weight, x = input_75)[name = tensor<string, []>("linear_30")];
287
+ tensor<fp32, [1, ?, 256]> input_77 = add(x = f_9, y = input_73)[name = tensor<string, []>("input_77")];
288
+ tensor<int32, [1]> input_79_axes_0 = const()[name = tensor<string, []>("input_79_axes_0"), val = tensor<int32, [1]>([-1])];
289
+ tensor<fp32, [1, ?, 256]> input_79 = layer_norm(axes = input_79_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_weight, x = input_77)[name = tensor<string, []>("input_79")];
290
+ tensor<fp32, [1, ?, 256]> var_433 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_query_weight, x = input_79)[name = tensor<string, []>("linear_31")];
291
+ tensor<int32, [4]> concat_20x = const()[name = tensor<string, []>("concat_20x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
292
+ tensor<fp32, [1, ?, 4, 64]> var_435 = reshape(shape = concat_20x, x = var_433)[name = tensor<string, []>("op_435")];
293
+ tensor<fp32, [1, ?, 256]> var_437 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_key_weight, x = input_79)[name = tensor<string, []>("linear_32")];
294
+ tensor<int32, [4]> concat_21x = const()[name = tensor<string, []>("concat_21x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
295
+ tensor<fp32, [1, ?, 4, 64]> var_439 = reshape(shape = concat_21x, x = var_437)[name = tensor<string, []>("op_439")];
296
+ tensor<fp32, [1, ?, 256]> var_441 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_value_weight, x = input_79)[name = tensor<string, []>("linear_33")];
297
+ tensor<int32, [4]> concat_22x = const()[name = tensor<string, []>("concat_22x"), val = tensor<int32, [4]>([1, -1, 4, 64])];
298
+ tensor<fp32, [1, ?, 4, 64]> var_443 = reshape(shape = concat_22x, x = var_441)[name = tensor<string, []>("op_443")];
299
+ tensor<int32, [4]> v_11_perm_0 = const()[name = tensor<string, []>("v_11_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
300
+ tensor<bool, []> var_446_transpose_x_0 = const()[name = tensor<string, []>("op_446_transpose_x_0"), val = tensor<bool, []>(false)];
301
+ tensor<bool, []> var_446_transpose_y_0 = const()[name = tensor<string, []>("op_446_transpose_y_0"), val = tensor<bool, []>(false)];
302
+ tensor<int32, [4]> transpose_38_perm_0 = const()[name = tensor<string, []>("transpose_38_perm_0"), val = tensor<int32, [4]>([0, 2, -3, -1])];
303
+ tensor<int32, [4]> transpose_39_perm_0 = const()[name = tensor<string, []>("transpose_39_perm_0"), val = tensor<int32, [4]>([0, 2, -1, -3])];
304
+ tensor<fp32, [1, 4, 64, ?]> transpose_39 = transpose(perm = transpose_39_perm_0, x = var_439)[name = tensor<string, []>("transpose_62")];
305
+ tensor<fp32, [1, 4, ?, 64]> transpose_38 = transpose(perm = transpose_38_perm_0, x = var_435)[name = tensor<string, []>("transpose_63")];
306
+ tensor<fp32, [1, 4, ?, ?]> var_446 = matmul(transpose_x = var_446_transpose_x_0, transpose_y = var_446_transpose_y_0, x = transpose_38, y = transpose_39)[name = tensor<string, []>("op_446")];
307
+ tensor<fp32, []> _inversed_input_81_y_0 = const()[name = tensor<string, []>("_inversed_input_81_y_0"), val = tensor<fp32, []>(0x1p-3)];
308
+ tensor<fp32, [1, 4, ?, ?]> _inversed_input_81 = mul(x = var_446, y = _inversed_input_81_y_0)[name = tensor<string, []>("_inversed_input_81")];
309
+ tensor<fp32, [1, 4, ?, ?]> att = softmax(axis = var_260, x = _inversed_input_81)[name = tensor<string, []>("att")];
310
+ tensor<bool, []> var_450_transpose_x_0 = const()[name = tensor<string, []>("op_450_transpose_x_0"), val = tensor<bool, []>(false)];
311
+ tensor<bool, []> var_450_transpose_y_0 = const()[name = tensor<string, []>("op_450_transpose_y_0"), val = tensor<bool, []>(false)];
312
+ tensor<fp32, [1, 4, ?, 64]> v_11 = transpose(perm = v_11_perm_0, x = var_443)[name = tensor<string, []>("transpose_64")];
313
+ tensor<fp32, [1, 4, ?, 64]> var_450 = matmul(transpose_x = var_450_transpose_x_0, transpose_y = var_450_transpose_y_0, x = att, y = v_11)[name = tensor<string, []>("op_450")];
314
+ tensor<int32, [4]> var_451_perm_0 = const()[name = tensor<string, []>("op_451_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
315
+ tensor<int32, [3]> concat_23x = const()[name = tensor<string, []>("concat_23x"), val = tensor<int32, [3]>([1, -1, 256])];
316
+ tensor<fp32, [1, ?, 4, 64]> var_451 = transpose(perm = var_451_perm_0, x = var_450)[name = tensor<string, []>("transpose_61")];
317
+ tensor<fp32, [1, ?, 256]> input_83 = reshape(shape = concat_23x, x = var_451)[name = tensor<string, []>("input_83")];
318
+ tensor<fp32, [1, ?, 256]> var_454 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_dense_weight, x = input_83)[name = tensor<string, []>("linear_34")];
319
+ tensor<fp32, [1, ?, 256]> input_85 = add(x = var_454, y = input_79)[name = tensor<string, []>("input_85")];
320
+ tensor<int32, [1]> input_87_axes_0 = const()[name = tensor<string, []>("input_87_axes_0"), val = tensor<int32, [1]>([-1])];
321
+ tensor<fp32, [1, ?, 256]> input_87 = layer_norm(axes = input_87_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_attention_LayerNorm_weight, x = input_85)[name = tensor<string, []>("input_87")];
322
+ tensor<fp32, [1, ?, 768]> var_458 = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_weight, x = input_87)[name = tensor<string, []>("linear_35")];
323
+ tensor<string, []> input_89_mode_0 = const()[name = tensor<string, []>("input_89_mode_0"), val = tensor<string, []>("TANH_APPROXIMATION")];
324
+ tensor<fp32, [1, ?, 768]> input_89 = gelu(mode = input_89_mode_0, x = var_458)[name = tensor<string, []>("input_89")];
325
+ tensor<fp32, [1, ?, 256]> f = linear(bias = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_bias, weight = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_ffn_output_weight, x = input_89)[name = tensor<string, []>("linear_36")];
326
+ tensor<fp32, [1, ?, 256]> input_91 = add(x = f, y = input_87)[name = tensor<string, []>("input_91")];
327
+ tensor<int32, [1]> input_93_axes_0 = const()[name = tensor<string, []>("input_93_axes_0"), val = tensor<int32, [1]>([-1])];
328
+ tensor<fp32, [1, ?, 256]> input_93 = layer_norm(axes = input_93_axes_0, beta = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_bias, epsilon = var_258, gamma = ts_bert_encoder_albert_layer_groups_0_albert_layers_0_full_layer_layer_norm_weight, x = input_91)[name = tensor<string, []>("input_93")];
329
+ tensor<fp32, [1, ?, 192]> var_466 = linear(bias = ts_bert_encoder_bias, weight = ts_bert_encoder_weight, x = input_93)[name = tensor<string, []>("linear_37")];
330
+ tensor<int32, [3]> x_1_perm_0 = const()[name = tensor<string, []>("x_1_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
331
+ tensor<fp32, [1, 32, 1]> var_485 = const()[name = tensor<string, []>("op_485"), val = tensor<fp32, [1, 32, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7161408)))];
332
+ tensor<int32, []> var_486 = const()[name = tensor<string, []>("op_486"), val = tensor<int32, []>(-1)];
333
+ tensor<int32, []> var_487 = const()[name = tensor<string, []>("op_487"), val = tensor<int32, []>(-1)];
334
+ tensor<int32, []> concat_24_axis_0 = const()[name = tensor<string, []>("concat_24_axis_0"), val = tensor<int32, []>(0)];
335
+ tensor<bool, []> concat_24_interleave_0 = const()[name = tensor<string, []>("concat_24_interleave_0"), val = tensor<bool, []>(false)];
336
+ tensor<int32, [3]> concat_24 = concat(axis = concat_24_axis_0, interleave = concat_24_interleave_0, values = (var_486, var_487, gather_0))[name = tensor<string, []>("concat_24")];
337
+ tensor<int32, [3]> shape_1 = const()[name = tensor<string, []>("shape_1"), val = tensor<int32, [3]>([1, 32, 1])];
338
+ tensor<int32, []> equal_0_y_0 = const()[name = tensor<string, []>("equal_0_y_0"), val = tensor<int32, []>(-1)];
339
+ tensor<bool, [3]> equal_0 = equal(x = concat_24, y = equal_0_y_0)[name = tensor<string, []>("equal_0")];
340
+ tensor<int32, [3]> select_0 = select(a = shape_1, b = concat_24, cond = equal_0)[name = tensor<string, []>("select_0")];
341
+ tensor<int32, [3]> real_div_0 = real_div(x = select_0, y = shape_1)[name = tensor<string, []>("real_div_0")];
342
+ tensor<fp32, [?, ?, ?]> sx = tile(reps = real_div_0, x = var_485)[name = tensor<string, []>("sx")];
343
+ tensor<int32, []> var_492 = const()[name = tensor<string, []>("op_492"), val = tensor<int32, []>(1)];
344
+ tensor<bool, []> x_3_interleave_0 = const()[name = tensor<string, []>("x_3_interleave_0"), val = tensor<bool, []>(false)];
345
+ tensor<fp32, [1, 192, ?]> x_1 = transpose(perm = x_1_perm_0, x = var_466)[name = tensor<string, []>("transpose_60")];
346
+ tensor<fp32, [1, ?, ?]> x_3 = concat(axis = var_492, interleave = x_3_interleave_0, values = (x_1, sx))[name = tensor<string, []>("x_3")];
347
+ tensor<int32, [3]> transpose_6_perm_0 = const()[name = tensor<string, []>("transpose_6_perm_0"), val = tensor<int32, [3]>([-1, 0, -2])];
348
+ tensor<fp32, [384]> add_0 = const()[name = tensor<string, []>("add_0"), val = tensor<fp32, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7161600)))];
349
+ tensor<fp32, [384]> add_1 = const()[name = tensor<string, []>("add_1"), val = tensor<fp32, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7163200)))];
350
+ tensor<fp32, [384, 224]> concat_29 = const()[name = tensor<string, []>("concat_29"), val = tensor<fp32, [384, 224]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7164800)))];
351
+ tensor<fp32, [384, 96]> concat_30 = const()[name = tensor<string, []>("concat_30"), val = tensor<fp32, [384, 96]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7508928)))];
352
+ tensor<fp32, [384, 224]> concat_31 = const()[name = tensor<string, []>("concat_31"), val = tensor<fp32, [384, 224]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7656448)))];
353
+ tensor<fp32, [384, 96]> concat_32 = const()[name = tensor<string, []>("concat_32"), val = tensor<fp32, [384, 96]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8000576)))];
354
+ tensor<fp32, [1, 192]> var_522_batch_first_lstm_h0_reshaped = const()[name = tensor<string, []>("op_522_batch_first_lstm_h0_reshaped"), val = tensor<fp32, [1, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8148096)))];
355
+ tensor<string, []> var_522_batch_first_direction_0 = const()[name = tensor<string, []>("op_522_batch_first_direction_0"), val = tensor<string, []>("bidirectional")];
356
+ tensor<bool, []> var_522_batch_first_output_sequence_0 = const()[name = tensor<string, []>("op_522_batch_first_output_sequence_0"), val = tensor<bool, []>(true)];
357
+ tensor<string, []> var_522_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("op_522_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
358
+ tensor<string, []> var_522_batch_first_cell_activation_0 = const()[name = tensor<string, []>("op_522_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
359
+ tensor<string, []> var_522_batch_first_activation_0 = const()[name = tensor<string, []>("op_522_batch_first_activation_0"), val = tensor<string, []>("tanh")];
360
+ tensor<fp32, [?, 1, ?]> transpose_6 = transpose(perm = transpose_6_perm_0, x = x_3)[name = tensor<string, []>("transpose_59")];
361
+ tensor<fp32, [?, 1, 192]> var_522_batch_first_0, tensor<fp32, [1, 192]> var_522_batch_first_1, tensor<fp32, [1, 192]> var_522_batch_first_2 = lstm(activation = var_522_batch_first_activation_0, bias = add_0, bias_back = add_1, cell_activation = var_522_batch_first_cell_activation_0, direction = var_522_batch_first_direction_0, initial_c = var_522_batch_first_lstm_h0_reshaped, initial_h = var_522_batch_first_lstm_h0_reshaped, output_sequence = var_522_batch_first_output_sequence_0, recurrent_activation = var_522_batch_first_recurrent_activation_0, weight_hh = concat_30, weight_hh_back = concat_32, weight_ih = concat_29, weight_ih_back = concat_31, x = transpose_6)[name = tensor<string, []>("op_522_batch_first")];
362
+ tensor<int32, [3]> transpose_13_perm_0 = const()[name = tensor<string, []>("transpose_13_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
363
+ tensor<fp32, []> var_532 = const()[name = tensor<string, []>("op_532"), val = tensor<fp32, []>(0x1.4f8b58p-17)];
364
+ tensor<fp32, [1, 1, 192]> beta_3 = const()[name = tensor<string, []>("beta_3"), val = tensor<fp32, [1, 1, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8148928)))];
365
+ tensor<int32, [1]> x_11_axes_0 = const()[name = tensor<string, []>("x_11_axes_0"), val = tensor<int32, [1]>([-1])];
366
+ tensor<fp32, [1, ?, 192]> transpose_13 = transpose(perm = transpose_13_perm_0, x = var_522_batch_first_0)[name = tensor<string, []>("transpose_58")];
367
+ tensor<fp32, [1, ?, 192]> x_11 = layer_norm(axes = x_11_axes_0, epsilon = var_532, x = transpose_13)[name = tensor<string, []>("x_11")];
368
+ tensor<fp32, [1, 1, 192]> var_556 = const()[name = tensor<string, []>("op_556"), val = tensor<fp32, [1, 1, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8149760)))];
369
+ tensor<fp32, [1, ?, 192]> var_557 = mul(x = var_556, y = x_11)[name = tensor<string, []>("op_557")];
370
+ tensor<fp32, [1, ?, 192]> x_13 = add(x = var_557, y = beta_3)[name = tensor<string, []>("x_13")];
371
+ tensor<int32, [3]> var_563_perm_0 = const()[name = tensor<string, []>("op_563_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
372
+ tensor<int32, []> var_565 = const()[name = tensor<string, []>("op_565"), val = tensor<int32, []>(1)];
373
+ tensor<bool, []> x_15_interleave_0 = const()[name = tensor<string, []>("x_15_interleave_0"), val = tensor<bool, []>(false)];
374
+ tensor<fp32, [1, 192, ?]> var_563 = transpose(perm = var_563_perm_0, x = x_13)[name = tensor<string, []>("transpose_57")];
375
+ tensor<fp32, [1, ?, ?]> x_15 = concat(axis = var_565, interleave = x_15_interleave_0, values = (var_563, sx))[name = tensor<string, []>("x_15")];
376
+ tensor<int32, [3]> transpose_8_perm_0 = const()[name = tensor<string, []>("transpose_8_perm_0"), val = tensor<int32, [3]>([-1, 0, -2])];
377
+ tensor<fp32, [384]> add_2 = const()[name = tensor<string, []>("add_2"), val = tensor<fp32, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8150592)))];
378
+ tensor<fp32, [384]> add_3 = const()[name = tensor<string, []>("add_3"), val = tensor<fp32, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8152192)))];
379
+ tensor<fp32, [384, 224]> concat_39 = const()[name = tensor<string, []>("concat_39"), val = tensor<fp32, [384, 224]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8153792)))];
380
+ tensor<fp32, [384, 96]> concat_40 = const()[name = tensor<string, []>("concat_40"), val = tensor<fp32, [384, 96]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8497920)))];
381
+ tensor<fp32, [384, 224]> concat_41 = const()[name = tensor<string, []>("concat_41"), val = tensor<fp32, [384, 224]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8645440)))];
382
+ tensor<fp32, [384, 96]> concat_42 = const()[name = tensor<string, []>("concat_42"), val = tensor<fp32, [384, 96]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8989568)))];
383
+ tensor<string, []> var_595_batch_first_direction_0 = const()[name = tensor<string, []>("op_595_batch_first_direction_0"), val = tensor<string, []>("bidirectional")];
384
+ tensor<bool, []> var_595_batch_first_output_sequence_0 = const()[name = tensor<string, []>("op_595_batch_first_output_sequence_0"), val = tensor<bool, []>(true)];
385
+ tensor<string, []> var_595_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("op_595_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
386
+ tensor<string, []> var_595_batch_first_cell_activation_0 = const()[name = tensor<string, []>("op_595_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
387
+ tensor<string, []> var_595_batch_first_activation_0 = const()[name = tensor<string, []>("op_595_batch_first_activation_0"), val = tensor<string, []>("tanh")];
388
+ tensor<fp32, [?, 1, ?]> transpose_8 = transpose(perm = transpose_8_perm_0, x = x_15)[name = tensor<string, []>("transpose_56")];
389
+ tensor<fp32, [?, 1, 192]> var_595_batch_first_0, tensor<fp32, [1, 192]> var_595_batch_first_1, tensor<fp32, [1, 192]> var_595_batch_first_2 = lstm(activation = var_595_batch_first_activation_0, bias = add_2, bias_back = add_3, cell_activation = var_595_batch_first_cell_activation_0, direction = var_595_batch_first_direction_0, initial_c = var_522_batch_first_lstm_h0_reshaped, initial_h = var_522_batch_first_lstm_h0_reshaped, output_sequence = var_595_batch_first_output_sequence_0, recurrent_activation = var_595_batch_first_recurrent_activation_0, weight_hh = concat_40, weight_hh_back = concat_42, weight_ih = concat_39, weight_ih_back = concat_41, x = transpose_8)[name = tensor<string, []>("op_595_batch_first")];
390
+ tensor<int32, [3]> transpose_14_perm_0 = const()[name = tensor<string, []>("transpose_14_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
391
+ tensor<fp32, []> var_605 = const()[name = tensor<string, []>("op_605"), val = tensor<fp32, []>(0x1.4f8b58p-17)];
392
+ tensor<fp32, [1, 1, 192]> beta_7 = const()[name = tensor<string, []>("beta_7"), val = tensor<fp32, [1, 1, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9137088)))];
393
+ tensor<int32, [1]> x_23_axes_0 = const()[name = tensor<string, []>("x_23_axes_0"), val = tensor<int32, [1]>([-1])];
394
+ tensor<fp32, [1, ?, 192]> transpose_14 = transpose(perm = transpose_14_perm_0, x = var_595_batch_first_0)[name = tensor<string, []>("transpose_55")];
395
+ tensor<fp32, [1, ?, 192]> x_23 = layer_norm(axes = x_23_axes_0, epsilon = var_605, x = transpose_14)[name = tensor<string, []>("x_23")];
396
+ tensor<fp32, [1, 1, 192]> var_629 = const()[name = tensor<string, []>("op_629"), val = tensor<fp32, [1, 1, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9137920)))];
397
+ tensor<fp32, [1, ?, 192]> var_630 = mul(x = var_629, y = x_23)[name = tensor<string, []>("op_630")];
398
+ tensor<fp32, [1, ?, 192]> x_25 = add(x = var_630, y = beta_7)[name = tensor<string, []>("x_25")];
399
+ tensor<int32, [3]> var_636_perm_0 = const()[name = tensor<string, []>("op_636_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
400
+ tensor<int32, []> var_638 = const()[name = tensor<string, []>("op_638"), val = tensor<int32, []>(1)];
401
+ tensor<bool, []> x_27_interleave_0 = const()[name = tensor<string, []>("x_27_interleave_0"), val = tensor<bool, []>(false)];
402
+ tensor<fp32, [1, 192, ?]> var_636 = transpose(perm = var_636_perm_0, x = x_25)[name = tensor<string, []>("transpose_54")];
403
+ tensor<fp32, [1, ?, ?]> x_27 = concat(axis = var_638, interleave = x_27_interleave_0, values = (var_636, sx))[name = tensor<string, []>("x_27")];
404
+ tensor<int32, [3]> transpose_10_perm_0 = const()[name = tensor<string, []>("transpose_10_perm_0"), val = tensor<int32, [3]>([-1, 0, -2])];
405
+ tensor<fp32, [384]> add_4 = const()[name = tensor<string, []>("add_4"), val = tensor<fp32, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9138752)))];
406
+ tensor<fp32, [384]> add_5 = const()[name = tensor<string, []>("add_5"), val = tensor<fp32, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9140352)))];
407
+ tensor<fp32, [384, 224]> concat_49 = const()[name = tensor<string, []>("concat_49"), val = tensor<fp32, [384, 224]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9141952)))];
408
+ tensor<fp32, [384, 96]> concat_50 = const()[name = tensor<string, []>("concat_50"), val = tensor<fp32, [384, 96]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9486080)))];
409
+ tensor<fp32, [384, 224]> concat_51 = const()[name = tensor<string, []>("concat_51"), val = tensor<fp32, [384, 224]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9633600)))];
410
+ tensor<fp32, [384, 96]> concat_52 = const()[name = tensor<string, []>("concat_52"), val = tensor<fp32, [384, 96]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9977728)))];
411
+ tensor<string, []> var_668_batch_first_direction_0 = const()[name = tensor<string, []>("op_668_batch_first_direction_0"), val = tensor<string, []>("bidirectional")];
412
+ tensor<bool, []> var_668_batch_first_output_sequence_0 = const()[name = tensor<string, []>("op_668_batch_first_output_sequence_0"), val = tensor<bool, []>(true)];
413
+ tensor<string, []> var_668_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("op_668_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
414
+ tensor<string, []> var_668_batch_first_cell_activation_0 = const()[name = tensor<string, []>("op_668_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
415
+ tensor<string, []> var_668_batch_first_activation_0 = const()[name = tensor<string, []>("op_668_batch_first_activation_0"), val = tensor<string, []>("tanh")];
416
+ tensor<fp32, [?, 1, ?]> transpose_10 = transpose(perm = transpose_10_perm_0, x = x_27)[name = tensor<string, []>("transpose_53")];
417
+ tensor<fp32, [?, 1, 192]> var_668_batch_first_0, tensor<fp32, [1, 192]> var_668_batch_first_1, tensor<fp32, [1, 192]> var_668_batch_first_2 = lstm(activation = var_668_batch_first_activation_0, bias = add_4, bias_back = add_5, cell_activation = var_668_batch_first_cell_activation_0, direction = var_668_batch_first_direction_0, initial_c = var_522_batch_first_lstm_h0_reshaped, initial_h = var_522_batch_first_lstm_h0_reshaped, output_sequence = var_668_batch_first_output_sequence_0, recurrent_activation = var_668_batch_first_recurrent_activation_0, weight_hh = concat_50, weight_hh_back = concat_52, weight_ih = concat_49, weight_ih_back = concat_51, x = transpose_10)[name = tensor<string, []>("op_668_batch_first")];
418
+ tensor<int32, [3]> transpose_15_perm_0 = const()[name = tensor<string, []>("transpose_15_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
419
+ tensor<fp32, []> var_678 = const()[name = tensor<string, []>("op_678"), val = tensor<fp32, []>(0x1.4f8b58p-17)];
420
+ tensor<fp32, [1, 1, 192]> beta_11 = const()[name = tensor<string, []>("beta_11"), val = tensor<fp32, [1, 1, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10125248)))];
421
+ tensor<int32, [1]> x_35_axes_0 = const()[name = tensor<string, []>("x_35_axes_0"), val = tensor<int32, [1]>([-1])];
422
+ tensor<fp32, [1, ?, 192]> transpose_15 = transpose(perm = transpose_15_perm_0, x = var_668_batch_first_0)[name = tensor<string, []>("transpose_52")];
423
+ tensor<fp32, [1, ?, 192]> x_35 = layer_norm(axes = x_35_axes_0, epsilon = var_678, x = transpose_15)[name = tensor<string, []>("x_35")];
424
+ tensor<fp32, [1, 1, 192]> var_702 = const()[name = tensor<string, []>("op_702"), val = tensor<fp32, [1, 1, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10126080)))];
425
+ tensor<fp32, [1, ?, 192]> var_703 = mul(x = var_702, y = x_35)[name = tensor<string, []>("op_703")];
426
+ tensor<fp32, [1, ?, 192]> x_37 = add(x = var_703, y = beta_11)[name = tensor<string, []>("x_37")];
427
+ tensor<int32, [3]> var_709_perm_0 = const()[name = tensor<string, []>("op_709_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
428
+ tensor<int32, []> var_711 = const()[name = tensor<string, []>("op_711"), val = tensor<int32, []>(1)];
429
+ tensor<bool, []> x_39_interleave_0 = const()[name = tensor<string, []>("x_39_interleave_0"), val = tensor<bool, []>(false)];
430
+ tensor<fp32, [1, 192, ?]> var_709 = transpose(perm = var_709_perm_0, x = x_37)[name = tensor<string, []>("transpose_51")];
431
+ tensor<fp32, [1, ?, ?]> d = concat(axis = var_711, interleave = x_39_interleave_0, values = (var_709, sx))[name = tensor<string, []>("x_39")];
432
+ tensor<int32, [3]> transpose_12_perm_0 = const()[name = tensor<string, []>("transpose_12_perm_0"), val = tensor<int32, [3]>([-1, 0, -2])];
433
+ tensor<fp32, [384]> add_6 = const()[name = tensor<string, []>("add_6"), val = tensor<fp32, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10126912)))];
434
+ tensor<fp32, [384]> add_7 = const()[name = tensor<string, []>("add_7"), val = tensor<fp32, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10128512)))];
435
+ tensor<fp32, [384, 224]> concat_59 = const()[name = tensor<string, []>("concat_59"), val = tensor<fp32, [384, 224]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10130112)))];
436
+ tensor<fp32, [384, 96]> concat_60 = const()[name = tensor<string, []>("concat_60"), val = tensor<fp32, [384, 96]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10474240)))];
437
+ tensor<fp32, [384, 224]> concat_61 = const()[name = tensor<string, []>("concat_61"), val = tensor<fp32, [384, 224]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10621760)))];
438
+ tensor<fp32, [384, 96]> concat_62 = const()[name = tensor<string, []>("concat_62"), val = tensor<fp32, [384, 96]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10965888)))];
439
+ tensor<string, []> input_109_batch_first_direction_0 = const()[name = tensor<string, []>("input_109_batch_first_direction_0"), val = tensor<string, []>("bidirectional")];
440
+ tensor<bool, []> input_109_batch_first_output_sequence_0 = const()[name = tensor<string, []>("input_109_batch_first_output_sequence_0"), val = tensor<bool, []>(true)];
441
+ tensor<string, []> input_109_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("input_109_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
442
+ tensor<string, []> input_109_batch_first_cell_activation_0 = const()[name = tensor<string, []>("input_109_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
443
+ tensor<string, []> input_109_batch_first_activation_0 = const()[name = tensor<string, []>("input_109_batch_first_activation_0"), val = tensor<string, []>("tanh")];
444
+ tensor<fp32, [?, 1, ?]> transpose_12 = transpose(perm = transpose_12_perm_0, x = d)[name = tensor<string, []>("transpose_50")];
445
+ tensor<fp32, [?, 1, 192]> input_109_batch_first_0, tensor<fp32, [1, 192]> input_109_batch_first_1, tensor<fp32, [1, 192]> input_109_batch_first_2 = lstm(activation = input_109_batch_first_activation_0, bias = add_6, bias_back = add_7, cell_activation = input_109_batch_first_cell_activation_0, direction = input_109_batch_first_direction_0, initial_c = var_522_batch_first_lstm_h0_reshaped, initial_h = var_522_batch_first_lstm_h0_reshaped, output_sequence = input_109_batch_first_output_sequence_0, recurrent_activation = input_109_batch_first_recurrent_activation_0, weight_hh = concat_60, weight_hh_back = concat_62, weight_ih = concat_59, weight_ih_back = concat_61, x = transpose_12)[name = tensor<string, []>("input_109_batch_first")];
446
+ tensor<int32, [3]> input_109_perm_0 = const()[name = tensor<string, []>("input_109_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
447
+ tensor<fp32, [1, ?, 192]> input_109 = transpose(perm = input_109_perm_0, x = input_109_batch_first_0)[name = tensor<string, []>("transpose_49")];
448
+ tensor<fp32, [1, ?, 50]> var_747 = linear(bias = ts_predictor_duration_proj_linear_layer_bias, weight = ts_predictor_duration_proj_linear_layer_weight, x = input_109)[name = tensor<string, []>("linear_41")];
449
+ tensor<fp32, [1, ?, 50]> var_748 = sigmoid(x = var_747)[name = tensor<string, []>("op_748")];
450
+ tensor<int32, [1]> var_753_axes_0 = const()[name = tensor<string, []>("op_753_axes_0"), val = tensor<int32, [1]>([-1])];
451
+ tensor<bool, []> var_753_keep_dims_0 = const()[name = tensor<string, []>("op_753_keep_dims_0"), val = tensor<bool, []>(false)];
452
+ tensor<fp32, [1, ?]> duration = reduce_sum(axes = var_753_axes_0, keep_dims = var_753_keep_dims_0, x = var_748)[name = tensor<string, []>("op_753")];
453
+ tensor<int32, []> var_757_batch_dims_0 = const()[name = tensor<string, []>("op_757_batch_dims_0"), val = tensor<int32, []>(0)];
454
+ tensor<bool, []> var_757_validate_indices_0 = const()[name = tensor<string, []>("op_757_validate_indices_0"), val = tensor<bool, []>(false)];
455
+ tensor<int32, []> var_757_axis_1 = const()[name = tensor<string, []>("op_757_axis_1"), val = tensor<int32, []>(0)];
456
+ tensor<fp32, [1, ?, 192]> var_757 = gather(axis = var_757_axis_1, batch_dims = var_757_batch_dims_0, indices = select_2, validate_indices = var_757_validate_indices_0, x = ts_text_encoder_embedding_weight)[name = tensor<string, []>("op_757")];
457
+ tensor<int32, [3]> input_111_perm_0 = const()[name = tensor<string, []>("input_111_perm_0"), val = tensor<int32, [3]>([0, 2, 1])];
458
+ tensor<fp32, []> var_761 = const()[name = tensor<string, []>("op_761"), val = tensor<fp32, []>(0x1.99999ap-3)];
459
+ tensor<fp32, []> var_764 = const()[name = tensor<string, []>("op_764"), val = tensor<fp32, []>(0x1.4f8b58p-17)];
460
+ tensor<string, []> x_41_pad_type_0 = const()[name = tensor<string, []>("x_41_pad_type_0"), val = tensor<string, []>("custom")];
461
+ tensor<int32, [2]> x_41_pad_0 = const()[name = tensor<string, []>("x_41_pad_0"), val = tensor<int32, [2]>([2, 2])];
462
+ tensor<int32, [1]> x_41_strides_0 = const()[name = tensor<string, []>("x_41_strides_0"), val = tensor<int32, [1]>([1])];
463
+ tensor<int32, [1]> x_41_dilations_0 = const()[name = tensor<string, []>("x_41_dilations_0"), val = tensor<int32, [1]>([1])];
464
+ tensor<int32, []> x_41_groups_0 = const()[name = tensor<string, []>("x_41_groups_0"), val = tensor<int32, []>(1)];
465
+ tensor<fp32, [1, 192, ?]> input_111 = transpose(perm = input_111_perm_0, x = var_757)[name = tensor<string, []>("transpose_48")];
466
+ tensor<fp32, [1, 192, ?]> x_41 = conv(bias = ts_text_encoder_cnn_0_0_bias, dilations = x_41_dilations_0, groups = x_41_groups_0, pad = x_41_pad_0, pad_type = x_41_pad_type_0, strides = x_41_strides_0, weight = ts_text_encoder_cnn_0_0_weight, x = input_111)[name = tensor<string, []>("x_41")];
467
+ tensor<int32, [3]> input_113_perm_0 = const()[name = tensor<string, []>("input_113_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
468
+ tensor<int32, [1]> x_43_axes_0 = const()[name = tensor<string, []>("x_43_axes_0"), val = tensor<int32, [1]>([-1])];
469
+ tensor<fp32, [1, ?, 192]> input_113 = transpose(perm = input_113_perm_0, x = x_41)[name = tensor<string, []>("transpose_47")];
470
+ tensor<fp32, [1, ?, 192]> x_43 = layer_norm(axes = x_43_axes_0, beta = ts_text_encoder_cnn_0_1_beta, epsilon = var_764, gamma = ts_text_encoder_cnn_0_1_gamma, x = input_113)[name = tensor<string, []>("x_43")];
471
+ tensor<int32, [3]> input_115_perm_0 = const()[name = tensor<string, []>("input_115_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
472
+ tensor<fp32, [1, 192, ?]> input_115 = transpose(perm = input_115_perm_0, x = x_43)[name = tensor<string, []>("transpose_46")];
473
+ tensor<fp32, [1, 192, ?]> input_117 = leaky_relu(alpha = var_761, x = input_115)[name = tensor<string, []>("input_117")];
474
+ tensor<fp32, []> var_787 = const()[name = tensor<string, []>("op_787"), val = tensor<fp32, []>(0x1.99999ap-3)];
475
+ tensor<fp32, []> var_790 = const()[name = tensor<string, []>("op_790"), val = tensor<fp32, []>(0x1.4f8b58p-17)];
476
+ tensor<string, []> x_45_pad_type_0 = const()[name = tensor<string, []>("x_45_pad_type_0"), val = tensor<string, []>("custom")];
477
+ tensor<int32, [2]> x_45_pad_0 = const()[name = tensor<string, []>("x_45_pad_0"), val = tensor<int32, [2]>([2, 2])];
478
+ tensor<int32, [1]> x_45_strides_0 = const()[name = tensor<string, []>("x_45_strides_0"), val = tensor<int32, [1]>([1])];
479
+ tensor<int32, [1]> x_45_dilations_0 = const()[name = tensor<string, []>("x_45_dilations_0"), val = tensor<int32, [1]>([1])];
480
+ tensor<int32, []> x_45_groups_0 = const()[name = tensor<string, []>("x_45_groups_0"), val = tensor<int32, []>(1)];
481
+ tensor<fp32, [1, 192, ?]> x_45 = conv(bias = ts_text_encoder_cnn_1_0_bias, dilations = x_45_dilations_0, groups = x_45_groups_0, pad = x_45_pad_0, pad_type = x_45_pad_type_0, strides = x_45_strides_0, weight = ts_text_encoder_cnn_1_0_weight, x = input_117)[name = tensor<string, []>("x_45")];
482
+ tensor<int32, [3]> input_121_perm_0 = const()[name = tensor<string, []>("input_121_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
483
+ tensor<int32, [1]> x_47_axes_0 = const()[name = tensor<string, []>("x_47_axes_0"), val = tensor<int32, [1]>([-1])];
484
+ tensor<fp32, [1, ?, 192]> input_121 = transpose(perm = input_121_perm_0, x = x_45)[name = tensor<string, []>("transpose_45")];
485
+ tensor<fp32, [1, ?, 192]> x_47 = layer_norm(axes = x_47_axes_0, beta = ts_text_encoder_cnn_1_1_beta, epsilon = var_790, gamma = ts_text_encoder_cnn_1_1_gamma, x = input_121)[name = tensor<string, []>("x_47")];
486
+ tensor<int32, [3]> input_123_perm_0 = const()[name = tensor<string, []>("input_123_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
487
+ tensor<fp32, [1, 192, ?]> input_123 = transpose(perm = input_123_perm_0, x = x_47)[name = tensor<string, []>("transpose_44")];
488
+ tensor<fp32, [1, 192, ?]> input_125 = leaky_relu(alpha = var_787, x = input_123)[name = tensor<string, []>("input_125")];
489
+ tensor<fp32, []> var_813 = const()[name = tensor<string, []>("op_813"), val = tensor<fp32, []>(0x1.99999ap-3)];
490
+ tensor<fp32, []> var_816 = const()[name = tensor<string, []>("op_816"), val = tensor<fp32, []>(0x1.4f8b58p-17)];
491
+ tensor<string, []> x_49_pad_type_0 = const()[name = tensor<string, []>("x_49_pad_type_0"), val = tensor<string, []>("custom")];
492
+ tensor<int32, [2]> x_49_pad_0 = const()[name = tensor<string, []>("x_49_pad_0"), val = tensor<int32, [2]>([2, 2])];
493
+ tensor<int32, [1]> x_49_strides_0 = const()[name = tensor<string, []>("x_49_strides_0"), val = tensor<int32, [1]>([1])];
494
+ tensor<int32, [1]> x_49_dilations_0 = const()[name = tensor<string, []>("x_49_dilations_0"), val = tensor<int32, [1]>([1])];
495
+ tensor<int32, []> x_49_groups_0 = const()[name = tensor<string, []>("x_49_groups_0"), val = tensor<int32, []>(1)];
496
+ tensor<fp32, [1, 192, ?]> x_49 = conv(bias = ts_text_encoder_cnn_2_0_bias, dilations = x_49_dilations_0, groups = x_49_groups_0, pad = x_49_pad_0, pad_type = x_49_pad_type_0, strides = x_49_strides_0, weight = ts_text_encoder_cnn_2_0_weight, x = input_125)[name = tensor<string, []>("x_49")];
497
+ tensor<int32, [3]> input_129_perm_0 = const()[name = tensor<string, []>("input_129_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
498
+ tensor<int32, [1]> x_axes_0 = const()[name = tensor<string, []>("x_axes_0"), val = tensor<int32, [1]>([-1])];
499
+ tensor<fp32, [1, ?, 192]> input_129 = transpose(perm = input_129_perm_0, x = x_49)[name = tensor<string, []>("transpose_43")];
500
+ tensor<fp32, [1, ?, 192]> x = layer_norm(axes = x_axes_0, beta = ts_text_encoder_cnn_2_1_beta, epsilon = var_816, gamma = ts_text_encoder_cnn_2_1_gamma, x = input_129)[name = tensor<string, []>("x")];
501
+ tensor<fp32, [1, ?, 192]> input_133 = leaky_relu(alpha = var_813, x = x)[name = tensor<string, []>("input_133")];
502
+ tensor<int32, [3]> input_135_batch_first_transpose_perm_0 = const()[name = tensor<string, []>("input_135_batch_first_transpose_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
503
+ tensor<fp32, [384]> add_8 = const()[name = tensor<string, []>("add_8"), val = tensor<fp32, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11113408)))];
504
+ tensor<fp32, [384]> add_9 = const()[name = tensor<string, []>("add_9"), val = tensor<fp32, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11115008)))];
505
+ tensor<fp32, [384, 192]> concat_69 = const()[name = tensor<string, []>("concat_69"), val = tensor<fp32, [384, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11116608)))];
506
+ tensor<fp32, [384, 96]> concat_70 = const()[name = tensor<string, []>("concat_70"), val = tensor<fp32, [384, 96]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11411584)))];
507
+ tensor<fp32, [384, 192]> concat_71 = const()[name = tensor<string, []>("concat_71"), val = tensor<fp32, [384, 192]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11559104)))];
508
+ tensor<fp32, [384, 96]> concat_72 = const()[name = tensor<string, []>("concat_72"), val = tensor<fp32, [384, 96]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11854080)))];
509
+ tensor<string, []> input_137_batch_first_direction_0 = const()[name = tensor<string, []>("input_137_batch_first_direction_0"), val = tensor<string, []>("bidirectional")];
510
+ tensor<bool, []> input_137_batch_first_output_sequence_0 = const()[name = tensor<string, []>("input_137_batch_first_output_sequence_0"), val = tensor<bool, []>(true)];
511
+ tensor<string, []> input_137_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("input_137_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
512
+ tensor<string, []> input_137_batch_first_cell_activation_0 = const()[name = tensor<string, []>("input_137_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
513
+ tensor<string, []> input_137_batch_first_activation_0 = const()[name = tensor<string, []>("input_137_batch_first_activation_0"), val = tensor<string, []>("tanh")];
514
+ tensor<fp32, [?, 1, 192]> input_135_batch_first_transpose = transpose(perm = input_135_batch_first_transpose_perm_0, x = input_133)[name = tensor<string, []>("transpose_42")];
515
+ tensor<fp32, [?, 1, 192]> input_137_batch_first_0, tensor<fp32, [1, 192]> input_137_batch_first_1, tensor<fp32, [1, 192]> input_137_batch_first_2 = lstm(activation = input_137_batch_first_activation_0, bias = add_8, bias_back = add_9, cell_activation = input_137_batch_first_cell_activation_0, direction = input_137_batch_first_direction_0, initial_c = var_522_batch_first_lstm_h0_reshaped, initial_h = var_522_batch_first_lstm_h0_reshaped, output_sequence = input_137_batch_first_output_sequence_0, recurrent_activation = input_137_batch_first_recurrent_activation_0, weight_hh = concat_70, weight_hh_back = concat_72, weight_ih = concat_69, weight_ih_back = concat_71, x = input_135_batch_first_transpose)[name = tensor<string, []>("input_137_batch_first")];
516
+ tensor<int32, [3]> input_137_perm_0 = const()[name = tensor<string, []>("input_137_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
517
+ tensor<fp32, [1, ?, 192]> input_137 = transpose(perm = input_137_perm_0, x = input_137_batch_first_0)[name = tensor<string, []>("transpose_41")];
518
+ tensor<fp32, [1, ?, 512]> input_139 = linear(bias = ts_asr_proj_0_bias, weight = ts_asr_proj_0_weight, x = input_137)[name = tensor<string, []>("linear_42")];
519
+ tensor<string, []> input_mode_0 = const()[name = tensor<string, []>("input_mode_0"), val = tensor<string, []>("EXACT")];
520
+ tensor<fp32, [1, ?, 512]> input = gelu(mode = input_mode_0, x = input_139)[name = tensor<string, []>("input")];
521
+ tensor<fp32, [1, ?, 512]> var_879 = linear(bias = ts_asr_proj_2_bias, weight = ts_asr_proj_2_weight, x = input)[name = tensor<string, []>("linear_43")];
522
+ tensor<int32, [3]> var_882_perm_0 = const()[name = tensor<string, []>("op_882_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
523
+ tensor<fp32, [1, 512, ?]> asr_tok = transpose(perm = var_882_perm_0, x = var_879)[name = tensor<string, []>("transpose_40")];
524
+ } -> (duration, d, asr_tok);
525
+ }
fp32/ParadeeText.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4eafab039e8eea472da30fdd4eddf7d0ebfeecfc1af29c83fead9573a2d46ae1
3
+ size 12001600
fp32/vocab.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ ";": 1,
3
+ ":": 2,
4
+ ",": 3,
5
+ ".": 4,
6
+ "!": 5,
7
+ "?": 6,
8
+ "—": 9,
9
+ "…": 10,
10
+ "\"": 11,
11
+ "(": 12,
12
+ ")": 13,
13
+ "“": 14,
14
+ "”": 15,
15
+ " ": 16,
16
+ "̃": 17,
17
+ "ʣ": 18,
18
+ "ʥ": 19,
19
+ "ʦ": 20,
20
+ "ʨ": 21,
21
+ "ᵝ": 22,
22
+ "ꭧ": 23,
23
+ "A": 24,
24
+ "I": 25,
25
+ "O": 31,
26
+ "Q": 33,
27
+ "S": 35,
28
+ "T": 36,
29
+ "W": 39,
30
+ "Y": 41,
31
+ "ᵊ": 42,
32
+ "a": 43,
33
+ "b": 44,
34
+ "c": 45,
35
+ "d": 46,
36
+ "e": 47,
37
+ "f": 48,
38
+ "h": 50,
39
+ "i": 51,
40
+ "j": 52,
41
+ "k": 53,
42
+ "l": 54,
43
+ "m": 55,
44
+ "n": 56,
45
+ "o": 57,
46
+ "p": 58,
47
+ "q": 59,
48
+ "r": 60,
49
+ "s": 61,
50
+ "t": 62,
51
+ "u": 63,
52
+ "v": 64,
53
+ "w": 65,
54
+ "x": 66,
55
+ "y": 67,
56
+ "z": 68,
57
+ "ɑ": 69,
58
+ "ɐ": 70,
59
+ "ɒ": 71,
60
+ "æ": 72,
61
+ "β": 75,
62
+ "ɔ": 76,
63
+ "ɕ": 77,
64
+ "ç": 78,
65
+ "ɖ": 80,
66
+ "ð": 81,
67
+ "ʤ": 82,
68
+ "ə": 83,
69
+ "ɚ": 85,
70
+ "ɛ": 86,
71
+ "ɜ": 87,
72
+ "ɟ": 90,
73
+ "ɡ": 92,
74
+ "ɥ": 99,
75
+ "ɨ": 101,
76
+ "ɪ": 102,
77
+ "ʝ": 103,
78
+ "ɯ": 110,
79
+ "ɰ": 111,
80
+ "ŋ": 112,
81
+ "ɳ": 113,
82
+ "ɲ": 114,
83
+ "ɴ": 115,
84
+ "ø": 116,
85
+ "ɸ": 118,
86
+ "θ": 119,
87
+ "œ": 120,
88
+ "ɹ": 123,
89
+ "ɾ": 125,
90
+ "ɻ": 126,
91
+ "ʁ": 128,
92
+ "ɽ": 129,
93
+ "ʂ": 130,
94
+ "ʃ": 131,
95
+ "ʈ": 132,
96
+ "ʧ": 133,
97
+ "ʊ": 135,
98
+ "ʋ": 136,
99
+ "ʌ": 138,
100
+ "ɣ": 139,
101
+ "ɤ": 140,
102
+ "χ": 142,
103
+ "ʎ": 143,
104
+ "ʒ": 147,
105
+ "ʔ": 148,
106
+ "ˈ": 156,
107
+ "ˌ": 157,
108
+ "ː": 158,
109
+ "ʰ": 162,
110
+ "ʲ": 164,
111
+ "↓": 169,
112
+ "→": 171,
113
+ "↗": 172,
114
+ "↘": 173,
115
+ "ᵻ": 177
116
+ }
int8/ParadeeAcoustic.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75b72dd0cf2b79be6a26670bdb0ea606f1c18129dbccc8a399b46f3b5f25ad36
3
+ size 243
int8/ParadeeAcoustic.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f721bdbe481f144947093a7839c6fdda91f30b05d7841873d129e1da9b0cd503
3
+ size 560
int8/ParadeeAcoustic.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
int8/ParadeeAcoustic.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b12e686efd35e6922148bbd131011391d078637fc38d4164b90a7007979004d
3
+ size 9122048
int8/ParadeeText.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49b416543979b7b6c66acbd6109519ba911de9aa601bc04182e00f29b628dccf
3
+ size 243
int8/ParadeeText.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f31daa2542a0d519c9206e7973be437ad19810a4ffc417dc5d09fd58e523ce00
3
+ size 503
int8/ParadeeText.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
int8/ParadeeText.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48ecd9d62f60cb016c4542c4e15be47ab14059d433ad6ca456f4160491bcd2fc
3
+ size 3096704
int8/vocab.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ ";": 1,
3
+ ":": 2,
4
+ ",": 3,
5
+ ".": 4,
6
+ "!": 5,
7
+ "?": 6,
8
+ "—": 9,
9
+ "…": 10,
10
+ "\"": 11,
11
+ "(": 12,
12
+ ")": 13,
13
+ "“": 14,
14
+ "”": 15,
15
+ " ": 16,
16
+ "̃": 17,
17
+ "ʣ": 18,
18
+ "ʥ": 19,
19
+ "ʦ": 20,
20
+ "ʨ": 21,
21
+ "ᵝ": 22,
22
+ "ꭧ": 23,
23
+ "A": 24,
24
+ "I": 25,
25
+ "O": 31,
26
+ "Q": 33,
27
+ "S": 35,
28
+ "T": 36,
29
+ "W": 39,
30
+ "Y": 41,
31
+ "ᵊ": 42,
32
+ "a": 43,
33
+ "b": 44,
34
+ "c": 45,
35
+ "d": 46,
36
+ "e": 47,
37
+ "f": 48,
38
+ "h": 50,
39
+ "i": 51,
40
+ "j": 52,
41
+ "k": 53,
42
+ "l": 54,
43
+ "m": 55,
44
+ "n": 56,
45
+ "o": 57,
46
+ "p": 58,
47
+ "q": 59,
48
+ "r": 60,
49
+ "s": 61,
50
+ "t": 62,
51
+ "u": 63,
52
+ "v": 64,
53
+ "w": 65,
54
+ "x": 66,
55
+ "y": 67,
56
+ "z": 68,
57
+ "ɑ": 69,
58
+ "ɐ": 70,
59
+ "ɒ": 71,
60
+ "æ": 72,
61
+ "β": 75,
62
+ "ɔ": 76,
63
+ "ɕ": 77,
64
+ "ç": 78,
65
+ "ɖ": 80,
66
+ "ð": 81,
67
+ "ʤ": 82,
68
+ "ə": 83,
69
+ "ɚ": 85,
70
+ "ɛ": 86,
71
+ "ɜ": 87,
72
+ "ɟ": 90,
73
+ "ɡ": 92,
74
+ "ɥ": 99,
75
+ "ɨ": 101,
76
+ "ɪ": 102,
77
+ "ʝ": 103,
78
+ "ɯ": 110,
79
+ "ɰ": 111,
80
+ "ŋ": 112,
81
+ "ɳ": 113,
82
+ "ɲ": 114,
83
+ "ɴ": 115,
84
+ "ø": 116,
85
+ "ɸ": 118,
86
+ "θ": 119,
87
+ "œ": 120,
88
+ "ɹ": 123,
89
+ "ɾ": 125,
90
+ "ɻ": 126,
91
+ "ʁ": 128,
92
+ "ɽ": 129,
93
+ "ʂ": 130,
94
+ "ʃ": 131,
95
+ "ʈ": 132,
96
+ "ʧ": 133,
97
+ "ʊ": 135,
98
+ "ʋ": 136,
99
+ "ʌ": 138,
100
+ "ɣ": 139,
101
+ "ɤ": 140,
102
+ "χ": 142,
103
+ "ʎ": 143,
104
+ "ʒ": 147,
105
+ "ʔ": 148,
106
+ "ˈ": 156,
107
+ "ˌ": 157,
108
+ "ː": 158,
109
+ "ʰ": 162,
110
+ "ʲ": 164,
111
+ "↓": 169,
112
+ "→": 171,
113
+ "↗": 172,
114
+ "↘": 173,
115
+ "ᵻ": 177
116
+ }
mlpackage/fp32/ParadeeAcoustic.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b11577fdc8f8d5e23d1386ed947f131bb5e0d536c108e9691969c6809ea09577
3
+ size 343044
mlpackage/fp32/ParadeeAcoustic.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5ddbd3cde24b2026c85c6cb8e7bdb53c80bb398f6b63e26f7cd16df7546b282
3
+ size 23005056
mlpackage/fp32/ParadeeAcoustic.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "9E3499C1-6926-4AF4-B230-EDF4673FA785": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "EE6137E9-559B-48B1-B378-736A4BA743E7": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Specification",
13
+ "name": "model.mlmodel",
14
+ "path": "com.apple.CoreML/model.mlmodel"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "EE6137E9-559B-48B1-B378-736A4BA743E7"
18
+ }
mlpackage/fp32/ParadeeText.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5300414d775ba79242bcb4816ffc203776fdb341530bdcfa1fdbc81224d1bf54
3
+ size 83201
mlpackage/fp32/ParadeeText.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4eafab039e8eea472da30fdd4eddf7d0ebfeecfc1af29c83fead9573a2d46ae1
3
+ size 12001600
mlpackage/fp32/ParadeeText.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "2CD980B8-BCEB-429D-91EA-8BE0F732E685": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "73796F30-C6AF-4EB5-9EB0-19CEAD8BDD12": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "2CD980B8-BCEB-429D-91EA-8BE0F732E685"
18
+ }
mlpackage/int8/ParadeeAcoustic.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f23123d0e324485c33f3a017b458f98a0aaeaf018ecaab73e2bc97cf3f83bc4
3
+ size 363038
mlpackage/int8/ParadeeAcoustic.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b12e686efd35e6922148bbd131011391d078637fc38d4164b90a7007979004d
3
+ size 9122048
mlpackage/int8/ParadeeAcoustic.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "684B48A1-4761-4252-A8BF-516F26588EFB": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "A94067AB-C927-4411-9F77-429B6A814B97": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Specification",
13
+ "name": "model.mlmodel",
14
+ "path": "com.apple.CoreML/model.mlmodel"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "A94067AB-C927-4411-9F77-429B6A814B97"
18
+ }
mlpackage/int8/ParadeeText.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc7817a3de669891238f4a83351432468b4032e2aa6fc34f385e81f59838714d
3
+ size 93438
mlpackage/int8/ParadeeText.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48ecd9d62f60cb016c4542c4e15be47ab14059d433ad6ca456f4160491bcd2fc
3
+ size 3096704
mlpackage/int8/ParadeeText.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "5D71F5CC-C1CE-485E-B612-E718B3192E91": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "64977AF2-E38D-4F1D-86DF-7EB0140C2A77": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "5D71F5CC-C1CE-485E-B612-E718B3192E91"
18
+ }
samples/1_paradee_coreml_int8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:173b5a9f6ec4bc25000744a7e2b22086f21dd32a98173826e1c6e4020b5b577f
3
+ size 466844
samples/2_paradee_coreml_int8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42c901f1cd5a50426108b4499d854691691d20c604d579ecd5415d4251177ed7
3
+ size 283244
samples/3_paradee_coreml_int8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc256d31aa704391dfe6cb43baaae489bddd73de2f6eb368008d5f09f1b4df42
3
+ size 361244
samples/4_paradee_coreml_int8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54aa0d2969d54561759607a5ac33b00d389e34ea43586a553360170dcad8625f
3
+ size 460844
samples/5_paradee_coreml_int8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1144add8fe6051063db88d48e93e3ddba9c1a96ef6dc55240399fb4d9f7abc9
3
+ size 516044
samples/sentences.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ 1. As of August 2015, there were 169 proposed targets for these goals and 304 proposed indicators to show compliance.
2
+ 2. White dwarf stars, if they have a near companion, may then become Type Ia supernovae.
3
+ 3. According to Herodotus, this was because they had decided in council that they could not beat the Allies in a naval battle.
4
+ 4. In 1997 Hurlbut's career focused on light as applied to photography and film, and he owned a lighting business in Pasadena, California.
5
+ 5. Harvey ended with a century on his Ashes debut, scoring 112 from 183 balls in an innings noted for powerful driving on both sides of the wicket.