🦜 VieNeu-TTS-0.3B-Q4-0-GGUF (CPU Optimized)

GitHub Base Model Discord

VieNeu-TTS-0.3B-Q4-0-GGUF is a Q4_0 quantized version of VieNeu-TTS-0.3B. This model is specifically optimized to run directly on the CPU, providing extremely fast speech synthesis without the need for a dedicated GPU.

Author: PhαΊ‘m Nguyα»…n Ngọc BαΊ£o

β˜• Support This Project

Training high-quality TTS models requires significant GPU resources. If you find this model useful, please consider supporting the development:

Buy Me a Coffee


πŸ› οΈ Requirements (eSpeak NG)

eSpeak NG is mandatory for phonemization.

  • Windows: Download .msi from eSpeak NG Releases.
  • macOS: brew install espeak
  • Linux: sudo apt install espeak-ng

πŸš€ How to Use

Use the source code from GitHub for the best experience with full text preprocessing support:

# 1. Clone repository
git clone https://github.com/pnnbao97/VieNeu-TTS.git
cd VieNeu-TTS

# 2. Sync environment (requires uv)
uv sync

# 3. Launch Web UI
uv run gradio_app.py

In the UI, select Backbone: VieNeu-TTS-0.3B-q4-gguf and Device: CPU.


πŸ“¦ Using Python SDK (vieneu)

Install the SDK to integrate VieNeu-TTS-0.3B into your research or applications:

# Windows (Avoid llama-cpp build errors)
pip install vieneu --extra-index-url https://pnnbao97.github.io/llama-cpp-python-v0.3.16/cpu/

# Linux / MacOS
pip install vieneu

Full Features Guide

from vieneu import Vieneu
import os

# Initialization
tts = Vieneu()  # Default: 0.3B-Q4 GGUF for CPU
os.makedirs("outputs", exist_ok=True)

# 1. List preset voices
available_voices = tts.list_preset_voices()
for desc, name in available_voices:
    print(f"   - {desc} (ID: {name})")

# 2. Use specific voice (dynamically select second voice)
if available_voices:
    _, my_voice_id = available_voices[1] if len(available_voices) > 1 else available_voices[0]
    voice_data = tts.get_preset_voice(my_voice_id)
    audio_spec = tts.infer(text="ChΓ o bαΊ‘n, tΓ΄i Δ‘ang nΓ³i bαΊ±ng giọng cα»§a bΓ‘c sΔ© TuyΓͺn.", voice=voice_data)
    tts.save(audio_spec, f"outputs/standard_{my_voice_id}.wav")
    print(f"πŸ’Ύ Saved synthesis to: outputs/standard_{my_voice_id}.wav")

# 3. Standard synthesis (uses default voice)
text = "Xin chΓ o, tΓ΄i lΓ  VieNeu. TΓ΄i cΓ³ thể giΓΊp bαΊ‘n đọc sΓ‘ch, lΓ m chatbot thời gian thα»±c, hoαΊ·c thαΊ­m chΓ­ clone giọng nΓ³i cα»§a bαΊ‘n."
audio = tts.infer(text=text)
tts.save(audio, "outputs/standard_output.wav")
print("πŸ’Ύ Saved synthesis to: outputs/standard_output.wav")

# 4. Zero-shot voice cloning
if os.path.exists("examples/audio_ref/example_ngoc_huyen.wav"):
    cloned_audio = tts.infer(
        text="ĐÒy lΓ  giọng nΓ³i Δ‘Γ£ được clone thΓ nh cΓ΄ng tα»« file mαΊ«u.",
        ref_audio="examples/audio_ref/example_ngoc_huyen.wav",
        ref_text="TΓ‘c phαΊ©m dα»± thi bαΊ£o Δ‘αΊ£m tΓ­nh khoa học, tΓ­nh Δ‘αΊ£ng, tΓ­nh chiαΊΏn Δ‘αΊ₯u, tΓ­nh Δ‘α»‹nh hΖ°α»›ng."
    )
    tts.save(cloned_audio, "outputs/standard_cloned_output.wav")
    print("πŸ’Ύ Saved cloned voice to: outputs/standard_cloned_output.wav")

# 5. Cleanup
tts.close()

πŸ“Š Technical Specifications

  • Format: GGUF (Q4_0)
  • Size: ~200 MB
  • Standard Devices: Office laptops, Mini PCs, and computers without GPUs.
  • Performance: Achieves real-time speed even on standard consumer CPUs.

⚠️ Licensing & Copyright

This model is released under the CC BY-NC 4.0 license.

  • βœ… Free: For students, researchers, and non-profit purposes.
  • ⚠️ Commercial/Enterprise: Use for businesses or commercial products is strictly prohibited without prior authorization.
  • Commercial Licensing: Please contact the author (PhαΊ‘m Nguyα»…n Ngọc BαΊ£o) for licensing terms (Estimated: 5,000 USD/year - negotiable).

πŸ“‘ Citation

@misc{vieneutts03bgguf2026,
  title        = {VieNeu-TTS-0.3B-GGUF: CPU-Optimized Vietnamese Text-to-Speech},
  author       = {Pham Nguyen Ngoc Bao},
  year         = {2026},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/pnnbao-ump/VieNeu-TTS-0.3B-q4-gguf}}
}

Made with ❀️ for the Vietnamese TTS community

Downloads last month
21,872
GGUF
Model size
0.3B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for pnnbao-ump/VieNeu-TTS-0.3B-q4-gguf

Quantized
(4)
this model

Datasets used to train pnnbao-ump/VieNeu-TTS-0.3B-q4-gguf

Spaces using pnnbao-ump/VieNeu-TTS-0.3B-q4-gguf 4

Collection including pnnbao-ump/VieNeu-TTS-0.3B-q4-gguf