Instructions to use thanhtantran/VieNeu-TTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use thanhtantran/VieNeu-TTS with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="thanhtantran/VieNeu-TTS", filename="VieNeu-TTS-q4_0.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use thanhtantran/VieNeu-TTS with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf thanhtantran/VieNeu-TTS:Q4_0 # Run inference directly in the terminal: llama cli -hf thanhtantran/VieNeu-TTS:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf thanhtantran/VieNeu-TTS:Q4_0 # Run inference directly in the terminal: llama cli -hf thanhtantran/VieNeu-TTS:Q4_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf thanhtantran/VieNeu-TTS:Q4_0 # Run inference directly in the terminal: ./llama-cli -hf thanhtantran/VieNeu-TTS:Q4_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf thanhtantran/VieNeu-TTS:Q4_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf thanhtantran/VieNeu-TTS:Q4_0
Use Docker
docker model run hf.co/thanhtantran/VieNeu-TTS:Q4_0
- LM Studio
- Jan
- Ollama
How to use thanhtantran/VieNeu-TTS with Ollama:
ollama run hf.co/thanhtantran/VieNeu-TTS:Q4_0
- Unsloth Studio
How to use thanhtantran/VieNeu-TTS with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for thanhtantran/VieNeu-TTS to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for thanhtantran/VieNeu-TTS to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for thanhtantran/VieNeu-TTS to start chatting
- Atomic Chat new
- Docker Model Runner
How to use thanhtantran/VieNeu-TTS with Docker Model Runner:
docker model run hf.co/thanhtantran/VieNeu-TTS:Q4_0
- Lemonade
How to use thanhtantran/VieNeu-TTS with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull thanhtantran/VieNeu-TTS:Q4_0
Run and chat with the model
lemonade run user.VieNeu-TTS-Q4_0
List all available models
lemonade list
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,14 +11,6 @@ base_model:
|
|
| 11 |
pipeline_tag: text-to-speech
|
| 12 |
---
|
| 13 |
|
| 14 |
-
# VieNeu-TTS
|
| 15 |
-
|
| 16 |
-
[](https://github.com/pnnbao97/VieNeu-TTS)
|
| 17 |
-
[](https://huggingface.co/pnnbao-ump/VieNeu-TTS)
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-

|
| 21 |
-
|
| 22 |
## Overview
|
| 23 |
|
| 24 |
**VieNeu-TTS** is an advanced on-device Vietnamese Text-to-Speech (TTS) model with **instant voice cloning**.
|
|
@@ -44,39 +36,6 @@ Your support helps maintain and improve VieNeu-TTS! 🙏
|
|
| 44 |
|
| 45 |
---
|
| 46 |
|
| 47 |
-
## Voice Cloning Inference
|
| 48 |
-
|
| 49 |
-
**Reference Voice (Speaker Example):**
|
| 50 |
-
<audio controls src="https://cdn-uploads.huggingface.co/production/uploads/68b923a86c86c127a1975eda/Rpw1V6X1px59SWQKn_W9D.wav"></audio>
|
| 51 |
-
|
| 52 |
-
**Input Text:**
|
| 53 |
-
> Trên bầu trời xanh thẳm, những đám mây trắng lửng lờ trôi như những chiếc thuyền nhỏ đang lướt nhẹ theo dòng gió. Dưới mặt đất, cánh đồng lúa vàng rực trải dài tới tận chân trời, những bông lúa nghiêng mình theo từng làn gió.
|
| 54 |
-
|
| 55 |
-
**Generated Output (Cloned Voice):**
|
| 56 |
-
<audio controls src="https://cdn-uploads.huggingface.co/production/uploads/68b923a86c86c127a1975eda/f40t4ueGqmsGDmNIGcU3J.mpga"></audio>
|
| 57 |
-
|
| 58 |
-
---
|
| 59 |
-
|
| 60 |
-
## Installation
|
| 61 |
-
|
| 62 |
-
```bash
|
| 63 |
-
git clone https://github.com/pnnbao97/VieNeu-TTS.git
|
| 64 |
-
cd VieNeu-TTS
|
| 65 |
-
uv sync
|
| 66 |
-
```
|
| 67 |
-
|
| 68 |
-
## Gradio Demo
|
| 69 |
-
|
| 70 |
-
```bash
|
| 71 |
-
uv run gradio_app.py
|
| 72 |
-
```
|
| 73 |
-
Open your browser at `http://127.0.0.1:7860`.
|
| 74 |
-
|
| 75 |
-
**Demo Video:**
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
<video controls src="https://cdn-uploads.huggingface.co/production/uploads/68b923a86c86c127a1975eda/pRsUExICceCh47dgu4P8I.mp4" width="100%"></video>
|
| 79 |
-
|
| 80 |
## Reference Voices
|
| 81 |
|
| 82 |
| File | Gender | Accent | Description |
|
|
|
|
| 11 |
pipeline_tag: text-to-speech
|
| 12 |
---
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
## Overview
|
| 15 |
|
| 16 |
**VieNeu-TTS** is an advanced on-device Vietnamese Text-to-Speech (TTS) model with **instant voice cloning**.
|
|
|
|
| 36 |
|
| 37 |
---
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
## Reference Voices
|
| 40 |
|
| 41 |
| File | Gender | Accent | Description |
|