alexwengg commited on
Commit
e26cecf
·
verified ·
1 Parent(s): 8afbeb2

Card: Paradee-8M v1.2 (four voices) section and changelog (FluidAudio #1072)

Browse files

mobius: https://github.com/FluidInference/mobius/pull/114 FluidAudio: https://github.com/FluidInference/FluidAudio/pull/1073

Files changed (1) hide show
  1. README.md +48 -10
README.md CHANGED
@@ -1,5 +1,7 @@
1
  ---
2
- base_model: sahilmahendrakar/Paradee-8M-v1.0
 
 
3
  language:
4
  - en
5
  library_name: coreml
@@ -16,16 +18,45 @@ tags:
16
 
17
  # Paradee-8M Core ML
18
 
19
- Core ML conversion of [Paradee-8M v1.0](https://huggingface.co/sahilmahendrakar/Paradee-8M-v1.0) by Sahil Mahendrakar:
20
- Kokoro-82M distilled into an 8.07M-parameter, single-voice (`af_heart`) English TTS model, 24 kHz.
21
- Paper: [arXiv 2610.06817](https://arxiv.org/abs/2610.06817).
22
 
23
- Runs **~150× real time on the CPU of an M5 Pro** (93 s of audio in 0.62 s, text side + acoustic side), against 20×
24
- for the upstream fp32 ONNX on one onnxruntime thread. The int8 build has a **12 MB weight footprint**.
 
 
25
 
26
- Used by [FluidAudio](https://github.com/FluidInference/FluidAudio) (`ParadeeManager`).
 
27
 
28
- ## Files
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  | Path | What |
31
  |---|---|
@@ -36,7 +67,7 @@ Used by [FluidAudio](https://github.com/FluidInference/FluidAudio) (`ParadeeMana
36
  | `config.json` | Vocab, sample rate, shape limits |
37
  | `samples/` | The model card's five held-out sentences, rendered by `int8/` |
38
 
39
- ## Pipeline
40
 
41
  ```
42
  text -> misaki-style en-US phonemes -> ids = [0, ...vocab ids..., 0] (<= 512 total)
@@ -57,7 +88,7 @@ ParadeeAcoustic en, asr, noise -> audio [1,600F] float32, 24 kHz
57
  - Use `CPU_ONLY` or `CPU_AND_NE`. **Do not use `ALL` / `CPU_AND_GPU`**: the LSTMs abort in MPSGraph
58
  (`GPURNNOps … JIT not supported`), the same failure Kokoro's prosody stage has.
59
 
60
- ## Accuracy (M5 Pro, macOS 27)
61
 
62
  10 inputs: the README quick-start line, the five held-out sentences, a numbers/abbreviation sentence, a 28.6 s
63
  paragraph, and one sentence at speed 0.8 and 1.3.
@@ -76,6 +107,13 @@ Conversion notes: the 1024-point phase-lock STFT is a gather + matmul + overlap-
76
  (the conv form ran ~40× slower on the Core ML CPU), and kokoro's random harmonic start phases are omitted because the
77
  upstream graph never reads them.
78
 
 
 
 
 
 
 
 
79
  ## License
80
 
81
  Apache-2.0, same as Paradee and Kokoro-82M. Paradee © Sahil Mahendrakar.
 
1
  ---
2
+ base_model:
3
+ - sahilmahendrakar/Paradee-8M-v1.2
4
+ - sahilmahendrakar/Paradee-8M-v1.0
5
  language:
6
  - en
7
  library_name: coreml
 
18
 
19
  # Paradee-8M Core ML
20
 
21
+ Core ML conversions of [Paradee-8M](https://huggingface.co/sahilmahendrakar/Paradee-8M-v1.2) by Sahil Mahendrakar:
22
+ Kokoro-82M distilled into ~8M parameters, English TTS, 24 kHz. Paper: [arXiv 2610.06817](https://arxiv.org/abs/2610.06817).
 
23
 
24
+ | Release | Voices | Folder |
25
+ |---|---|---|
26
+ | [v1.2](https://huggingface.co/sahilmahendrakar/Paradee-8M-v1.2) | `af_heart`, `bf_isabella`, `am_puck`, `bm_fable` (British: `bf_`, `bm_`) | `v1.2/int8/` (11 MB, default), `v1.2/fp32/` |
27
+ | [v1.0](https://huggingface.co/sahilmahendrakar/Paradee-8M-v1.0) | `af_heart` | `int8/` (12 MB), `fp32/` |
28
 
29
+ Used by [FluidAudio](https://github.com/FluidInference/FluidAudio) (`ParadeeManager`, v1.2 by default). Conversion
30
+ code: [mobius `models/tts/paradee/coreml`](https://github.com/FluidInference/mobius/tree/main/models/tts/paradee/coreml).
31
 
32
+ ## v1.2
33
+
34
+ Same two-model layout as v1.0 (below), plus a `voice` input on both models:
35
+
36
+ ```
37
+ ParadeeText input_ids [1,T] int32, voice [1] int32 -> duration [1,T], d [1,224,T], asr_tok [1,512,T]
38
+ ParadeeAcoustic en [1,224,F], asr [1,512,F], noise [1,1,600F], voice [1] int32 -> audio [1,600F], 24 kHz
39
+ ```
40
+
41
+ - `voice`: 0 `af_heart`, 1 `bf_isabella`, 2 `am_puck`, 3 `bm_fable` (`v1.2/config.json`).
42
+ - Phonemes are misaki's, American for `af_`/`am_` and **British for `bf_`/`bm_`** (`en.G2P(british=True)`), as
43
+ upstream. FluidAudio reads the British voices through `gb_lexicon_cache.json` in
44
+ [kokoro-82m-coreml](https://huggingface.co/FluidInference/kokoro-82m-coreml).
45
+ - The decoder end is v1.1's frame-rate source-filter head, rewritten for Core ML (GEMM STFT/iSTFT, int32 fixed-point
46
+ harmonic phase, closed-form sine bank). The noise is an input, so the graphs are deterministic.
47
+ - `CPU_ONLY` or `CPU_AND_NE` only; `ALL` / `CPU_AND_GPU` abort on the LSTMs.
48
+
49
+ Results (M5 Pro, macOS 27; 10 inputs × 4 voices):
50
+
51
+ - 0 duration differences vs PyTorch with the same noise; log-mel L1 to the released fp32 ONNX ≤ 0.012.
52
+ - Whisper large-v3-turbo WER: Core ML fp32 3.39 % = upstream ONNX fp32; Core ML int8 3.28 % = upstream int8 ONNX.
53
+ - ~200× real time on the CPU for text side + acoustic side (v1.0: 150×).
54
+ - FluidAudio `tts-benchmark --corpus minimax-english` (Parakeet round trip, includes G2P), int8: WER 0.93 %
55
+ (`af_heart`), 0.71 % (`bf_isabella`), 1.00 % (`am_puck`), 0.84 % (`bm_fable`), ~100× real time.
56
+
57
+ `samples/v1.2/`: upstream's five sample sentences in each voice, rendered by `v1.2/int8/`.
58
+
59
+ ## Files (v1.0)
60
 
61
  | Path | What |
62
  |---|---|
 
67
  | `config.json` | Vocab, sample rate, shape limits |
68
  | `samples/` | The model card's five held-out sentences, rendered by `int8/` |
69
 
70
+ ## Pipeline (v1.0)
71
 
72
  ```
73
  text -> misaki-style en-US phonemes -> ids = [0, ...vocab ids..., 0] (<= 512 total)
 
88
  - Use `CPU_ONLY` or `CPU_AND_NE`. **Do not use `ALL` / `CPU_AND_GPU`**: the LSTMs abort in MPSGraph
89
  (`GPURNNOps … JIT not supported`), the same failure Kokoro's prosody stage has.
90
 
91
+ ## Accuracy (v1.0, M5 Pro, macOS 27)
92
 
93
  10 inputs: the README quick-start line, the five held-out sentences, a numbers/abbreviation sentence, a 28.6 s
94
  paragraph, and one sentence at speed 0.8 and 1.3.
 
107
  (the conv form ran ~40× slower on the Core ML CPU), and kokoro's random harmonic start phases are omitted because the
108
  upstream graph never reads them.
109
 
110
+ ## Changelog
111
+
112
+ | Date | Files | Change | Issue | mobius PR | FluidAudio PR | HF commit |
113
+ |---|---|---|---|---|---|---|
114
+ | 2026-10-28 | `v1.2/int8/`, `v1.2/fp32/`, `v1.2/mlpackage/`, `v1.2/config.json` | Paradee-8M v1.2, four voices, `voice` input | [FluidAudio #1072](https://github.com/FluidInference/FluidAudio/issues/1072) | [#114](https://github.com/FluidInference/mobius/pull/114) | [#1073](https://github.com/FluidInference/FluidAudio/pull/1073) | [`25644d3e`](https://huggingface.co/FluidInference/paradee-8m-coreml/commit/25644d3ec44eb0d964eb7cab13aef10531c476cb) |
115
+ | 2026-10-28 | `samples/v1.2/` | v1.2 samples, five sentences per voice | [FluidAudio #1072](https://github.com/FluidInference/FluidAudio/issues/1072) | [#114](https://github.com/FluidInference/mobius/pull/114) | [#1073](https://github.com/FluidInference/FluidAudio/pull/1073) | [`8afbeb2d`](https://huggingface.co/FluidInference/paradee-8m-coreml/commit/8afbeb2d58fd8cee7ca58c813ecca86dea25c3bc) |
116
+
117
  ## License
118
 
119
  Apache-2.0, same as Paradee and Kokoro-82M. Paradee © Sahil Mahendrakar.