Duplicate from zeroweight-ai/ZeroTTS
Browse filesCo-authored-by: Nguyen Minh Anh <minhanh29@users.noreply.huggingface.co>
This view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributesAdded+8
- .gitignoreAdded+1
- README.mdAdded+286
- banner.pngAdded
- config.jsonAdded+22
- null_voice_emb.npyAdded+3
- onnx/codec/LICENSE-Apache-2.0.txtAdded+9
- onnx/codec/codec_browser_onnx_meta.jsonAdded+564
- onnx/codec/moss_audio_tokenizer_decode_full.onnxAdded+3
- onnx/codec/moss_audio_tokenizer_decode_shared.dataAdded+3
- onnx/codec/moss_audio_tokenizer_decode_step.onnxAdded+3
- onnx/local_frame_decode.onnxAdded+3
- onnx/prefix_step.onnxAdded+3
- onnx/text_encoder.onnxAdded+3
- samples/conversation.mp3Added+3
- samples/cross-lingual-english.mp3Added+3
- samples/cross-lingual-reference-vi.mp3Added+3
- samples/news-code-switch.mp3Added+3
- samples/storytelling.mp3Added+3
- silence_frame.npyAdded+3
- tokenizer.jsonAdded
- voices/baotrang/meta.jsonAdded+15
- voices/baotrang/preview.wavAdded+3
- voices/baotrang/voice.binAdded+3
- voices/baotrang/voice.npzAdded+3
- voices/giahuy/meta.jsonAdded+15
- voices/giahuy/preview.wavAdded+3
- voices/giahuy/voice.binAdded+3
- voices/giahuy/voice.npzAdded+3
- voices/hamy/meta.jsonAdded+15
- voices/hamy/preview.wavAdded+3
- voices/hamy/voice.binAdded+3
- voices/hamy/voice.npzAdded+3
- voices/huuduc/meta.jsonAdded+15
- voices/huuduc/preview.wavAdded+3
- voices/huuduc/voice.binAdded+3
- voices/huuduc/voice.npzAdded+3
- voices/index.jsonAdded+164
- voices/kimoanh/meta.jsonAdded+15
- voices/kimoanh/preview.wavAdded+3
- voices/kimoanh/voice.binAdded+3
- voices/kimoanh/voice.npzAdded+3
- voices/maichi/meta.jsonAdded+14
- voices/maichi/preview.wavAdded+3
- voices/maichi/voice.binAdded+3
- voices/maichi/voice.npzAdded+3
- voices/quangminh/meta.jsonAdded+15
- voices/quangminh/preview.wavAdded+3
- voices/quangminh/voice.binAdded+3
- voices/quangminh/voice.npzAdded+3
12345678*.onnx filter=lfs diff=lfs merge=lfs -text*.data filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.wav filter=lfs diff=lfs merge=lfs -text*.mp3 filter=lfs diff=lfs merge=lfs -textbanner.png filter=lfs diff=lfs merge=lfs -text1*.DS_Store123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286---license: mitlanguage: - vilibrary_name: onnxpipeline_tag: text-to-speechtags: - text-to-speech - tts - vietnamese - onnx - onnxruntime - zero-shot - speech-synthesis - voice-cloning - vietnamese-tts - tieng-vietmetrics: - wermodel-index: - name: ZeroTTS results: - task: type: text-to-speech name: Zero-Shot Text-to-Speech dataset: type: zeroweight-ai/ZeroBench-TTS name: ZeroBench-TTS split: test metrics: - type: wer value: 1.03 name: WER (%) — raw text - type: utmos value: 2.91 name: UTMOSv2 naturalness MOS - type: speaker_similarity value: 0.936 name: Speaker similarity (WavLM-SV cosine) - type: excess_silence value: 0.029 name: Excess silence (s) - task: type: text-to-speech name: Zero-Shot TTS — monolingual Vietnamese dataset: type: zeroweight-ai/ZeroBench-TTS name: ZeroBench-TTS (vietnamese) config: vietnamese split: test metrics: - type: wer value: 0.16 name: WER (%) — raw text - task: type: text-to-speech name: Zero-Shot TTS — Vietnamese/English code-switching dataset: type: zeroweight-ai/ZeroBench-TTS name: ZeroBench-TTS (code_switch) config: code_switch split: test metrics: - type: wer value: 0.97 name: WER (%) — raw text - task: type: text-to-speech name: Zero-Shot TTS — cross-lingual voice prompt dataset: type: zeroweight-ai/ZeroBench-TTS name: ZeroBench-TTS (cross_lingual) config: cross_lingual split: test metrics: - type: wer value: 1.42 name: WER (%) — raw text - task: type: text-to-speech name: Zero-Shot TTS — acronyms, dates, numbers dataset: type: zeroweight-ai/ZeroBench-TTS name: ZeroBench-TTS (challenging) config: challenging split: test metrics: - type: wer value: 1.75 name: WER (%) — raw text---
<img src="banner.png" alt="ZeroTTS — Vietnamese zero-shot text-to-speech" width="100%">
# ZeroTTS
### Vietnamese Zero-Shot Text-to-Speech (TTS) with real-time streaming and voice cloning from seconds of audio. Fast, natural, and optimised for CPU inference.
**The most accurate open Vietnamese TTS we know of — 4× fewer word errors thanthe next best model**, and it runs faster than real time on a laptop CPU.
* 🎯 **Ultra-natural** — 2.91 UTMOS above every other open Vietnamese system, with near-zero dead air (0.029 s).* 🗣️ **Zero-shot voice cloning** — a voice is a small latent array; drop it in and the model speaks in it, cloned from as little as 3 seconds of reference audio (up to 30 seconds). No fine-tuning, no per-speaker training.* ⚡ **Real-time on CPU, streaming** — ~2× faster than real time (RTF 0.5×), first audio chunk in ~70 ms. No GPU required.* 🇻🇳 **Built for Vietnamese** — tones, code-switched English, and reads `31/12/2025` and `ZeroTTS` without text normalizer.
* Code, examples, browser demo: **https://github.com/zeroweight-ai/ZeroTTS*** Benchmark dataset: **https://huggingface.co/datasets/zeroweight-ai/ZeroBench-TTS*** Blogpost: **https://zeroweight.ai/blog/zero-tts**
## Samples
**Two-speaker conversation**
<audio controls><source src="https://huggingface.co/zeroweight-ai/ZeroTTS/resolve/main/samples/conversation.mp3" type="audio/mpeg"></audio>
**Long-form narration**
<audio controls><source src="https://huggingface.co/zeroweight-ai/ZeroTTS/resolve/main/samples/storytelling.mp3" type="audio/mpeg"></audio>
**News read, code-switched English**
<audio controls><source src="https://huggingface.co/zeroweight-ai/ZeroTTS/resolve/main/samples/news-code-switch.mp3" type="audio/mpeg"></audio>
**Cross-lingual**
Reference audio (Vietnamese)
<audio controls><source src="https://huggingface.co/zeroweight-ai/ZeroTTS/resolve/main/samples/cross-lingual-reference-vi.mp3" type="audio/mpeg"></audio>
Output (English)
<audio controls><source src="https://huggingface.co/zeroweight-ai/ZeroTTS/resolve/main/samples/cross-lingual-english.mp3" type="audio/mpeg"></audio>
## Usage```pythonpip install zerotts```
```pythonfrom zerotts import ZeroTTS
tts = ZeroTTS.from_pretrained("zeroweight-ai/ZeroTTS")audio = tts.synthesize("Xin chào các bạn, mình là ZeroTTS.", voice="maichi")tts.save_audio(audio, "out.wav")```
Streaming, with first audio in roughly 70 ms:
```pythonimport queue
import numpy as npimport sounddevice as sd # pip install sounddevice
TEXT = ("Đây là chế độ phát trực tuyến. Âm thanh được tạo ra và phát ngay lập tức, " "không cần chờ toàn bộ đoạn văn hoàn thành. Nhờ vậy, người nghe chỉ mất " "khoảng 70 mili giây là đã nghe thấy câu đầu tiên, ngay cả khi mô " "hình đang chạy trên CPU của một chiếc laptop bình thường.")
pending, tail = queue.Queue(), np.zeros(0, dtype="float32")
def feed(outdata, frames, _time, _status): global tail while len(tail) < frames and not pending.empty(): tail = np.concatenate([tail, pending.get_nowait()]) n = min(frames, len(tail)) outdata[:n, 0] = tail[:n] outdata[n:] = 0 tail = tail[n:]
with sd.OutputStream(samplerate=tts.sample_rate, channels=1, dtype="float32", callback=feed): for chunk in tts.synthesize_stream(TEXT, voice="maichi"): pending.put(chunk.reshape(-1)) # chunk is (1, n) float32 at 48 kHz while not pending.empty() or len(tail): sd.sleep(50) # let the buffer drain before closing```
## Benchmarks
Measured on **[ZeroBench-TTS](https://huggingface.co/datasets/zeroweight-ai/ZeroBench-TTS)**
Every system reads **raw text** — dates, numbers and acronyms verbatim, exactlyas they appear in the wild, with no text frontend in front of the model.
| | **ZeroTTS** | OmniVoice | XTTS-v2-vietnamse | viXTTS ||---|:-:|:-:|:-:|:-:|| **WER** ↓ | **1.03 %** | 4.13 % | 16.42 % | 18.40 % || **Naturalness** (UTMOS) ↑ | **2.91** | 2.76 | 2.43 | 2.35 || **Voice similarity** (SSIM) ↑ | 0.936 | **0.950** | 0.940 | 0.935 || **Dead air** (excess silence) ↓ | **0.029 s** | 0.340 s | 0.532 s | 0.233 s || **RTF, CPU** ↓ | **0.50×** | 6.12× | 0.71× | 0.73× || **Time to first audio, CPU** ↓ | **~70 ms** | ~34 s | ~6.1 s | ~5.1 s || **Parameters** ↓ | **202 M** | 775 M | 467 M | 467 M |
**4× fewer word errors than the next-best system**, and the fastest of the fouron CPU. The gap is much wider in latency than in throughput: the two XTTSfine-tunes also beat real time (0.71×) but need seconds to emit their firstsample, while OmniVoice is 6× *slower* than real time. All three are sized andtuned for a GPU, and it shows.
Full comparison tables, per-subset breakdowns, and CPU speed methodology:**[docs/BENCHMARKS.md](https://github.com/zeroweight-ai/ZeroTTS/blob/main/docs/BENCHMARKS.md)**
### Speed — CPU
RTF (realtime factor, wall-clock synthesis time ÷ output audio duration — loweris faster; below 1× is faster than real time) and time-to-first-audio, allmeasured **on CPU**, single request, 8 inference threads pinned to a dedicatedcore pool (no other synthesis running concurrently). Three Vietnamese samples —short (26 chars), medium (77 chars), long (227 chars) — each run 6 times withthe first 2 (cold-cache) discarded; figures below are the mean of theremaining 4.
| | **ZeroTTS** | OmniVoice | XTTS-v2-vietnamse | viXTTS ||---|:-:|:-:|:-:|:-:|| RTF — short | **0.51×** | 10.87× | 0.70× | 0.71× || RTF — medium | **0.47×** | 4.82× | 0.70× | 0.70× || RTF — long | **0.53×** | 2.67× | 0.71× | 0.78× || TTFA — short | **53 ms** | 21.7 s | 4.02 s | 2.45 s || TTFA — medium | **66 ms** | 28.9 s | 4.02 s | 3.72 s || TTFA — long | **89 ms** | 52.3 s | 10.3 s | 9.22 s |
ZeroTTS's time-to-first-audio comes from its real streaming path — first audio frame,not first full utterance. The three baselines have no working CPU streamingpath, so their TTFA is the time to the complete utterance.
## Voices, and voice cloning
A voice is a small array of speaker latents, `(1, n_voice_queries, d_model)`,shipped as a `.npz` under `voices/`. That array is the entire speakerconditioning — no reference transcript, no audio prompt.
> **Voice cloning is not available in this release.** Those latents come from a> voice encoder that reads a reference clip, and that encoder is not published.> This repository ships ready-to-use voices; it cannot create new ones from> audio.>> To get latents for your own speaker, see **[zeroweight.ai](https://zeroweight.ai)**> or get in touch.
Because a voice is just an array, latents obtained that way drop into`voices/<name>/voice.npz` and work with no code change.
## Intended use and limitations
Built for **Vietnamese**. It handles English words embedded in Vietnamese text(`code_switch`), but it is not an English TTS system and is not evaluated as one.
Do not use it to impersonate a real person, to generate speech attributed tosomeone without their consent, or to produce audio intended to deceive. Theshipped voices are for evaluation and demos.
Synthetic speech should be disclosed as synthetic wherever a listener mightreasonably assume otherwise.
## Credits
Speech codec: **MOSS-Audio-Tokenizer-Nano** by the OpenMOSS team, Apache-2.0.Its ONNX **decoder** graphs are redistributed under `onnx/codec/` so ZeroTTS hasno external runtime dependency; the encoder is not included. See`onnx/codec/LICENSE-Apache-2.0.txt`.
```bibtex@misc{gong2026mossaudiotokenizerscalingaudiotokenizers, title={MOSS-Audio-Tokenizer: Scaling Audio Tokenizers for Future Audio Foundation Models}, author={Yitian Gong and Kuangwei Chen and Zhaoye Fei and Xiaogui Yang and Ke Chen and Yang Wang and Kexin Huang and Mingshu Chen and Ruixiao Li and Qingyuan Cheng and Shimin Li and Xipeng Qiu}, year={2026}, eprint={2602.10934}, archivePrefix={arXiv}, primaryClass={cs.SD}}```
## License
ZeroTTS weights and code: **MIT**.
The ZeroBench-TTS *dataset* is CC-BY-NC-4.0 because it redistributes referenceaudio from VIVOS, viVoice, phoaudiobook and Emilia. That license applies to thebenchmark dataset only — **not** to these weights.12345678910111213141516171819202122{ "text_format": "bpe", "vocab_size": 8192, "num_codebooks": 16, "codebook_size": 1024, "d_model": 768, "n_heads": 12, "n_layers": 9, "n_voice_queries": 10, "special_tokens": { "<pad>": 0, "<bos>": 1, "<eot>": 2, "<soa>": 3, "<slot>": 4, "<eoa>": 5, "<en>": 6, "<vi>": 7 }, "sample_rate": 48000, "codec_frame_rate": 12.5}123version https://git-lfs.github.com/spec/v1oid sha256:ec014c14f79e8fc16f4ca6ea557f33fa2cbd7d448b5de5f467aace9ca0321e9fsize 30848123456789MOSS-Audio-Tokenizer-NanoCopyright the OpenMOSS Team.Licensed under the Apache License, Version 2.0.https://www.apache.org/licenses/LICENSE-2.0
Source: https://huggingface.co/OpenMOSS-Team/MOSS-Audio-Tokenizer-Nano-ONNX https://github.com/OpenMOSS/MOSS-Audio-Tokenizer
Only the DECODER graphs are redistributed here; the encoder is not included.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564{ "format_version": 2, "checkpoint_path": "MOSS-Audio-Tokenizer-Nano", "files": { "decode_full": "moss_audio_tokenizer_decode_full.onnx", "decode_step": "moss_audio_tokenizer_decode_step.onnx" }, "external_data_files": { "moss_audio_tokenizer_decode_full.onnx": [ "moss_audio_tokenizer_decode_shared.data" ], "moss_audio_tokenizer_decode_step.onnx": [ "moss_audio_tokenizer_decode_shared.data" ] }, "codec_config": { "sample_rate": 48000, "channels": 2, "downsample_rate": 3840, "num_quantizers": 16 }, "onnx": { "opset": 17, "decode_input_names": [ "audio_codes", "audio_code_lengths" ], "decode_output_names": [ "audio", "audio_lengths" ], "decode_step_input_names": [ "audio_codes", "audio_code_lengths", "transformer_offset_0", "transformer_offset_1", "transformer_offset_2", "transformer_offset_3", "attn_offset_0", "attn_cached_keys_0", "attn_cached_values_0", "attn_cached_positions_0", "attn_offset_1", "attn_cached_keys_1", "attn_cached_values_1", "attn_cached_positions_1", "attn_offset_2", "attn_cached_keys_2", "attn_cached_values_2", "attn_cached_positions_2", "attn_offset_3", "attn_cached_keys_3", "attn_cached_values_3", "attn_cached_positions_3", "attn_offset_4", "attn_cached_keys_4", "attn_cached_values_4", "attn_cached_positions_4", "attn_offset_5", "attn_cached_keys_5", "attn_cached_values_5", "attn_cached_positions_5", "attn_offset_6", "attn_cached_keys_6", "attn_cached_values_6", "attn_cached_positions_6", "attn_offset_7", "attn_cached_keys_7", "attn_cached_values_7", "attn_cached_positions_7", "attn_offset_8", "attn_cached_keys_8", "attn_cached_values_8", "attn_cached_positions_8", "attn_offset_9", "attn_cached_keys_9", "attn_cached_values_9", "attn_cached_positions_9", "attn_offset_10", "attn_cached_keys_10", "attn_cached_values_10", "attn_cached_positions_10", "attn_offset_11", "attn_cached_keys_11", "attn_cached_values_11", "attn_cached_positions_11" ], "decode_step_output_names": [ "audio", "audio_lengths", "transformer_offset_out_0", "transformer_offset_out_1", "transformer_offset_out_2", "transformer_offset_out_3", "attn_offset_out_0", "attn_cached_keys_out_0", "attn_cached_values_out_0", "attn_cached_positions_out_0", "attn_offset_out_1", "attn_cached_keys_out_1", "attn_cached_values_out_1", "attn_cached_positions_out_1", "attn_offset_out_2", "attn_cached_keys_out_2", "attn_cached_values_out_2", "attn_cached_positions_out_2", "attn_offset_out_3", "attn_cached_keys_out_3", "attn_cached_values_out_3", "attn_cached_positions_out_3", "attn_offset_out_4", "attn_cached_keys_out_4", "attn_cached_values_out_4", "attn_cached_positions_out_4", "attn_offset_out_5", "attn_cached_keys_out_5", "attn_cached_values_out_5", "attn_cached_positions_out_5", "attn_offset_out_6", "attn_cached_keys_out_6", "attn_cached_values_out_6", "attn_cached_positions_out_6", "attn_offset_out_7", "attn_cached_keys_out_7", "attn_cached_values_out_7", "attn_cached_positions_out_7", "attn_offset_out_8", "attn_cached_keys_out_8", "attn_cached_values_out_8", "attn_cached_positions_out_8", "attn_offset_out_9", "attn_cached_keys_out_9", "attn_cached_values_out_9", "attn_cached_positions_out_9", "attn_offset_out_10", "attn_cached_keys_out_10", "attn_cached_values_out_10", "attn_cached_positions_out_10", "attn_offset_out_11", "attn_cached_keys_out_11", "attn_cached_values_out_11", "attn_cached_positions_out_11" ] }, "streaming_decode": { "batch_size": 1, "transformer_offsets": [ { "index": 0, "decoder_index": 1, "input_name": "transformer_offset_0", "output_name": "transformer_offset_out_0", "shape": [ 1 ], "dtype": "int32" }, { "index": 1, "decoder_index": 3, "input_name": "transformer_offset_1", "output_name": "transformer_offset_out_1", "shape": [ 1 ], "dtype": "int32" }, { "index": 2, "decoder_index": 5, "input_name": "transformer_offset_2", "output_name": "transformer_offset_out_2", "shape": [ 1 ], "dtype": "int32" }, { "index": 3, "decoder_index": 7, "input_name": "transformer_offset_3", "output_name": "transformer_offset_out_3", "shape": [ 1 ], "dtype": "int32" } ], "attention_caches": [ { "index": 0, "decoder_index": 1, "layer_index": 0, "context": 500, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_0", "offset_output_name": "attn_offset_out_0", "cached_keys_input_name": "attn_cached_keys_0", "cached_keys_output_name": "attn_cached_keys_out_0", "cached_values_input_name": "attn_cached_values_0", "cached_values_output_name": "attn_cached_values_out_0", "cached_positions_input_name": "attn_cached_positions_0", "cached_positions_output_name": "attn_cached_positions_out_0", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 500, 64 ], "positions_shape": [ 1, 500 ], "cache_dtype": "float32", "positions_dtype": "int32" }, { "index": 1, "decoder_index": 1, "layer_index": 1, "context": 500, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_1", "offset_output_name": "attn_offset_out_1", "cached_keys_input_name": "attn_cached_keys_1", "cached_keys_output_name": "attn_cached_keys_out_1", "cached_values_input_name": "attn_cached_values_1", "cached_values_output_name": "attn_cached_values_out_1", "cached_positions_input_name": "attn_cached_positions_1", "cached_positions_output_name": "attn_cached_positions_out_1", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 500, 64 ], "positions_shape": [ 1, 500 ], "cache_dtype": "float32", "positions_dtype": "int32" }, { "index": 2, "decoder_index": 1, "layer_index": 2, "context": 500, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_2", "offset_output_name": "attn_offset_out_2", "cached_keys_input_name": "attn_cached_keys_2", "cached_keys_output_name": "attn_cached_keys_out_2", "cached_values_input_name": "attn_cached_values_2", "cached_values_output_name": "attn_cached_values_out_2", "cached_positions_input_name": "attn_cached_positions_2", "cached_positions_output_name": "attn_cached_positions_out_2", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 500, 64 ], "positions_shape": [ 1, 500 ], "cache_dtype": "float32", "positions_dtype": "int32" }, { "index": 3, "decoder_index": 1, "layer_index": 3, "context": 500, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_3", "offset_output_name": "attn_offset_out_3", "cached_keys_input_name": "attn_cached_keys_3", "cached_keys_output_name": "attn_cached_keys_out_3", "cached_values_input_name": "attn_cached_values_3", "cached_values_output_name": "attn_cached_values_out_3", "cached_positions_input_name": "attn_cached_positions_3", "cached_positions_output_name": "attn_cached_positions_out_3", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 500, 64 ], "positions_shape": [ 1, 500 ], "cache_dtype": "float32", "positions_dtype": "int32" }, { "index": 4, "decoder_index": 3, "layer_index": 0, "context": 800, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_4", "offset_output_name": "attn_offset_out_4", "cached_keys_input_name": "attn_cached_keys_4", "cached_keys_output_name": "attn_cached_keys_out_4", "cached_values_input_name": "attn_cached_values_4", "cached_values_output_name": "attn_cached_values_out_4", "cached_positions_input_name": "attn_cached_positions_4", "cached_positions_output_name": "attn_cached_positions_out_4", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 800, 64 ], "positions_shape": [ 1, 800 ], "cache_dtype": "float32", "positions_dtype": "int32" }, { "index": 5, "decoder_index": 3, "layer_index": 1, "context": 800, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_5", "offset_output_name": "attn_offset_out_5", "cached_keys_input_name": "attn_cached_keys_5", "cached_keys_output_name": "attn_cached_keys_out_5", "cached_values_input_name": "attn_cached_values_5", "cached_values_output_name": "attn_cached_values_out_5", "cached_positions_input_name": "attn_cached_positions_5", "cached_positions_output_name": "attn_cached_positions_out_5", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 800, 64 ], "positions_shape": [ 1, 800 ], "cache_dtype": "float32", "positions_dtype": "int32" }, { "index": 6, "decoder_index": 5, "layer_index": 0, "context": 1200, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_6", "offset_output_name": "attn_offset_out_6", "cached_keys_input_name": "attn_cached_keys_6", "cached_keys_output_name": "attn_cached_keys_out_6", "cached_values_input_name": "attn_cached_values_6", "cached_values_output_name": "attn_cached_values_out_6", "cached_positions_input_name": "attn_cached_positions_6", "cached_positions_output_name": "attn_cached_positions_out_6", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 1200, 64 ], "positions_shape": [ 1, 1200 ], "cache_dtype": "float32", "positions_dtype": "int32" }, { "index": 7, "decoder_index": 5, "layer_index": 1, "context": 1200, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_7", "offset_output_name": "attn_offset_out_7", "cached_keys_input_name": "attn_cached_keys_7", "cached_keys_output_name": "attn_cached_keys_out_7", "cached_values_input_name": "attn_cached_values_7", "cached_values_output_name": "attn_cached_values_out_7", "cached_positions_input_name": "attn_cached_positions_7", "cached_positions_output_name": "attn_cached_positions_out_7", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 1200, 64 ], "positions_shape": [ 1, 1200 ], "cache_dtype": "float32", "positions_dtype": "int32" }, { "index": 8, "decoder_index": 7, "layer_index": 0, "context": 1600, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_8", "offset_output_name": "attn_offset_out_8", "cached_keys_input_name": "attn_cached_keys_8", "cached_keys_output_name": "attn_cached_keys_out_8", "cached_values_input_name": "attn_cached_values_8", "cached_values_output_name": "attn_cached_values_out_8", "cached_positions_input_name": "attn_cached_positions_8", "cached_positions_output_name": "attn_cached_positions_out_8", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 1600, 64 ], "positions_shape": [ 1, 1600 ], "cache_dtype": "float32", "positions_dtype": "int32" }, { "index": 9, "decoder_index": 7, "layer_index": 1, "context": 1600, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_9", "offset_output_name": "attn_offset_out_9", "cached_keys_input_name": "attn_cached_keys_9", "cached_keys_output_name": "attn_cached_keys_out_9", "cached_values_input_name": "attn_cached_values_9", "cached_values_output_name": "attn_cached_values_out_9", "cached_positions_input_name": "attn_cached_positions_9", "cached_positions_output_name": "attn_cached_positions_out_9", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 1600, 64 ], "positions_shape": [ 1, 1600 ], "cache_dtype": "float32", "positions_dtype": "int32" }, { "index": 10, "decoder_index": 7, "layer_index": 2, "context": 1600, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_10", "offset_output_name": "attn_offset_out_10", "cached_keys_input_name": "attn_cached_keys_10", "cached_keys_output_name": "attn_cached_keys_out_10", "cached_values_input_name": "attn_cached_values_10", "cached_values_output_name": "attn_cached_values_out_10", "cached_positions_input_name": "attn_cached_positions_10", "cached_positions_output_name": "attn_cached_positions_out_10", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 1600, 64 ], "positions_shape": [ 1, 1600 ], "cache_dtype": "float32", "positions_dtype": "int32" }, { "index": 11, "decoder_index": 7, "layer_index": 3, "context": 1600, "num_heads": 4, "head_dim": 64, "offset_input_name": "attn_offset_11", "offset_output_name": "attn_offset_out_11", "cached_keys_input_name": "attn_cached_keys_11", "cached_keys_output_name": "attn_cached_keys_out_11", "cached_values_input_name": "attn_cached_values_11", "cached_values_output_name": "attn_cached_values_out_11", "cached_positions_input_name": "attn_cached_positions_11", "cached_positions_output_name": "attn_cached_positions_out_11", "offset_shape": [ 1 ], "cache_shape": [ 1, 4, 1600, 64 ], "positions_shape": [ 1, 1600 ], "cache_dtype": "float32", "positions_dtype": "int32" } ] }}123version https://git-lfs.github.com/spec/v1oid sha256:0fbbafe3fd4afa2a019af5c5ced204af6e2d1db044fa40f021525d2aee95b4acsize 681902123version https://git-lfs.github.com/spec/v1oid sha256:e69d52e0f4e84ca27850557ee54face46632d3a5a16c89bd246c7c408466dcadsize 44198912123version https://git-lfs.github.com/spec/v1oid sha256:9527c86a29e1837edec1f74db57d5eeaadb3a715af3382703566460afed25855size 351400123version https://git-lfs.github.com/spec/v1oid sha256:3c4540ef4e69dcf604dc6f60f6f99f119189694ff5f31113def20406e274f025size 186743011123version https://git-lfs.github.com/spec/v1oid sha256:b7544c9fdd3535b21fe8dea855407180ad2084f9da298f8a153893522496565bsize 348303894123version https://git-lfs.github.com/spec/v1oid sha256:d37557a4abe07953a02686a176664486e73838389a14ff4a3f36b47ac2bccd52size 323096725123version https://git-lfs.github.com/spec/v1oid sha256:692f94d47b6d411478a82f0de2e8d41f0348383f946e5b8f2343baa6b18c84c5size 130412123version https://git-lfs.github.com/spec/v1oid sha256:3a318f85ed126ab59f17f22ac76552a42c5240f5c445270892630513a2db62c7size 263468123version https://git-lfs.github.com/spec/v1oid sha256:1b019bb424b186aaf26c721eb2a7ed68eeb3ca9cff8f3c3fe062151fbaaea003size 34220123version https://git-lfs.github.com/spec/v1oid sha256:be58f3701e6169d33ee23502b0b4674be269f03c6ae113035b671a3d20f9783asize 544172123version https://git-lfs.github.com/spec/v1oid sha256:f0ab526814b46d0bd6c9fdf1026338dc84089cf7e7d9da5552d334ba972d7775size 971564123version https://git-lfs.github.com/spec/v1oid sha256:bb2628efa99ae02819b04ff7509ef43ddb3213a9fb0916e4e88b8d1a7c3a1810size 256123456789101112131415{ "name": "baotrang", "display_name": "Bảo Trang", "language": "vi", "gender": "nữ", "description": "nữ, trưởng thành, tin tức, rõ ràng, trung tính", "tags": [ "nữ", "trưởng thành", "tin tức", "rõ ràng", "trung tính" ], "n_voice_queries": 10}123version https://git-lfs.github.com/spec/v1oid sha256:cfe47bfeabb0177c9f346bae41a42c655ee4531184938d536317470be6ab5cfdsize 437804123version https://git-lfs.github.com/spec/v1oid sha256:db21fd1342da2d7d213f6b81d4795eee1be13f65410da99cfef4c92f3a80e29fsize 30720123version https://git-lfs.github.com/spec/v1oid sha256:abbc5807cc4767e7c62cc59f7b7cd04b4b7e0dba176086447a0c114578cf695asize 31262123456789101112131415{ "name": "giahuy", "display_name": "Gia Huy", "language": "vi", "gender": "nam", "description": "nam, trẻ, kể chuyện, trầm ấm, tâm tình", "tags": [ "nam", "trẻ", "kể chuyện", "trầm ấm", "tâm tình" ], "n_voice_queries": 10}123version https://git-lfs.github.com/spec/v1oid sha256:16feeedc4bc930bbe5aad4e657d1df78e60abc11fcac179a42f75c0d268b25d1size 629804123version https://git-lfs.github.com/spec/v1oid sha256:1367686f7b5b154dc75b83d108487794c781812c6695a302f1b71afc821050adsize 30720123version https://git-lfs.github.com/spec/v1oid sha256:3979a8369000eaaee1130801c1cacdadddc12e8d9a4a604be7430c4bcc6df32esize 31262123456789101112131415{ "name": "hamy", "display_name": "Hà My", "language": "vi", "gender": "nữ", "description": "nữ, trẻ, hoạt hình, cao, biểu cảm", "tags": [ "nữ", "trẻ", "hoạt hình", "cao", "biểu cảm" ], "n_voice_queries": 10}123version https://git-lfs.github.com/spec/v1oid sha256:4bc33835023d7786bc75cb6c5c2681b1aec1ca3fb01300044b30d2161b29a171size 460844123version https://git-lfs.github.com/spec/v1oid sha256:e137f9544c20c491b3d139aeebb1d8549f8bd6f84f035a2df78830d3baec025dsize 30720123version https://git-lfs.github.com/spec/v1oid sha256:a864c127386f74976154c840875f6ad615d74c377768bc6edcb75e3278f228b7size 31262123456789101112131415{ "name": "huuduc", "display_name": "Hữu Đức", "language": "vi", "gender": "nam", "description": "nam, lớn tuổi, kể chuyện, trầm, điềm đạm", "tags": [ "nam", "lớn tuổi", "kể chuyện", "trầm", "điềm đạm" ], "n_voice_queries": 10}123version https://git-lfs.github.com/spec/v1oid sha256:8241e4cefd7bc526e101f0d0db7a793b9e2159ffae9f2f2e3c1cc94edebec184size 491564123version https://git-lfs.github.com/spec/v1oid sha256:82db4e47cea838d8678962b174ba5e141bf772f943e87f9115b303b1f8c3afe2size 30720123version https://git-lfs.github.com/spec/v1oid sha256:d7a6370180263093eb9dd009661ba24b5309f0ba94ec18d8ff2323c80616a7ebsize 31262123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164{ "voices": [ { "name": "maichi", "display_name": "Mai Chi", "language": "vi", "gender": "nữ", "description": "nữ, trẻ, kể chuyện, nhẹ nhàng, thân thiện", "tags": [ "nữ", "trẻ", "kể chuyện", "nhẹ nhàng", "thân thiện" ], "n_voice_queries": 10, "shape": [ 1, 10, 768 ] }, { "name": "baotrang", "display_name": "Bảo Trang", "language": "vi", "gender": "nữ", "description": "nữ, trưởng thành, tin tức, rõ ràng, trung tính", "tags": [ "nữ", "trưởng thành", "tin tức", "rõ ràng", "trung tính" ], "n_voice_queries": 10, "shape": [ 1, 10, 768 ] }, { "name": "kimoanh", "display_name": "Kim Oanh", "language": "vi", "gender": "nữ", "description": "nữ, trung niên, kể chuyện, ấm áp, truyền cảm", "tags": [ "nữ", "trung niên", "kể chuyện", "ấm áp", "truyền cảm" ], "n_voice_queries": 10, "shape": [ 1, 10, 768 ] }, { "name": "giahuy", "display_name": "Gia Huy", "language": "vi", "gender": "nam", "description": "nam, trẻ, kể chuyện, trầm ấm, tâm tình", "tags": [ "nam", "trẻ", "kể chuyện", "trầm ấm", "tâm tình" ], "n_voice_queries": 10, "shape": [ 1, 10, 768 ] }, { "name": "huuduc", "display_name": "Hữu Đức", "language": "vi", "gender": "nam", "description": "nam, lớn tuổi, kể chuyện, trầm, điềm đạm", "tags": [ "nam", "lớn tuổi", "kể chuyện", "trầm", "điềm đạm" ], "n_voice_queries": 10, "shape": [ 1, 10, 768 ] }, { "name": "quangminh", "display_name": "Quang Minh", "language": "vi", "gender": "nam", "description": "nam, trẻ, tin tức, rõ ràng, dứt khoát", "tags": [ "nam", "trẻ", "tin tức", "rõ ràng", "dứt khoát" ], "n_voice_queries": 10, "shape": [ 1, 10, 768 ] }, { "name": "tiendat", "display_name": "Tiến Đạt", "language": "vi", "gender": "nam", "description": "nam, trẻ, bình luận, sôi nổi, năng lượng cao", "tags": [ "nam", "trẻ", "bình luận", "sôi nổi", "năng lượng cao" ], "n_voice_queries": 10, "shape": [ 1, 10, 768 ] }, { "name": "hamy", "display_name": "Hà My", "language": "vi", "gender": "nữ", "description": "nữ, trẻ, hoạt hình, cao, biểu cảm", "tags": [ "nữ", "trẻ", "hoạt hình", "cao", "biểu cảm" ], "n_voice_queries": 10, "shape": [ 1, 10, 768 ] } ]}123456789101112131415{ "name": "kimoanh", "display_name": "Kim Oanh", "language": "vi", "gender": "nữ", "description": "nữ, trung niên, kể chuyện, ấm áp, truyền cảm", "tags": [ "nữ", "trung niên", "kể chuyện", "ấm áp", "truyền cảm" ], "n_voice_queries": 10}123version https://git-lfs.github.com/spec/v1oid sha256:235bbe6aac7abbac191b2302ff52e51422076bf8117cd4142de1da7fe837a806size 721964123version https://git-lfs.github.com/spec/v1oid sha256:125a9dd8580ee96902868ea75ace8f572950a80a03b49e1cf4583332668844a0size 30720123version https://git-lfs.github.com/spec/v1oid sha256:0aee413f25eae30123f930bd525d31a3b5a20c0803b4899305c2ff4a69466946size 312621234567891011121314{ "name": "maichi", "display_name": "Mai Chi", "language": "vi", "gender": "nữ", "description": "nữ, trẻ, nhẹ nhàng, thân thiện", "tags": [ "nữ", "trẻ", "nhẹ nhàng", "thân thiện" ], "n_voice_queries": 10}123version https://git-lfs.github.com/spec/v1oid sha256:978a62c9d93cd2a955005c5c9ffac6f3b8a37cc60fb85656e950c119d97c1dffsize 646210123version https://git-lfs.github.com/spec/v1oid sha256:487e082d0287d7f18414fe87839a9861a564757bf7932b413e9fb25ce2624f2bsize 30720123version https://git-lfs.github.com/spec/v1oid sha256:d49e0a406d3a005e95f0a19476426973946c4a97e0087eefd638de222913ae3csize 31222123456789101112131415{ "name": "quangminh", "display_name": "Quang Minh", "language": "vi", "gender": "nam", "description": "nam, trẻ, tin tức, rõ ràng, dứt khoát", "tags": [ "nam", "trẻ", "tin tức", "rõ ràng", "dứt khoát" ], "n_voice_queries": 10}123version https://git-lfs.github.com/spec/v1oid sha256:0257b6868a5ee37b2ef0f54d35d06c9d193c0358b2e66edc2ea7e1248608cb39size 391724123version https://git-lfs.github.com/spec/v1oid sha256:5e1073679c7b82ce817f01ea5269307bbb9bb5c22717d218a419ca4185be390csize 30720123version https://git-lfs.github.com/spec/v1oid sha256:4d2acb18f831ade23ed2d02e7b749fa745c95e9ee305795c5ddeb75f93d35fdbsize 31262.gitattributesAdded+8
.gitignoreAdded+1
README.mdAdded+286
banner.pngAdded

Large File Pointer Details
- SHA256: 0dd95a69fce14c796d020d4d8bb743857bd30b7c54646d362ee6d3002181139b
- Pointer size: 131 Bytes
- Size of remote file: 248 kB
config.jsonAdded+22
null_voice_emb.npyAdded+3
onnx/codec/LICENSE-Apache-2.0.txtAdded+9
onnx/codec/codec_browser_onnx_meta.jsonAdded+564
onnx/codec/moss_audio_tokenizer_decode_full.onnxAdded+3
onnx/codec/moss_audio_tokenizer_decode_shared.dataAdded+3
onnx/codec/moss_audio_tokenizer_decode_step.onnxAdded+3
onnx/local_frame_decode.onnxAdded+3
onnx/prefix_step.onnxAdded+3
onnx/text_encoder.onnxAdded+3
samples/conversation.mp3Added+3
samples/cross-lingual-english.mp3Added+3
samples/cross-lingual-reference-vi.mp3Added+3
samples/news-code-switch.mp3Added+3
samples/storytelling.mp3Added+3
silence_frame.npyAdded+3
tokenizer.jsonAdded
voices/baotrang/meta.jsonAdded+15
voices/baotrang/preview.wavAdded+3
voices/baotrang/voice.binAdded+3
voices/baotrang/voice.npzAdded+3
voices/giahuy/meta.jsonAdded+15
voices/giahuy/preview.wavAdded+3
voices/giahuy/voice.binAdded+3
voices/giahuy/voice.npzAdded+3
voices/hamy/meta.jsonAdded+15
voices/hamy/preview.wavAdded+3
voices/hamy/voice.binAdded+3
voices/hamy/voice.npzAdded+3
voices/huuduc/meta.jsonAdded+15
voices/huuduc/preview.wavAdded+3
voices/huuduc/voice.binAdded+3
voices/huuduc/voice.npzAdded+3
voices/index.jsonAdded+164
voices/kimoanh/meta.jsonAdded+15
voices/kimoanh/preview.wavAdded+3
voices/kimoanh/voice.binAdded+3
voices/kimoanh/voice.npzAdded+3
voices/maichi/meta.jsonAdded+14
voices/maichi/preview.wavAdded+3
voices/maichi/voice.binAdded+3
voices/maichi/voice.npzAdded+3
voices/quangminh/meta.jsonAdded+15
voices/quangminh/preview.wavAdded+3
voices/quangminh/voice.binAdded+3
voices/quangminh/voice.npzAdded+3