sourojitdotcom commited on
Commit
be9ede5
·
verified ·
1 Parent(s): 7384ac1

Card: browser demo now runs v2 (speaker vector); browser parity and speed re-measured

Browse files
Files changed (1) hide show
  1. README.md +5 -7
README.md CHANGED
@@ -194,7 +194,7 @@ English row clones a Hindi speaker (cross-lingual). Cloning needs the optional `
194
  | 3 | **Low character error rates on all three languages.** | FLEURS dev, 100 sentences each, ASR by `facebook/mms-1b-all`: CER 6.20% te, 4.17% hi, 4.79% en. |
195
  | 4 | **Faster than real time on a CPU.** | RTF 0.36 or better on one thread of a cloud Xeon, 0.19 or better on four ([CPU speed](#cpu-speed)). No GPU needed. |
196
  | 5 | **Bit-exact GGUF.** | The f32 GGUF reproduces the safetensors output sample-for-sample (max abs difference 0.0); the f16 GGUF is 36.0 MB with the same frame counts and max sample difference 0.087. |
197
- | 6 | **Runs in a browser tab.** | The [demo](https://huggingface.co/spaces/sourojitdotcom/AksharaVP-17M-demo) runs the full model (currently the v1 weights) client-side with ONNX Runtime Web (WebAssembly), no server: same frame counts as PyTorch, audio error at or below -75 dB relative to the signal ([details](#run-it-in-your-browser)). |
198
 
199
  <p align="center">
200
  <img crossorigin="anonymous" src="https://huggingface.co/sourojitdotcom/AksharaVP-17M/resolve/main/assets/landscape.png" alt="Parameter counts of open TTS that speak Telugu, Hindi and English from one checkpoint and clone voices: AksharaVP-17M with clone encoder 27.7M, Pravega Pocket TTS 121.8M, DhVaani-0.5 122.8M, IndicF5 350.7M" width="100%"/>
@@ -250,7 +250,7 @@ PyTorch 2.15.0+cpu on an 8-vCPU Intel Xeon cloud machine, measured with no other
250
  | Hindi | 0.356 (2.8× real time) | 0.193 (5.2× real time) | 0.28 s |
251
  | Indian English | 0.345 (2.9× real time) | 0.182 (5.5× real time) | 0.22 s |
252
 
253
- In the browser ([demo](https://huggingface.co/spaces/sourojitdotcom/AksharaVP-17M-demo), ONNX Runtime Web on WebAssembly, headless Chrome on an 8-vCPU cloud machine) the full-precision v1 model ran at RTF 0.32–0.34 on 1 thread, 0.20–0.21 on 4 threads.
254
 
255
  ---
256
 
@@ -331,16 +331,14 @@ Srinivas, Karthik, Pranay (male). Any voice can speak any of the three languages
331
 
332
  ## Run it in your browser
333
 
334
- > **Note:** the demo still runs the **v1** weights (ONNX export of the previous release); the measurements in this section are for v1. It will move to v2 in a separate update.
335
-
336
  The [live demo](https://huggingface.co/spaces/sourojitdotcom/AksharaVP-17M-demo) runs the whole model client-side — text normaliser (Pyodide), transformer, flow head and streaming decoder (ONNX Runtime Web, WebAssembly) — with no inference server. The ONNX graphs and the JavaScript sampler are in the [Space files](https://huggingface.co/spaces/sourojitdotcom/AksharaVP-17M-demo/tree/main).
337
 
338
  | Weights | Download | Same frame count as PyTorch | Max frame difference | Audio error vs PyTorch | Clone-prompt latents, max difference |
339
  |---|---:|---|---:|---:|---:|
340
- | Full precision (default) | 72.1 MB (+39.1 MB clone encoder) | yes (4/4 sentences) | 1.5e-04 | -92 to -75 dB | 1.0e-05 |
341
- | Lite (fp16 storage) | 36.9 MB (+19.7 MB) | yes (4/4) | 2.0e-02 | -40 to -35 dB | 1.5e-05 |
342
 
343
- Measured in headless Chrome by feeding the browser sampler the same noise as PyTorch (retakes off). Runtime files (ONNX Runtime Web + Pyodide) add about 29 MB on first load; everything is cached afterwards.
344
 
345
  ## GGUF
346
 
 
194
  | 3 | **Low character error rates on all three languages.** | FLEURS dev, 100 sentences each, ASR by `facebook/mms-1b-all`: CER 6.20% te, 4.17% hi, 4.79% en. |
195
  | 4 | **Faster than real time on a CPU.** | RTF 0.36 or better on one thread of a cloud Xeon, 0.19 or better on four ([CPU speed](#cpu-speed)). No GPU needed. |
196
  | 5 | **Bit-exact GGUF.** | The f32 GGUF reproduces the safetensors output sample-for-sample (max abs difference 0.0); the f16 GGUF is 36.0 MB with the same frame counts and max sample difference 0.087. |
197
+ | 6 | **Runs in a browser tab.** | The [demo](https://huggingface.co/spaces/sourojitdotcom/AksharaVP-17M-demo) runs the full model client-side with ONNX Runtime Web (WebAssembly), no server: same frame counts as PyTorch, audio error at or below -71 dB relative to the signal ([details](#run-it-in-your-browser)). |
198
 
199
  <p align="center">
200
  <img crossorigin="anonymous" src="https://huggingface.co/sourojitdotcom/AksharaVP-17M/resolve/main/assets/landscape.png" alt="Parameter counts of open TTS that speak Telugu, Hindi and English from one checkpoint and clone voices: AksharaVP-17M with clone encoder 27.7M, Pravega Pocket TTS 121.8M, DhVaani-0.5 122.8M, IndicF5 350.7M" width="100%"/>
 
250
  | Hindi | 0.356 (2.8× real time) | 0.193 (5.2× real time) | 0.28 s |
251
  | Indian English | 0.345 (2.9× real time) | 0.182 (5.5× real time) | 0.22 s |
252
 
253
+ In the browser ([demo](https://huggingface.co/spaces/sourojitdotcom/AksharaVP-17M-demo), ONNX Runtime Web on WebAssembly, headless Chrome on an 8-vCPU cloud machine) the full-precision model ran at RTF 0.30–0.32 on 1 thread, 0.18 on 4 threads.
254
 
255
  ---
256
 
 
331
 
332
  ## Run it in your browser
333
 
 
 
334
  The [live demo](https://huggingface.co/spaces/sourojitdotcom/AksharaVP-17M-demo) runs the whole model client-side — text normaliser (Pyodide), transformer, flow head and streaming decoder (ONNX Runtime Web, WebAssembly) — with no inference server. The ONNX graphs and the JavaScript sampler are in the [Space files](https://huggingface.co/spaces/sourojitdotcom/AksharaVP-17M-demo/tree/main).
335
 
336
  | Weights | Download | Same frame count as PyTorch | Max frame difference | Audio error vs PyTorch | Clone-prompt latents, max difference |
337
  |---|---:|---|---:|---:|---:|
338
+ | Full precision (default) | 73.4 MB (+39.1 MB clone encoder) | yes (6/6 sentences) | 6.8e-04 | -95 to -71 dB | 1.0e-05 |
339
+ | Lite (fp16 storage, transformer kept in fp32) | 48.4 MB (+19.7 MB) | yes (6/6) | 2.0e-01 | -46 to -20 dB | 1.5e-05 |
340
 
341
+ Measured in headless Chrome by feeding the browser sampler the same noise as PyTorch (retakes off): 4 built-in-voice and 2 cloned-voice sentences, compared with `AksharaVP.say()`. The lite copy keeps the transformer in fp32 because fp16 storage there drifted from PyTorch. Its audio differs most on one English sentence (−20 dB), with the same frame counts. Runtime files (ONNX Runtime Web + Pyodide) add about 29 MB on first load; everything is cached afterwards.
342
 
343
  ## GGUF
344