diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..531c95bdb639e27404d285adb83619753443ffcf --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, +and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by +the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all +other entities that control, are controlled by, or are under common +control with that entity. For the purposes of this definition, +"control" means (i) the power, direct or indirect, to cause the +direction or management of such entity, whether by contract or +otherwise, or (ii) ownership of fifty percent (50%) or more of the +outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity +exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, +including but not limited to software source code, documentation +source, and configuration files. + +"Object" form shall mean any form resulting from mechanical +transformation or translation of a Source form, including but +not limited to compiled object code, generated documentation, +and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or +Object form, made available under the License, as indicated by a +copyright notice that is included in or attached to the work +(an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object +form, that is based on (or derived from) the Work and for which the +editorial revisions, annotations, elaborations, or other modifications +represent, as a whole, an original work of authorship. For the purposes +of this License, Derivative Works shall not include works that remain +separable from, or merely link (or bind by name) to the interfaces of, +the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including +the original version of the Work and any modifications or additions +to that Work or Derivative Works thereof, that is intentionally +submitted to Licensor for inclusion in the Work by the copyright owner +or by an individual or Legal Entity authorized to submit on behalf of +the copyright owner. For the purposes of this definition, "submitted" +means any form of electronic, verbal, or written communication sent +to the Licensor or its representatives, including but not limited to +communication on electronic mailing lists, source code control systems, +and issue tracking systems that are managed by, or on behalf of, the +Licensor for the purpose of discussing and improving the Work, but +excluding communication that is conspicuously marked or otherwise +designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity +on behalf of whom a Contribution has been received by Licensor and +subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of +this License, each Contributor hereby grants to You a perpetual, +worldwide, non-exclusive, no-charge, royalty-free, irrevocable +copyright license to reproduce, prepare Derivative Works of, +publicly display, publicly perform, sublicense, and distribute the +Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of +this License, each Contributor hereby grants to You a perpetual, +worldwide, non-exclusive, no-charge, royalty-free, irrevocable +(except as stated in this section) patent license to make, have made, +use, offer to sell, sell, import, and otherwise transfer the Work, +where such license applies only to those patent claims licensable +by such Contributor that are necessarily infringed by their +Contribution(s) alone or by combination of their Contribution(s) +with the Work to which such Contribution(s) was submitted. If You +institute patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the Work +or a Contribution incorporated within the Work constitutes direct +or contributory patent infringement, then any patent licenses +granted to You under this License for that Work shall terminate +as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the +Work or Derivative Works thereof in any medium, with or without +modifications, and in Source or Object form, provided that You +meet the following conditions: + +(a) You must give any other recipients of the Work or +Derivative Works a copy of this License; and + +(b) You must cause any modified files to carry prominent notices +stating that You changed the files; and + +(c) You must retain, in the Source form of any Derivative Works +that You distribute, all copyright, patent, trademark, and +attribution notices from the Source form of the Work, +excluding those notices that do not pertain to any part of +the Derivative Works; and + +(d) If the Work includes a "NOTICE" text file as part of its +distribution, then any Derivative Works that You distribute must +include a readable copy of the attribution notices contained +within such NOTICE file, excluding those notices that do not +pertain to any part of the Derivative Works, in at least one +of the following places: within a NOTICE text file distributed +as part of the Derivative Works; within the Source form or +documentation, if provided along with the Derivative Works; or, +within a display generated by the Derivative Works, if and +wherever such third-party notices normally appear. The contents +of the NOTICE file are for informational purposes only and +do not modify the License. You may add Your own attribution +notices within Derivative Works that You distribute, alongside +or as an addendum to the NOTICE text from the Work, provided +that such additional attribution notices cannot be construed +as modifying the License. + +You may add Your own copyright statement to Your modifications and +may provide additional or different license terms and conditions +for use, reproduction, or distribution of Your modifications, or +for any such Derivative Works as a whole, provided Your use, +reproduction, and distribution of the Work otherwise complies with +the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, +any Contribution intentionally submitted for inclusion in the Work +by You to the Licensor shall be under the terms and conditions of +this License, without any additional terms or conditions. +Notwithstanding the above, nothing herein shall supersede or modify +the terms of any separate license agreement you may have executed +with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade +names, trademarks, service marks, or product names of the Licensor, +except as required for reasonable and customary use in describing the +origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or +agreed to in writing, Licensor provides the Work (and each +Contributor provides its Contributions) on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied, including, without limitation, any warranties or conditions +of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A +PARTICULAR PURPOSE. You are solely responsible for determining the +appropriateness of using or redistributing the Work and assume any +risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, +whether in tort (including negligence), contract, or otherwise, +unless required by applicable law (such as deliberate and grossly +negligent acts) or agreed to in writing, shall any Contributor be +liable to You for damages, including any direct, indirect, special, +incidental, or consequential damages of any character arising as a +result of this License or out of the use or inability to use the +Work (including but not limited to damages for loss of goodwill, +work stoppage, computer failure or malfunction, or any and all +other commercial damages or losses), even if such Contributor +has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing +the Work or Derivative Works thereof, You may choose to offer, +and charge a fee for, acceptance of support, warranty, indemnity, +or other liability obligations and/or rights consistent with this +License. However, in accepting such obligations, You may act only +on Your own behalf and on Your sole responsibility, not on behalf +of any other Contributor, and only if You agree to indemnify, +defend, and hold each Contributor harmless for any liability +incurred by, or claims asserted against, such Contributor by reason +of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following +boilerplate notice, with the fields enclosed by brackets "{}" +replaced with your own identifying information. (Don't include +the brackets.) The text should be enclosed in the appropriate +comment syntax for the file format. We also recommend that a +file or class name and description of purpose be included on the +same "printed page" as the copyright notice for easier +identification within third-party archives. + +Copyright {yyyy} {name of copyright owner} + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e7b4dc6daa517a0f934ad977f1476590101a5f68 --- /dev/null +++ b/README.md @@ -0,0 +1,73 @@ +--- +license: apache-2.0 +language: + - en +pipeline_tag: text-to-speech +tags: + - coreml + - tts + - vits + - apple-silicon + - ane +base_model: + - owensong/Inflect-Micro-v2 + - owensong/Inflect-Nano-v2 +--- + +# Inflect v2 CoreML (Micro + Nano) + +Fixed-shape CoreML conversion of [Inflect-Micro-v2](https://huggingface.co/owensong/Inflect-Micro-v2) +(9.36M params) and [Inflect-Nano-v2](https://huggingface.co/owensong/Inflect-Nano-v2) (3.97M params) — +ultra-tiny VITS-family end-to-end English TTS, 24 kHz mono, fp16. + +Converted by [FluidInference](https://huggingface.co/FluidInference) (mobius); +conversion pipeline, parity checks, and benchmark harness live in the +`models/tts/inflect-v2/coreml/` directory of the mobius repo. + +## Contents + +``` +micro/ 9.4M params, ~19 MB fp16 total per graph set + encoder.mlpackage tokens+mask -> m_p, logs_p, logw [t_text=512] + synthesizer_f{256,384,512,640,768,896,1024,2048}.mlpackage + z_p+mask -> waveform [bucket frames x 256 samples] + upstream_config.json +nano/ 4.0M params, ~8 MB fp16 per graph set (same layout) +symbols.json keithito-style symbol table (178 symbols, add_blank interspersal) +LICENSE Apache-2.0 (upstream) +``` + +## Inference pipeline + +Two deterministic models with everything stochastic or dynamically shaped on the host: + +1. espeak-ng `en-us` phonemization (with stress) → symbol ids → intersperse blanks (`pad_id=0`) → pad to 512. +2. `encoder`: → `m_p`, `logs_p`, `logw`. +3. Host: `w = ceil(exp(logw))/speed`; repeat-expand `m_p`/`logs_p` to `y_len` frames; + `z_p = m_p + randn * exp(logs_p) * noise_scale` (default 0.667). +4. Pick the smallest synthesizer bucket ≥ `y_len`; zero-pad `z_p`, mask valid frames. +5. `synthesizer`: reverse coupling flow + HiFiGAN → waveform; trim to `y_len * 256` samples. + +Buckets are fixed-shape for ANE compatibility; at 128-frame granularity padding +overhead is within ~5% of exact-shape synthesis. + +## Benchmarks (M5 Pro, macOS 26.6, GPU, MiniMax-English 100 phrases) + +| Variant | Synth p50 / p95 | Agg RTFx | WER* | CER* | +|---|---|---|---|---| +| Micro | 25.7 / 35.5 ms | 245× | 1.43% | 0.44% | +| Nano | 13.2 / 16.9 ms | 460× | 1.92% | 0.57% | + +\* Parakeet TDT v3 roundtrip, same scoring path as the +[FluidAudio](https://github.com/FluidInference/FluidAudio) TTS benchmarks. +fp16 parity vs the PyTorch reference: audio correlation > 0.9999, predicted +durations bit-identical. + +## Notes + +- ANE: the synthesizer's waveform-rate tensors exceed the ANE width limit + (W ≤ 65536) above the 256-frame bucket; f256 reaches 77% ANE residency, + larger buckets run on GPU (which is faster at every size on M-series). +- English only, one voice per variant, no cloning. Sample rate 24 kHz. +- Upstream weights and frontend: Apache-2.0, © the Inflect authors. This repo + redistributes converted weights under the same license. diff --git a/micro/encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel b/micro/encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..68c9335a860ad45558a4ce5b40891ea8b008d0b3 --- /dev/null +++ b/micro/encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c477b8b44659a9842e2dbf4c1716550bddb05ff5aa57d63808df2c24024bb734 +size 82069 diff --git a/micro/encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/micro/encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..d20508e0cf49fc8f297f379218793895b0db8484 --- /dev/null +++ b/micro/encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb58e350102274ec50f4027e3a8488075a5af0bf14ce43b7f0af7f2cfeab2c19 +size 4131840 diff --git a/micro/encoder.mlpackage/Manifest.json b/micro/encoder.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..bfdd818ebc623ed2f2efab61fcbe3aeb232447b8 --- /dev/null +++ b/micro/encoder.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "2536FBA3-FD9D-4BEF-A1F0-7D8C7C6A860A": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + }, + "8B90C7A4-23A5-41D4-A90C-9963C94D34C7": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + } + }, + "rootModelIdentifier": "2536FBA3-FD9D-4BEF-A1F0-7D8C7C6A860A" +} diff --git a/micro/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/model.mlmodel b/micro/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..bc14d527a5b0bb0fc8cc72c0cf3e52506518c9a0 --- /dev/null +++ b/micro/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8eaf0868b51c990149bfe482d8fe388f71d1bdc57b52f06eb547022193a454dc +size 236296 diff --git a/micro/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/micro/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..84696cd898abffd286542cb6a9739693e56516ef --- /dev/null +++ b/micro/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7ef4ad0f9258746904f9e69e88fd2f1f13b32b81fe5db0dae9c4c1477a6d0c0 +size 15163864 diff --git a/micro/synthesizer_f1024.mlpackage/Manifest.json b/micro/synthesizer_f1024.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..4538f9c836795f9c5f3c12fb9347dae995d63815 --- /dev/null +++ b/micro/synthesizer_f1024.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "268E6173-F8DF-4F66-9106-81DF7505EC78": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + }, + "3DC79D30-EC8D-4C75-846F-73F07D07741B": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + } + }, + "rootModelIdentifier": "3DC79D30-EC8D-4C75-846F-73F07D07741B" +} diff --git a/micro/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/model.mlmodel b/micro/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..41aba4c70bada7882391750044ffd0f0172a4222 --- /dev/null +++ b/micro/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a084936fa0cda076f60b1a9e5fa4c5c3eb349a2692a99c999c72f867ecd2c7dd +size 236345 diff --git a/micro/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/micro/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..84696cd898abffd286542cb6a9739693e56516ef --- /dev/null +++ b/micro/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7ef4ad0f9258746904f9e69e88fd2f1f13b32b81fe5db0dae9c4c1477a6d0c0 +size 15163864 diff --git a/micro/synthesizer_f2048.mlpackage/Manifest.json b/micro/synthesizer_f2048.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..8bdd3e59caedf6fa2b8dd5310e6e9adfb0ab9484 --- /dev/null +++ b/micro/synthesizer_f2048.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "3B7B23B4-1FC2-4AEB-A4CE-87CCF6DBDC22": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + }, + "C5A7BDE6-7E29-4A7C-96A1-EDF55C9D2171": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + } + }, + "rootModelIdentifier": "3B7B23B4-1FC2-4AEB-A4CE-87CCF6DBDC22" +} diff --git a/micro/synthesizer_f256.mlpackage/Data/com.apple.CoreML/model.mlmodel b/micro/synthesizer_f256.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..be34aee61be69656c392ae28bb1f7a059c677e2f --- /dev/null +++ b/micro/synthesizer_f256.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f04740b0f5ceba0777ba8a127c8db52229719c078139d205689a2d5079988d9 +size 236296 diff --git a/micro/synthesizer_f256.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/micro/synthesizer_f256.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..84696cd898abffd286542cb6a9739693e56516ef --- /dev/null +++ b/micro/synthesizer_f256.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7ef4ad0f9258746904f9e69e88fd2f1f13b32b81fe5db0dae9c4c1477a6d0c0 +size 15163864 diff --git a/micro/synthesizer_f256.mlpackage/Manifest.json b/micro/synthesizer_f256.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..e504228f1246b1af6d43c26d58acfd73bab66bc4 --- /dev/null +++ b/micro/synthesizer_f256.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "7D065724-83DF-4F02-88EF-A20889E595EB": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + }, + "CDBC141E-9DEF-4B0C-8EF9-CB7782D7BB7E": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + } + }, + "rootModelIdentifier": "7D065724-83DF-4F02-88EF-A20889E595EB" +} diff --git a/micro/synthesizer_f384.mlpackage/Data/com.apple.CoreML/model.mlmodel b/micro/synthesizer_f384.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..0a5f9d65f2e24370ec51df6a700193b11e4bf51a --- /dev/null +++ b/micro/synthesizer_f384.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0dedb0c4316370022e8c1a51f48b5093d866b054a6428c459b9eed347de1b97 +size 236601 diff --git a/micro/synthesizer_f384.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/micro/synthesizer_f384.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..84696cd898abffd286542cb6a9739693e56516ef --- /dev/null +++ b/micro/synthesizer_f384.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7ef4ad0f9258746904f9e69e88fd2f1f13b32b81fe5db0dae9c4c1477a6d0c0 +size 15163864 diff --git a/micro/synthesizer_f384.mlpackage/Manifest.json b/micro/synthesizer_f384.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..28f50667cfbfddaa5e8de5d5489507f40b1138b1 --- /dev/null +++ b/micro/synthesizer_f384.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "9D80452F-53D5-4B28-8A7C-24BB18CA460B": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + }, + "D8A6E01C-33D5-48BE-A0AA-E263D79C2B88": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + } + }, + "rootModelIdentifier": "9D80452F-53D5-4B28-8A7C-24BB18CA460B" +} diff --git a/micro/synthesizer_f512.mlpackage/Data/com.apple.CoreML/model.mlmodel b/micro/synthesizer_f512.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..3874816caf1696ec968c2a0a0b8e1576ee2b3be9 --- /dev/null +++ b/micro/synthesizer_f512.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bdd607d76aac9529f9d686f99938a546cb43e04870c6a9f5dfb30fb4d8e5b5d +size 236296 diff --git a/micro/synthesizer_f512.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/micro/synthesizer_f512.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..84696cd898abffd286542cb6a9739693e56516ef --- /dev/null +++ b/micro/synthesizer_f512.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7ef4ad0f9258746904f9e69e88fd2f1f13b32b81fe5db0dae9c4c1477a6d0c0 +size 15163864 diff --git a/micro/synthesizer_f512.mlpackage/Manifest.json b/micro/synthesizer_f512.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..9888f577d24b86aa862084b058c06436bcd8d180 --- /dev/null +++ b/micro/synthesizer_f512.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "769E9902-9246-4FCD-A8E7-1FE2F56F8484": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + }, + "D607AD72-61C4-4036-B626-BA733F1F1A0B": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + } + }, + "rootModelIdentifier": "769E9902-9246-4FCD-A8E7-1FE2F56F8484" +} diff --git a/micro/synthesizer_f640.mlpackage/Data/com.apple.CoreML/model.mlmodel b/micro/synthesizer_f640.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..1ff2a6fffbe7572c274bc87ab3e02e498d477f6a --- /dev/null +++ b/micro/synthesizer_f640.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db8344c705d399ae365e712a603bede2faba38aee73a837ffde94ca66dea904e +size 236601 diff --git a/micro/synthesizer_f640.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/micro/synthesizer_f640.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..84696cd898abffd286542cb6a9739693e56516ef --- /dev/null +++ b/micro/synthesizer_f640.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7ef4ad0f9258746904f9e69e88fd2f1f13b32b81fe5db0dae9c4c1477a6d0c0 +size 15163864 diff --git a/micro/synthesizer_f640.mlpackage/Manifest.json b/micro/synthesizer_f640.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..ee0927259729a0988eeae8f68689bdff449bf2cd --- /dev/null +++ b/micro/synthesizer_f640.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "7A02020F-8BF6-4D5E-ACCA-87E25C5070BD": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + }, + "CA6ED2AD-363F-455D-BE7E-144C155C3DA8": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + } + }, + "rootModelIdentifier": "CA6ED2AD-363F-455D-BE7E-144C155C3DA8" +} diff --git a/micro/synthesizer_f768.mlpackage/Data/com.apple.CoreML/model.mlmodel b/micro/synthesizer_f768.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..42a060b7f4e492d54e4645655a20b533168942dc --- /dev/null +++ b/micro/synthesizer_f768.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7932f587e722d60f311a40d4a05c19901ffc57ac8584d5c3b91a9ef545065ff9 +size 236601 diff --git a/micro/synthesizer_f768.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/micro/synthesizer_f768.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..84696cd898abffd286542cb6a9739693e56516ef --- /dev/null +++ b/micro/synthesizer_f768.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7ef4ad0f9258746904f9e69e88fd2f1f13b32b81fe5db0dae9c4c1477a6d0c0 +size 15163864 diff --git a/micro/synthesizer_f768.mlpackage/Manifest.json b/micro/synthesizer_f768.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..25632815caba74405b96ca88173926bdf3e0c0cb --- /dev/null +++ b/micro/synthesizer_f768.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "30384264-603A-4A76-B574-BD153EEC9783": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + }, + "EB9126E4-1D38-4064-BFBC-E2526B1A837C": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + } + }, + "rootModelIdentifier": "30384264-603A-4A76-B574-BD153EEC9783" +} diff --git a/micro/synthesizer_f896.mlpackage/Data/com.apple.CoreML/model.mlmodel b/micro/synthesizer_f896.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..f88f4bb77d53fee151659af0cfd02e00209ac9d8 --- /dev/null +++ b/micro/synthesizer_f896.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:985125080505d47b5222f45d09a3f1962684484552d305eb5d6763b8e4c26cfc +size 236601 diff --git a/micro/synthesizer_f896.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/micro/synthesizer_f896.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..84696cd898abffd286542cb6a9739693e56516ef --- /dev/null +++ b/micro/synthesizer_f896.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7ef4ad0f9258746904f9e69e88fd2f1f13b32b81fe5db0dae9c4c1477a6d0c0 +size 15163864 diff --git a/micro/synthesizer_f896.mlpackage/Manifest.json b/micro/synthesizer_f896.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..3eef42bb7c58399cb050ebdceaa9d9072310f03c --- /dev/null +++ b/micro/synthesizer_f896.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "0C685287-7B90-4C2E-BAE1-A14722B22EC1": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + }, + "BA99867B-F916-44FB-9882-60F01B85181E": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + } + }, + "rootModelIdentifier": "BA99867B-F916-44FB-9882-60F01B85181E" +} diff --git a/micro/upstream_config.json b/micro/upstream_config.json new file mode 100644 index 0000000000000000000000000000000000000000..c17df6df3cda9daef831dc4321923d7b3cbe19ec --- /dev/null +++ b/micro/upstream_config.json @@ -0,0 +1,69 @@ +{ + "format": "inflect_v2_inference_config_v1", + "train": { + "segment_size": 16384 + }, + "data": { + "text_cleaners": [], + "max_wav_value": 32768.0, + "sampling_rate": 24000, + "filter_length": 1024, + "hop_length": 256, + "win_length": 1024, + "n_mel_channels": 80, + "mel_fmin": 0.0, + "mel_fmax": 12000.0, + "add_blank": true, + "n_speakers": 0, + "cleaned_text": true + }, + "model": { + "inter_channels": 192, + "hidden_channels": 96, + "filter_channels": 768, + "n_heads": 2, + "n_layers": 3, + "kernel_size": 3, + "p_dropout": 0.1, + "resblock": "1", + "resblock_kernel_sizes": [ + 3, + 7, + 11 + ], + "resblock_dilation_sizes": [ + [ + 1, + 3, + 5 + ], + [ + 1, + 3, + 5 + ], + [ + 1, + 3, + 5 + ] + ], + "upsample_rates": [ + 8, + 8, + 2, + 2 + ], + "upsample_initial_channel": 320, + "upsample_kernel_sizes": [ + 16, + 16, + 4, + 4 + ], + "n_layers_q": 3, + "use_spectral_norm": false, + "use_sdp": false, + "inference_only": true + } +} diff --git a/nano/encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel b/nano/encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..2472c2e7d3b9921e218b294499b47e0335af46f5 --- /dev/null +++ b/nano/encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9eb15c18ad2e6e6f17639416b1accb3bf7f190a920211acd0189cc2bca1c3806 +size 82041 diff --git a/nano/encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/nano/encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..45863433bddca1c81f1ca26765c79bfe3df10db3 --- /dev/null +++ b/nano/encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8572614b46a917a8f55400b15d4af3a446c16adf58cb6a566d8774f1b2c6186 +size 2143936 diff --git a/nano/encoder.mlpackage/Manifest.json b/nano/encoder.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..7d670cf52c69e6b5271f0247bdebdcec0a936688 --- /dev/null +++ b/nano/encoder.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "449796BD-CF97-474E-BCA5-4B097E045322": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + }, + "5B37B674-FB98-4947-B0DC-5AC98614B141": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + } + }, + "rootModelIdentifier": "5B37B674-FB98-4947-B0DC-5AC98614B141" +} diff --git a/nano/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/model.mlmodel b/nano/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..784b8f5e5971806cc294f433c673911b42967eb9 --- /dev/null +++ b/nano/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3df173f394f9b50bfa329b4d77fa2089dbadbdb4436d180d1284646645c4f8a5 +size 236097 diff --git a/nano/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/nano/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..3cb111a98cfffee871700ff2980b501e1e79e6d7 --- /dev/null +++ b/nano/synthesizer_f1024.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0e8562d311cd98c3fed52c113f2f7d37afa3209e14d74c332a7ead3fe8c9d72 +size 6236008 diff --git a/nano/synthesizer_f1024.mlpackage/Manifest.json b/nano/synthesizer_f1024.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..6fdb311d52314b166bcff63a7c437e5742b3c519 --- /dev/null +++ b/nano/synthesizer_f1024.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "7D716705-DB15-412F-BCE9-C6FAB931C8EE": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + }, + "9CF5145A-AA57-4724-ABD1-DBB744E0BD6C": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + } + }, + "rootModelIdentifier": "7D716705-DB15-412F-BCE9-C6FAB931C8EE" +} diff --git a/nano/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/model.mlmodel b/nano/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..a3f9c293e134141b9ff6132a0feb8ab812093554 --- /dev/null +++ b/nano/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12cb668cf6502d7dc109d6e928d4911c000f6ff182ebdfdf3b43a2754d1703a7 +size 236146 diff --git a/nano/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/nano/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..3cb111a98cfffee871700ff2980b501e1e79e6d7 --- /dev/null +++ b/nano/synthesizer_f2048.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0e8562d311cd98c3fed52c113f2f7d37afa3209e14d74c332a7ead3fe8c9d72 +size 6236008 diff --git a/nano/synthesizer_f2048.mlpackage/Manifest.json b/nano/synthesizer_f2048.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..770176c292c0c585a40f6608f67d7d6ec3289984 --- /dev/null +++ b/nano/synthesizer_f2048.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "39477CA3-B4BE-453C-BF73-3D24B433FE02": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + }, + "FF3CCC20-876F-48AE-972E-F28990B7657A": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + } + }, + "rootModelIdentifier": "39477CA3-B4BE-453C-BF73-3D24B433FE02" +} diff --git a/nano/synthesizer_f256.mlpackage/Data/com.apple.CoreML/model.mlmodel b/nano/synthesizer_f256.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..215352f16787d2f3bbcca97f3739b82103768966 --- /dev/null +++ b/nano/synthesizer_f256.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94fe4ac2166cb9da4df62739223a2044ec4eac921a0f517f3f6a9e566bb14801 +size 236097 diff --git a/nano/synthesizer_f256.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/nano/synthesizer_f256.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..3cb111a98cfffee871700ff2980b501e1e79e6d7 --- /dev/null +++ b/nano/synthesizer_f256.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0e8562d311cd98c3fed52c113f2f7d37afa3209e14d74c332a7ead3fe8c9d72 +size 6236008 diff --git a/nano/synthesizer_f256.mlpackage/Manifest.json b/nano/synthesizer_f256.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..4b0ff283b8b725263b71aaba7709e596fc21be22 --- /dev/null +++ b/nano/synthesizer_f256.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "8EB97517-1604-48D8-986B-D4969C01E160": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + }, + "E0734AEC-D703-4D8A-AFD1-CAEDE9304ADD": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + } + }, + "rootModelIdentifier": "E0734AEC-D703-4D8A-AFD1-CAEDE9304ADD" +} diff --git a/nano/synthesizer_f384.mlpackage/Data/com.apple.CoreML/model.mlmodel b/nano/synthesizer_f384.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..cb912815814b7d2bb96d8edf680ae64f4166dacc --- /dev/null +++ b/nano/synthesizer_f384.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a3860ee62ef1d1e5650dca730d47b06cab2e8b456a00f535c6481cbdd97226b +size 236402 diff --git a/nano/synthesizer_f384.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/nano/synthesizer_f384.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..3cb111a98cfffee871700ff2980b501e1e79e6d7 --- /dev/null +++ b/nano/synthesizer_f384.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0e8562d311cd98c3fed52c113f2f7d37afa3209e14d74c332a7ead3fe8c9d72 +size 6236008 diff --git a/nano/synthesizer_f384.mlpackage/Manifest.json b/nano/synthesizer_f384.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..d36234c6428988a7aa974a0fa3bf87805769197c --- /dev/null +++ b/nano/synthesizer_f384.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "7C3919FD-233D-426B-9C14-4CBE3A608FB5": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + }, + "E15AD309-3C78-4C25-B1D5-736412E2EAA2": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + } + }, + "rootModelIdentifier": "7C3919FD-233D-426B-9C14-4CBE3A608FB5" +} diff --git a/nano/synthesizer_f512.mlpackage/Data/com.apple.CoreML/model.mlmodel b/nano/synthesizer_f512.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..9596e5d13deb5fbc6397af37fcbc0b27ad4d6093 --- /dev/null +++ b/nano/synthesizer_f512.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e54430f140d62de23f4fce40d5110f392e1f4bb57136512f08b0413929b6478 +size 236097 diff --git a/nano/synthesizer_f512.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/nano/synthesizer_f512.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..3cb111a98cfffee871700ff2980b501e1e79e6d7 --- /dev/null +++ b/nano/synthesizer_f512.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0e8562d311cd98c3fed52c113f2f7d37afa3209e14d74c332a7ead3fe8c9d72 +size 6236008 diff --git a/nano/synthesizer_f512.mlpackage/Manifest.json b/nano/synthesizer_f512.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..e5275c59c2c0d58ed5c3e8d8a25cc1d0e53259fa --- /dev/null +++ b/nano/synthesizer_f512.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "12029ABE-0E56-4C46-9A59-8EBBF96CFD48": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + }, + "D6A98B2D-4ABE-46E3-B1BA-07B89B206A64": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + } + }, + "rootModelIdentifier": "D6A98B2D-4ABE-46E3-B1BA-07B89B206A64" +} diff --git a/nano/synthesizer_f640.mlpackage/Data/com.apple.CoreML/model.mlmodel b/nano/synthesizer_f640.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..4c9303c3f4b4421795cdbb8ca40ec38f9e7f3942 --- /dev/null +++ b/nano/synthesizer_f640.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e716885f96c619e0d73e688272bce2eb2b227c4b93a560255d9cda462cde7e80 +size 236402 diff --git a/nano/synthesizer_f640.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/nano/synthesizer_f640.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..3cb111a98cfffee871700ff2980b501e1e79e6d7 --- /dev/null +++ b/nano/synthesizer_f640.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0e8562d311cd98c3fed52c113f2f7d37afa3209e14d74c332a7ead3fe8c9d72 +size 6236008 diff --git a/nano/synthesizer_f640.mlpackage/Manifest.json b/nano/synthesizer_f640.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..6252d95d73d205ba40f2ceafb2b25664b5a5a84a --- /dev/null +++ b/nano/synthesizer_f640.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "9153F867-F698-4B1F-84D8-32E00CF23A75": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + }, + "FD59A8A6-38A6-45C2-9EF1-BFF5C6754B25": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + } + }, + "rootModelIdentifier": "FD59A8A6-38A6-45C2-9EF1-BFF5C6754B25" +} diff --git a/nano/synthesizer_f768.mlpackage/Data/com.apple.CoreML/model.mlmodel b/nano/synthesizer_f768.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..aa81e578100a9cd3cb921ad53fa4ed5be5d2c2bf --- /dev/null +++ b/nano/synthesizer_f768.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:814f98a46e0fdfa6f451126ca6955aba24179da1d9ab86e0b332064700122dbd +size 236402 diff --git a/nano/synthesizer_f768.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/nano/synthesizer_f768.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..3cb111a98cfffee871700ff2980b501e1e79e6d7 --- /dev/null +++ b/nano/synthesizer_f768.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0e8562d311cd98c3fed52c113f2f7d37afa3209e14d74c332a7ead3fe8c9d72 +size 6236008 diff --git a/nano/synthesizer_f768.mlpackage/Manifest.json b/nano/synthesizer_f768.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..e14277a693d9b80732dbc071521a7af5c1d1f75b --- /dev/null +++ b/nano/synthesizer_f768.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "B7F04522-1733-4BDE-99E6-52C1DEB9C407": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + }, + "EEFE366C-152B-4248-ADE7-01CF6F6FA319": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + } + }, + "rootModelIdentifier": "B7F04522-1733-4BDE-99E6-52C1DEB9C407" +} diff --git a/nano/synthesizer_f896.mlpackage/Data/com.apple.CoreML/model.mlmodel b/nano/synthesizer_f896.mlpackage/Data/com.apple.CoreML/model.mlmodel new file mode 100644 index 0000000000000000000000000000000000000000..0d1a4be329d3a33ad725efa37fe2758d24acafc6 --- /dev/null +++ b/nano/synthesizer_f896.mlpackage/Data/com.apple.CoreML/model.mlmodel @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bece622f6115348f0794897373445d64f8ffed9a115306bdf5e190ff5494dad +size 236402 diff --git a/nano/synthesizer_f896.mlpackage/Data/com.apple.CoreML/weights/weight.bin b/nano/synthesizer_f896.mlpackage/Data/com.apple.CoreML/weights/weight.bin new file mode 100644 index 0000000000000000000000000000000000000000..3cb111a98cfffee871700ff2980b501e1e79e6d7 --- /dev/null +++ b/nano/synthesizer_f896.mlpackage/Data/com.apple.CoreML/weights/weight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0e8562d311cd98c3fed52c113f2f7d37afa3209e14d74c332a7ead3fe8c9d72 +size 6236008 diff --git a/nano/synthesizer_f896.mlpackage/Manifest.json b/nano/synthesizer_f896.mlpackage/Manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..865f2ee1022eed050f981156ebf8d318ac4c0604 --- /dev/null +++ b/nano/synthesizer_f896.mlpackage/Manifest.json @@ -0,0 +1,18 @@ +{ + "fileFormatVersion": "1.0.0", + "itemInfoEntries": { + "05EE5A41-931A-411D-B39C-186DC0F97047": { + "author": "com.apple.CoreML", + "description": "CoreML Model Specification", + "name": "model.mlmodel", + "path": "com.apple.CoreML/model.mlmodel" + }, + "9E98BF46-2FF5-4562-B502-4A67D0B4CD0C": { + "author": "com.apple.CoreML", + "description": "CoreML Model Weights", + "name": "weights", + "path": "com.apple.CoreML/weights" + } + }, + "rootModelIdentifier": "05EE5A41-931A-411D-B39C-186DC0F97047" +} diff --git a/nano/upstream_config.json b/nano/upstream_config.json new file mode 100644 index 0000000000000000000000000000000000000000..e3c049121673683eaf8ebd9f189ded5fdfa7cffa --- /dev/null +++ b/nano/upstream_config.json @@ -0,0 +1,69 @@ +{ + "format": "inflect_v2_inference_config_v1", + "train": { + "segment_size": 16384 + }, + "data": { + "text_cleaners": [], + "max_wav_value": 32768.0, + "sampling_rate": 24000, + "filter_length": 1024, + "hop_length": 256, + "win_length": 1024, + "n_mel_channels": 80, + "mel_fmin": 0.0, + "mel_fmax": 12000.0, + "add_blank": true, + "n_speakers": 0, + "cleaned_text": true + }, + "model": { + "inter_channels": 128, + "hidden_channels": 72, + "filter_channels": 384, + "n_heads": 2, + "n_layers": 3, + "kernel_size": 3, + "p_dropout": 0.1, + "resblock": "1", + "resblock_kernel_sizes": [ + 3, + 7, + 11 + ], + "resblock_dilation_sizes": [ + [ + 1, + 3, + 5 + ], + [ + 1, + 3, + 5 + ], + [ + 1, + 3, + 5 + ] + ], + "upsample_rates": [ + 8, + 8, + 2, + 2 + ], + "upsample_initial_channel": 192, + "upsample_kernel_sizes": [ + 16, + 16, + 4, + 4 + ], + "n_layers_q": 2, + "use_spectral_norm": false, + "use_sdp": false, + "inference_only": true + } +} diff --git a/symbols.json b/symbols.json new file mode 100644 index 0000000000000000000000000000000000000000..b6013ac99145437613d1f6ec7e5f08042c5c15cb --- /dev/null +++ b/symbols.json @@ -0,0 +1,185 @@ +{ + "symbols": [ + "_", + ";", + ":", + ",", + ".", + "!", + "?", + "¡", + "¿", + "—", + "…", + "\"", + "«", + "»", + "“", + "”", + " ", + "A", + "B", + "C", + "D", + "E", + "F", + "G", + "H", + "I", + "J", + "K", + "L", + "M", + "N", + "O", + "P", + "Q", + "R", + "S", + "T", + "U", + "V", + "W", + "X", + "Y", + "Z", + "a", + "b", + "c", + "d", + "e", + "f", + "g", + "h", + "i", + "j", + "k", + "l", + "m", + "n", + "o", + "p", + "q", + "r", + "s", + "t", + "u", + "v", + "w", + "x", + "y", + "z", + "ɑ", + "ɐ", + "ɒ", + "æ", + "ɓ", + "ʙ", + "β", + "ɔ", + "ɕ", + "ç", + "ɗ", + "ɖ", + "ð", + "ʤ", + "ə", + "ɘ", + "ɚ", + "ɛ", + "ɜ", + "ɝ", + "ɞ", + "ɟ", + "ʄ", + "ɡ", + "ɠ", + "ɢ", + "ʛ", + "ɦ", + "ɧ", + "ħ", + "ɥ", + "ʜ", + "ɨ", + "ɪ", + "ʝ", + "ɭ", + "ɬ", + "ɫ", + "ɮ", + "ʟ", + "ɱ", + "ɯ", + "ɰ", + "ŋ", + "ɳ", + "ɲ", + "ɴ", + "ø", + "ɵ", + "ɸ", + "θ", + "œ", + "ɶ", + "ʘ", + "ɹ", + "ɺ", + "ɾ", + "ɻ", + "ʀ", + "ʁ", + "ɽ", + "ʂ", + "ʃ", + "ʈ", + "ʧ", + "ʉ", + "ʊ", + "ʋ", + "ⱱ", + "ʌ", + "ɣ", + "ɤ", + "ʍ", + "χ", + "ʎ", + "ʏ", + "ʑ", + "ʐ", + "ʒ", + "ʔ", + "ʡ", + "ʕ", + "ʢ", + "ǀ", + "ǁ", + "ǂ", + "ǃ", + "ˈ", + "ˌ", + "ː", + "ˑ", + "ʼ", + "ʴ", + "ʰ", + "ʱ", + "ʲ", + "ʷ", + "ˠ", + "ˤ", + "˞", + "↓", + "↑", + "→", + "↗", + "↘", + "'", + "̩", + "'", + "ᵻ" + ], + "pad_id": 0, + "add_blank": true, + "note": "token ids = index in symbols; sequences interspersed with pad_id when add_blank" +} \ No newline at end of file