coder543 commited on
Commit
a75dccc
·
verified ·
1 Parent(s): af60439

Include trained Misaki frontend and full text-to-audio measurements

Browse files
.gitattributes CHANGED
@@ -38,3 +38,6 @@ cpu.f16 filter=lfs diff=lfs merge=lfs -text
38
  prosody.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
39
  text.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
40
  vocoder.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
 
 
 
 
38
  prosody.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
39
  text.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
40
  vocoder.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
41
+ frontend/us_gold.json.zlib filter=lfs diff=lfs merge=lfs -text
42
+ frontend/us_silver.json.zlib filter=lfs diff=lfs merge=lfs -text
43
+ frontend/weights.f32 filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -9,68 +9,56 @@ tags: [glade, coreai, apple-silicon, neural-engine, paradee, kokoro, text-to-spe
9
 
10
  # Paradee-8M for Glade
11
 
12
- Mixed-precision conversion of [Paradee-8M v1.0](https://huggingface.co/sahilmahendrakar/Paradee-8M-v1.0),
13
- a single-voice English distillation of Kokoro. Glade accepts English text or
14
- explicit phonemes and generates
15
- mono 24 kHz Float PCM with its learned `af_heart` voice.
16
-
17
- Model assets and runtime configuration for Glade. Python is export/measurement tooling, not an
18
- application dependency. Mac and iPhone qualification are included; Watch
19
- qualification is not claimed. Download weights and configuration from one snapshot.
20
-
21
- ## Bundle and execution
22
-
23
- INT8 text/prosody/acoustic weights use FP16 activations on ANE. The GPU waveform
24
- generator retains FP16 weights. CPU weights are stored as FP16 and expanded for
25
- FP32 recurrence and signal processing. The original 33-frame phase-locking filter
26
- remains enabled. Glade includes native American English pronunciation lookup and
27
- text planning; explicit phonemes remain available for controlled comparisons.
28
-
29
- `metadata.json` describes the 96-token/192-acoustic-frame capacities, masking,
30
- compute preferences and phase filter. Four source `.aimodel` files plus
31
- `cpu.f16`/`cpu.json` supply the model. The mixed bundle is approximately 11.9 MB.
32
- Over-capacity input reports an error; clients partition long phoneme input at
33
- appropriate pauses. Utterance-wide normalization excludes padding. No compiled cache or generated audio is included.
34
-
35
- ## Measured Mac performance
36
-
37
- M3 MacBook Air, 16 GB, macOS 27.0.1; warmed Release runtime. Input is the complete
38
- reference text of JFK's **“We choose to go to the Moon”** speech.
39
-
40
- | Runtime | Warm synthesis | RTFx |
41
- | --- | ---: | ---: |
42
- | Glade mixed-precision profile | 8.43 s | 95.6× |
43
- | Unchanged FluidAudio default on the same Mac | 47.37 s | 17.0× |
44
-
45
- RTFx uses each generated recording's duration. Timings include the text/acoustic
46
- runtime and native signal processing, excluding preparation, G2P and WAV writing.
47
- Both complete outputs pass a Cohere recognition check against the supplied text;
48
- that establishes coverage/coherence for this sample, not general MOS or voice
49
- similarity. Matched numerical controls qualify reduced precision separately.
50
- Traces show ANE execution in text, prosody and acoustic calls, with GPU generation.
51
-
52
- Source assets specialize on the device. No isolated pristine-cache specialization
53
- time is claimed for the packaged mixed profile. Source locations are stripped
54
- without changing graph signatures or operation statistics. No AoT cache is supplied.
55
-
56
- ## Measured iPhone performance
57
-
58
- iPhone 15 Pro Max (A17 Pro, 8 GB),iOS 27.0.1; Release, the same complete Moon-speech
59
- 240-chunk phoneme plan, voice and seed policy as the Mac control above. Three
60
- measured passes generate 13 min 25 s each; median synthesis is **8.53 s / 94.4× RTFx**.
61
- Thermal state remains nominal. Preparation, warmup, G2P and WAV writing are excluded.
62
-
63
- A separate device trace confirms ANE text, prosody and acoustic execution,
64
- with GPU waveform generation. Initial observed preparation is **4.75 s**;
65
- a later cached load is about **0.15 s**, without purging underlying compiler
66
- caches. Sampled client peak is **235 MiB**, including about 77 MB of benchmark
67
- PCM. Client/Metal ledgers exclude unattributed kernel and compiler/service
68
- resources. Repeated phone PCM is byte-identical; a full-output recognition
69
- check confirms speech coverage for this sample, not general perceptual quality.
70
 
71
  ## Attribution
72
 
73
- Weights revision: `f662642d44c03c17588e4176469c54d462c0b623`.
74
- Original implementation revision: `9c8b4d7504cbee7e64de2d0341bb690f0b0ab708`.
75
- Original model/source use Apache-2.0; see `LICENSE` and the upstream card.
76
- Conversion performs no additional training.
 
 
9
 
10
  # Paradee-8M for Glade
11
 
12
+ Model assets and runtime configuration for [Paradee-8M v1.0](https://huggingface.co/sahilmahendrakar/Paradee-8M-v1.0)
13
+ in Glade. This single-voice American English distillation of Kokoro accepts ordinary
14
+ text or explicit phonemes and produces mono 24 kHz PCM with its trained Heart voice.
15
+
16
+ ## Text and execution
17
+
18
+ The approximately **22.9 MB** download includes the American English Misaki
19
+ frontend: trained spaCy tokenization/POS, contextual lexical processing, number
20
+ handling and the original BART pronunciation fallback. No separate frontend
21
+ download or Python runtime is needed.
22
+
23
+ INT8 text, prosody and acoustic weights use FP16 activations on ANE. The GPU
24
+ waveform generator retains FP16 weights. CPU parameters use FP16 storage and FP32
25
+ recurrence/signal processing. The original 33-frame phase-locking filter remains
26
+ enabled; utterance normalization excludes padding.
27
+
28
+ `metadata.json` specifies the 96-token/192-acoustic-frame capacities, masking,
29
+ compute preferences and phase filter. Four `.aimodel` assets and `cpu.f16`/`cpu.json`
30
+ supply the neural/audio stages. Text is phonemized in context and partitioned at
31
+ the model's capacity; duration overflow is retried with smaller parts before PCM
32
+ delivery. The complete input is retained. No compiled cache is supplied.
33
+
34
+ ## Measured performance
35
+
36
+ Complete 2,201-word reference text of JFK's **“We choose to go to the Moon”** speech,
37
+ Heart voice, speed 1, seed 42, one synthesis lane, resident execution. Warmed
38
+ Release **text-to-audio** medians of three passes include phonemization, planning,
39
+ neural calls, recurrence and signal processing. Initial preparation, warmup and
40
+ WAV writing are separate.
41
+
42
+ | Device | Generated audio | Text-to-audio | RTFx |
43
+ | --- | ---: | ---: | ---: |
44
+ | M3 MacBook Air, 16 GB, macOS 27.0.1 | 13 min 30 s | 14.87 s | **54.4×** |
45
+ | iPhone 15 Pro Max, A17 Pro, 8 GB, iOS 27.0.1 | 13 min 30 s | 9.59 s | **84.4×** |
46
+
47
+ RTFx uses generated audio duration. The phone remained at nominal thermal state;
48
+ sampled client peak was **266 MiB**, including benchmark PCM and excluding
49
+ compiler/service memory. All three phone outputs were byte-identical. A separate
50
+ trace confirms ANE text/prosody/acoustic execution and GPU waveform generation.
51
+
52
+ Observed cached preparation was **0.30 s** on Mac and **0.31 s** on phone. Compiler
53
+ caches were not purged; these are **not cold specialization measurements**. First
54
+ use requires device specialization. Original frontend/numerical controls and
55
+ sample recognition checks qualify functionality, not general perceptual scores.
56
+ Watch qualification is not claimed.
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
  ## Attribution
59
 
60
+ Weights: `f662642d44c03c17588e4176469c54d462c0b623`.
61
+ Original implementation: `9c8b4d7504cbee7e64de2d0341bb690f0b0ab708`.
62
+ The original model/code and Misaki use Apache-2.0; trained frontend components
63
+ retain their bundled notices. No additional training is performed. Download
64
+ weights and configuration from one repository snapshot.
frontend/BART-LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
frontend/MISAKI-LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
frontend/NOTICE ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Misaki English G2P and pronunciation dictionaries: hexgrad, Apache-2.0.
2
+ Original BART fallback: PeterReid/graphemes_to_phonemes_en_us, Apache-2.0.
3
+ Original en_core_web_sm 3.8.0 tok2vec/tagger: Explosion, MIT.
4
+ See the included component licenses and spaCy source attributions.
5
+ The Swift frontend is independently implemented in Glade.
frontend/SPACY-LICENSE ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2021 ExplosionAI GmbH
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
frontend/SPACY-SOURCES ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # OntoNotes 5
2
+
3
+ * Author: Ralph Weischedel, Martha Palmer, Mitchell Marcus, Eduard Hovy, Sameer Pradhan, Lance Ramshaw, Nianwen Xue, Ann Taylor, Jeff Kaufman, Michelle Franchini, Mohammed El-Bachouti, Robert Belvin, Ann Houston
4
+ * URL: https://catalog.ldc.upenn.edu/LDC2013T19
5
+ * License: commercial (licensed by Explosion)
6
+
7
+ ```
8
+ ```
9
+
10
+
11
+
12
+
13
+ # ClearNLP Constituent-to-Dependency Conversion
14
+
15
+ * Author: Emory University
16
+ * URL: https://github.com/clir/clearnlp-guidelines/blob/master/md/components/dependency_conversion.md
17
+ * License: Citation provided for reference, no code packaged with model
18
+
19
+ ```
20
+ ```
21
+
22
+
23
+
24
+
25
+ # WordNet 3.0
26
+
27
+ * Author: Princeton University
28
+ * URL: https://wordnet.princeton.edu/
29
+ * License: WordNet 3.0 License
30
+
31
+ ```
32
+ WordNet Release 3.0
33
+
34
+ This software and database is being provided to you, the LICENSEE, by
35
+ Princeton University under the following license. By obtaining, using
36
+ and/or copying this software and database, you agree that you have
37
+ read, understood, and will comply with these terms and conditions.:
38
+
39
+ Permission to use, copy, modify and distribute this software and
40
+ database and its documentation for any purpose and without fee or
41
+ royalty is hereby granted, provided that you agree to comply with
42
+ the following copyright notice and statements, including the disclaimer,
43
+ and that the same appear on ALL copies of the software, database and
44
+ documentation, including modifications that you make for internal
45
+ use or for distribution.
46
+
47
+ WordNet 3.0 Copyright 2006 by Princeton University. All rights reserved.
48
+
49
+ THIS SOFTWARE AND DATABASE IS PROVIDED "AS IS" AND PRINCETON
50
+ UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
51
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PRINCETON
52
+ UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANT-
53
+ ABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE
54
+ OF THE LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL NOT
55
+ INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR
56
+ OTHER RIGHTS.
57
+
58
+ The name of Princeton University or Princeton may not be used in
59
+ advertising or publicity pertaining to distribution of the software
60
+ and/or database. Title to copyright in this software, database and
61
+ any associated documentation shall at all times remain with
62
+ Princeton University and LICENSEE agrees to preserve same.```
63
+
64
+
65
+
66
+
frontend/metadata.json ADDED
The diff for this file is too large to render. See raw diff
 
frontend/tensors.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"pos.embed.0":{"offset":0,"shape":[5000,96]},"pos.embed.1":{"offset":480000,"shape":[1000,96]},"pos.embed.2":{"offset":576000,"shape":[2500,96]},"pos.embed.3":{"offset":816000,"shape":[2500,96]},"pos.embed.4":{"offset":1056000,"shape":[50,96]},"pos.embed.5":{"offset":1060800,"shape":[50,96]},"pos.maxout.0.W":{"offset":1065600,"shape":[96,3,576]},"pos.maxout.0.b":{"offset":1231488,"shape":[96,3]},"pos.norm.0.G":{"offset":1231776,"shape":[96]},"pos.norm.0.b":{"offset":1231872,"shape":[96]},"pos.maxout.1.W":{"offset":1231968,"shape":[96,3,288]},"pos.maxout.1.b":{"offset":1314912,"shape":[96,3]},"pos.norm.1.G":{"offset":1315200,"shape":[96]},"pos.norm.1.b":{"offset":1315296,"shape":[96]},"pos.maxout.2.W":{"offset":1315392,"shape":[96,3,288]},"pos.maxout.2.b":{"offset":1398336,"shape":[96,3]},"pos.norm.2.G":{"offset":1398624,"shape":[96]},"pos.norm.2.b":{"offset":1398720,"shape":[96]},"pos.maxout.3.W":{"offset":1398816,"shape":[96,3,288]},"pos.maxout.3.b":{"offset":1481760,"shape":[96,3]},"pos.norm.3.G":{"offset":1482048,"shape":[96]},"pos.norm.3.b":{"offset":1482144,"shape":[96]},"pos.maxout.4.W":{"offset":1482240,"shape":[96,3,288]},"pos.maxout.4.b":{"offset":1565184,"shape":[96,3]},"pos.norm.4.G":{"offset":1565472,"shape":[96]},"pos.norm.4.b":{"offset":1565568,"shape":[96]},"pos.head.W":{"offset":1565664,"shape":[50,96]},"pos.head.b":{"offset":1570464,"shape":[50]},"bart.final_logits_bias":{"offset":1570514,"shape":[1,63]},"bart.model.decoder.embed_positions.weight":{"offset":1570577,"shape":[66,128]},"bart.model.decoder.layernorm_embedding.bias":{"offset":1579025,"shape":[128]},"bart.model.decoder.layernorm_embedding.weight":{"offset":1579153,"shape":[128]},"bart.model.decoder.layers.0.encoder_attn.k_proj.bias":{"offset":1579281,"shape":[128]},"bart.model.decoder.layers.0.encoder_attn.k_proj.weight":{"offset":1579409,"shape":[128,128]},"bart.model.decoder.layers.0.encoder_attn.out_proj.bias":{"offset":1595793,"shape":[128]},"bart.model.decoder.layers.0.encoder_attn.out_proj.weight":{"offset":1595921,"shape":[128,128]},"bart.model.decoder.layers.0.encoder_attn.q_proj.bias":{"offset":1612305,"shape":[128]},"bart.model.decoder.layers.0.encoder_attn.q_proj.weight":{"offset":1612433,"shape":[128,128]},"bart.model.decoder.layers.0.encoder_attn.v_proj.bias":{"offset":1628817,"shape":[128]},"bart.model.decoder.layers.0.encoder_attn.v_proj.weight":{"offset":1628945,"shape":[128,128]},"bart.model.decoder.layers.0.encoder_attn_layer_norm.bias":{"offset":1645329,"shape":[128]},"bart.model.decoder.layers.0.encoder_attn_layer_norm.weight":{"offset":1645457,"shape":[128]},"bart.model.decoder.layers.0.fc1.bias":{"offset":1645585,"shape":[1024]},"bart.model.decoder.layers.0.fc1.weight":{"offset":1646609,"shape":[1024,128]},"bart.model.decoder.layers.0.fc2.bias":{"offset":1777681,"shape":[128]},"bart.model.decoder.layers.0.fc2.weight":{"offset":1777809,"shape":[128,1024]},"bart.model.decoder.layers.0.final_layer_norm.bias":{"offset":1908881,"shape":[128]},"bart.model.decoder.layers.0.final_layer_norm.weight":{"offset":1909009,"shape":[128]},"bart.model.decoder.layers.0.self_attn.k_proj.bias":{"offset":1909137,"shape":[128]},"bart.model.decoder.layers.0.self_attn.k_proj.weight":{"offset":1909265,"shape":[128,128]},"bart.model.decoder.layers.0.self_attn.out_proj.bias":{"offset":1925649,"shape":[128]},"bart.model.decoder.layers.0.self_attn.out_proj.weight":{"offset":1925777,"shape":[128,128]},"bart.model.decoder.layers.0.self_attn.q_proj.bias":{"offset":1942161,"shape":[128]},"bart.model.decoder.layers.0.self_attn.q_proj.weight":{"offset":1942289,"shape":[128,128]},"bart.model.decoder.layers.0.self_attn.v_proj.bias":{"offset":1958673,"shape":[128]},"bart.model.decoder.layers.0.self_attn.v_proj.weight":{"offset":1958801,"shape":[128,128]},"bart.model.decoder.layers.0.self_attn_layer_norm.bias":{"offset":1975185,"shape":[128]},"bart.model.decoder.layers.0.self_attn_layer_norm.weight":{"offset":1975313,"shape":[128]},"bart.model.encoder.embed_positions.weight":{"offset":1975441,"shape":[66,128]},"bart.model.encoder.layernorm_embedding.bias":{"offset":1983889,"shape":[128]},"bart.model.encoder.layernorm_embedding.weight":{"offset":1984017,"shape":[128]},"bart.model.encoder.layers.0.fc1.bias":{"offset":1984145,"shape":[1024]},"bart.model.encoder.layers.0.fc1.weight":{"offset":1985169,"shape":[1024,128]},"bart.model.encoder.layers.0.fc2.bias":{"offset":2116241,"shape":[128]},"bart.model.encoder.layers.0.fc2.weight":{"offset":2116369,"shape":[128,1024]},"bart.model.encoder.layers.0.final_layer_norm.bias":{"offset":2247441,"shape":[128]},"bart.model.encoder.layers.0.final_layer_norm.weight":{"offset":2247569,"shape":[128]},"bart.model.encoder.layers.0.self_attn.k_proj.bias":{"offset":2247697,"shape":[128]},"bart.model.encoder.layers.0.self_attn.k_proj.weight":{"offset":2247825,"shape":[128,128]},"bart.model.encoder.layers.0.self_attn.out_proj.bias":{"offset":2264209,"shape":[128]},"bart.model.encoder.layers.0.self_attn.out_proj.weight":{"offset":2264337,"shape":[128,128]},"bart.model.encoder.layers.0.self_attn.q_proj.bias":{"offset":2280721,"shape":[128]},"bart.model.encoder.layers.0.self_attn.q_proj.weight":{"offset":2280849,"shape":[128,128]},"bart.model.encoder.layers.0.self_attn.v_proj.bias":{"offset":2297233,"shape":[128]},"bart.model.encoder.layers.0.self_attn.v_proj.weight":{"offset":2297361,"shape":[128,128]},"bart.model.encoder.layers.0.self_attn_layer_norm.bias":{"offset":2313745,"shape":[128]},"bart.model.encoder.layers.0.self_attn_layer_norm.weight":{"offset":2313873,"shape":[128]},"bart.model.shared.weight":{"offset":2314001,"shape":[63,128]}}
frontend/us_gold.json.zlib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c1209bcdba25517f732af800c6be1d16c187e4f8b9450438e0a726eb09d1c86
3
+ size 733599
frontend/us_silver.json.zlib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f3b869a650a46a974b5cd4e8d90c8f42bdbda854f3a0995f22347a59151eaf0
3
+ size 691910
frontend/weights.f32 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9abc3c3d3a03e68401becdb4398f860e6b83cbff13855b7e58d5292f9eb7d884
3
+ size 9288260
metadata.json CHANGED
@@ -150,5 +150,12 @@
150
  "prosody": "neural_engine",
151
  "acoustic": "neural_engine",
152
  "vocoder": "gpu"
 
 
 
 
 
 
 
153
  }
154
  }
 
150
  "prosody": "neural_engine",
151
  "acoustic": "neural_engine",
152
  "vocoder": "gpu"
153
+ },
154
+ "frontend": {
155
+ "format": "misaki-v1",
156
+ "directory": "frontend",
157
+ "languages": [
158
+ "en-US"
159
+ ]
160
  }
161
  }