SWARAI β Indonesian Voice Model
SWARAI is an Indonesian text-to-speech model created by Rangga Prayoga Hermawan, founder of neugi.com, under the Atharia AGI research umbrella. It is a fine-tune of Alibaba's Qwen3-TTS 0.6B (Apache 2.0) with a single built-in Indonesian voice, tuned for clear, natural narration in Bahasa Indonesia.
Ringkasan Bahasa Indonesia β SWARAI adalah model suara Bahasa Indonesia, dibuat oleh Rangga Prayoga Hermawan (founder neugi.com, riset di bawah payung Atharia AGI). Model ini adalah fine-tune dari Qwen3-TTS 0.6B (Alibaba, lisensi Apache 2.0) dengan satu suara bawaan Bahasa Indonesia. Masukan teks Bahasa Indonesia, keluaran audio 24 kHz. Lisensi: Apache 2.0. Lihat bagian Limitations dan Training data untuk catatan lisensi data suara.
Dua file, bukan satu, harap dibaca sebelum download. Qwen3-TTS terdiri dari dua bagian yang dua-duanya wajib ada: talker (teks menjadi token suara) dan codec (token menjadi audio). Semua rilis di repo ini karena itu berpasangan:
- Safetensors (disarankan):
model.safetensors(talker, 1,81 GB) ditambahspeech_tokenizer/model.safetensors(codec, 682 MB). Download keduanya. Satu saja tidak jalan.- GGUF (eksperimental): pilih satu file talker ditambah satu file codec dari
gguf/. Pasangan yang disarankan: talker Q8_0 (1,33 GB) + codec F16 (358 MB), total sekitar 1,69 GB. Ukuran persis tiap file ada digguf/README.md.
Model details
| Item | Value |
|---|---|
| Base model | Qwen3-TTS 0.6B Base (Qwen/Qwen3-TTS-12Hz-0.6B-Base), Apache 2.0 |
| Architecture | Qwen3TTSForConditionalGeneration, tts_model_type: custom_voice, 12 Hz tokenizer |
| Fine-tune | Fine-tune of Qwen3-TTS 0.6B |
| Voice | Single built-in speaker, speaker="swarai" |
| Output | 24 kHz mono WAV |
| Released weights | model.safetensors, 1,811,626,544 bytes (BF16), sha256 371050f6c84931621040cd0d61ccd5b93d1d5721f2f81d19d2cf6a159e12a248 |
| Speech tokenizer | speech_tokenizer/model.safetensors, 682,293,092 bytes (included) |
| License | Apache 2.0 (see License) |
The released weights contain a single built-in Indonesian voice; no additional setup is needed at inference time.
Intended use
- Narration and voiceover in Bahasa Indonesia (educational content, news reading, audiobooks, accessibility).
- Research on Indonesian TTS.
- Not a general voice cloner: this release exposes one fixed voice
(
speaker="swarai"). The base model's reference-audio cloning path is not part of this fine-tuned CustomVoice model. - Not for impersonation: do not use this voice to misrepresent a real person. The voice is that of a professional narrator reading a published novel (see Training data).
Responsible use / Penggunaan yang bertanggung jawab
English. The built-in voice is a professional narrator reading a published novel (see Training data) β do not use it to misrepresent a real person. If you adapt this model with another voice, use only your own voice or one you have explicit permission to use; do not imitate another person's voice without consent. Misuse β fraud, deepfakes, social engineering β is entirely your responsibility. This is a research project; how it is used is each user's own responsibility. The separate Casual / Teen / Humble voice variants (LibriVox readers, public domain) are offered in the SWARAI demo and Duplex kit, not in this repository.
Bahasa Indonesia. Suara bawaan model ini adalah narator profesional yang membacakan novel terbitan (lihat Training data) β jangan pakai suara ini untuk menyamar sebagai orang sungguhan. Bila Anda mengadaptasi model ini dengan suara lain, gunakan hanya suara Anda sendiri atau suara yang Anda miliki izin eksplisitnya; jangan meniru suara orang lain tanpa izin. Penyalahgunaan β penipuan, deepfake, social engineering β sepenuhnya di luar tanggung jawab kami. Proyek ini murni riset; penggunaan ada di tangan masing-masing pihak. Varian suara Casual / Teen / Humble (pembaca LibriVox, domain publik) tersedia terpisah di demo SWARAI dan kit Duplex, bukan di repo ini.
Training data
The fine-tune was trained on Dataset-Text-To-Speech-Indonesia (X-lord): a single narrator, Dewi Anggreini, reading the novel Ronggeng Dukuh Paruk by Ahmad Tohari.
| Item | Value |
|---|---|
| Input rows | 4,531 |
| Kept after cleaning | 4,501 (28 dropped: bad text; 1 too short; 1 too long) |
| Train / val / test | 4,051 / 225 / 225 |
| Kept duration | 16.26 hours |
| Reference audio | xlord_00727.wav |
License note for the voice data β please read. The training data is the Dataset-Text-To-Speech-Indonesia dataset (X-lord), which the dataset's Hugging Face page states is licensed under the MIT License as declared by the uploader. That MIT declaration covers the dataset as published by the uploader. It does not change the fact that the underlying text, the novel Ronggeng Dukuh Paruk, remains the copyright of its author, Ahmad Tohari, and the voice is the real reading of a real narrator, Dewi Anggreini. This release does not claim the voice itself is MIT-licensed, and no consent from the narrator for voice cloning has been verified. Attribution is given here and in the Acknowledgements below. If you are the dataset owner, the narrator, or a rights holder with a concern about this use, please open an issue on this repository or email rangga@neugi.com, and the model will be taken down on request.
For the record: the LibriVox readers 2814, 3205 and 3232 (public domain) were used only for small separate probe fine-tunes during development β they are not the voice of this release, and their probe numbers below are context, not claims about this model.
Evaluation
All numbers below were measured with faster-whisper small, language id,
greedy decoding (do_sample=False), on the same 10 standard Indonesian
sentences, and verified against the raw .npy/.json measurement files.
"WER normal" = word error rate after digit-to-word normalization (the
project's standard ladder metric); "WER raw" = without normalization.
Differences under ~2 points are within draw-to-draw noise (greedy draws are
not deterministic).
| Configuration | WER normal | WER raw | Dropped words |
|---|---|---|---|
| Base model (control), 1 draw | 13.12% | 21.68% | 4 |
| SWARAI (released weights), 1 draw | 9.73% | 21.85% | 0 |
| Base model (control), pooled 2 draws | 15.03% | 24.61% | 9 (pooled) |
| SWARAI (released weights), pooled 2 draws | 11.16% | 22.88% | 3 (pooled; all also dropped by control) |
| Bilingual paragraph, 127 words (5 sentences) | 22.0% strict (18.9% adjusted) | β | "ge", "gonta, ganti" |
| Identity sentence alone, 14 words | 21.4% (3/14) | β | β |
Reference points (separate small probe fine-tunes, not this release): reader 3205 WER 11.39%, reader 3232 14.56%, reader 2814 20.25%. The 1.7B sibling model scored 7.98% (1 draw) but dropped the content word "founder" and is not part of this release.
Release-file verification. The numbers above were measured with the released weights. The released file itself was verified end to end on Modal (L4, 1 Dec 2026): sha256 identical on the volume, and the identity sentence generated cleanly (8.16 s, WER 38.5% on the 13-word sentence β inside the observed draw range, same error pattern).
Caveats. The headline numbers come from 10 sentences and 1β2 greedy draws β a small sample. WER here is measured against the input text with an ASR system, so it conflates TTS errors with ASR errors; raw WER (~22%) is much higher than normalized WER because numbers and abbreviations are read aloud in expanded form. Treat these numbers as a development signal, not a benchmark claim.
How to use
import soundfile as sf
import torch
from qwen_tts import Qwen3TTSModel
tts = Qwen3TTSModel.from_pretrained(
"neugi-com/swarai", # or a local path to this repo
device_map="cuda:0",
dtype=torch.bfloat16,
attn_implementation="sdpa",
)
wavs, sr = tts.generate_custom_voice(
text="Halo, saya SWARAI, model suara Bahasa Indonesia dari tim riset neugi dot kom.",
speaker="swarai",
do_sample=False, # greedy: the production setting
)
sf.write("swarai-demo.wav", wavs[0], sr)
A runnable version of this example is in examples/generate.py.
Requirements: pip install -U qwen-tts soundfile torch (GPU recommended, bf16,
~4 GB VRAM; CPU works but is slow).
Pronunciation tips. Write brand names the way they sound if you want the author's pronunciation: "SWARAI" as "Suaray", "neugi.com" as "niugi dot kom". Numbers are read aloud in expanded form; write them out when it matters.
Limitations
- One fixed voice. No speaker choice, no reference-audio cloning in this release.
- Indonesian-first. English and code-switching work but with higher error rates (bilingual paragraph: 22.0% strict WER).
- Small-sample evaluation. See Evaluation caveats.
- Sampling variance. Greedy draws are not deterministic; the same text can produce slightly different audio across runs.
- GGUF derivative built and load-tested (CrispASR 0.8.55, 1 Dec 2026):
talker F16 / Q8_0 / Q4_K + codec F16 / Q8_0, in
gguf/(both parts required, see the note at the top of this card). Recommended pair: talker Q8_0 + codec F16 (~1.69 GB). Experimental/optional, not a replacement for the safetensors release β voice match has not yet been judged by listening; llama.cpp mainline was not tested. Runtime is CrispASR (qwen3-tts-customvoice), not llama.cpp. - Known anomaly (non-blocking). Two speech-tokenizer weight variants exist
in the project workspace (same size, 6,972,152 bytes differ); this release
uses the variant with sha256
836b7b35β¦. The origin of the difference is not yet explained.
License
Apache 2.0 β see LICENSE. Same license as the base model
(Qwen3-TTS, Alibaba). Subject to the training-data license note in
Training data.
Citation
@misc{swarai2026,
title = {SWARAI: An Indonesian Voice Model},
author = {Rangga Prayoga Hermawan},
year = {2026},
howpublished = {\url{https://huggingface.co/neugi-com/swarai}},
note = {Fine-tune of Qwen3-TTS 0.6B (Alibaba, Apache 2.0)}
}
Acknowledgements
- Downloads last month
- 973
Model tree for neugi-com/swarai
Base model
Qwen/Qwen3-TTS-12Hz-0.6B-Base