Instructions to use neuphonic/neutts-air-q4-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use neuphonic/neutts-air-q4-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="neuphonic/neutts-air-q4-gguf", filename="neutts-air-Q4_0.gguf", )
llm.create_chat_completion( messages = "\"The answer to the universe is 42\"" )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use neuphonic/neutts-air-q4-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf neuphonic/neutts-air-q4-gguf:Q4_0 # Run inference directly in the terminal: llama-cli -hf neuphonic/neutts-air-q4-gguf:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf neuphonic/neutts-air-q4-gguf:Q4_0 # Run inference directly in the terminal: llama-cli -hf neuphonic/neutts-air-q4-gguf: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 neuphonic/neutts-air-q4-gguf:Q4_0 # Run inference directly in the terminal: ./llama-cli -hf neuphonic/neutts-air-q4-gguf: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 neuphonic/neutts-air-q4-gguf:Q4_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf neuphonic/neutts-air-q4-gguf:Q4_0
Use Docker
docker model run hf.co/neuphonic/neutts-air-q4-gguf:Q4_0
- LM Studio
- Jan
- Ollama
How to use neuphonic/neutts-air-q4-gguf with Ollama:
ollama run hf.co/neuphonic/neutts-air-q4-gguf:Q4_0
- Unsloth Studio new
How to use neuphonic/neutts-air-q4-gguf 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 neuphonic/neutts-air-q4-gguf 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 neuphonic/neutts-air-q4-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for neuphonic/neutts-air-q4-gguf to start chatting
- Pi new
How to use neuphonic/neutts-air-q4-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf neuphonic/neutts-air-q4-gguf:Q4_0
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "neuphonic/neutts-air-q4-gguf:Q4_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use neuphonic/neutts-air-q4-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf neuphonic/neutts-air-q4-gguf:Q4_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default neuphonic/neutts-air-q4-gguf:Q4_0
Run Hermes
hermes
- Docker Model Runner
How to use neuphonic/neutts-air-q4-gguf with Docker Model Runner:
docker model run hf.co/neuphonic/neutts-air-q4-gguf:Q4_0
- Lemonade
How to use neuphonic/neutts-air-q4-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull neuphonic/neutts-air-q4-gguf:Q4_0
Run and chat with the model
lemonade run user.neutts-air-q4-gguf-Q4_0
List all available models
lemonade list
NeuTTS Air Q4-GGUF βοΈ
Created by Neuphonic - building faster, smaller, on-device voice AI
State-of-the-art Voice AI has been locked behind web APIs for too long. NeuTTS Air is the worldβs first super-realistic, on-device, TTS speech language model with instant voice cloning. Built off a 0.5B LLM backbone, NeuTTS Air brings natural-sounding speech, real-time performance, built-in security and speaker cloning to your local device - unlocking a new category of embedded voice agents, assistants, toys, and compliance-safe apps.
This is a Q4-GGUF version of NeuTTS-Air.
Key Features
- π£Best-in-class realism for its size - produces natural, ultra-realistic voices that sound human
- π±Optimised for on-device deployment - provided in GGML format, ready to run on phones, laptops, or even Raspberry Pis
- π«Instant voice cloning - create your own speaker with as little as 3 seconds of audio
- πSimple LM + codec architecture built off a 0.5B backbone - the sweet spot between speed, size, and quality for real-world applications
Model Details
NeuTTS Air is built off Qwen 0.5B - a lightweight yet capable language model optimised for text understanding and generation - as well as a powerful combination of technologies designed for efficiency and quality:
- Audio Codec: NeuCodec - our proprietary neural audio codec that achieves exceptional audio quality at low bitrates using a single codebook
- Format: Available in GGML format for efficient on-device inference
- Responsibility: Watermarked outputs
- Inference Speed: Real-time generation on mid-range devices
- Power Consumption: Optimised for mobile and embedded devices
Get Started
Clone the Git Repo
git clone https://github.com/neuphonic/neutts-air.git cd neutts-airInstall
espeak(required dependency)Please refer to the following link for instructions on how to install
espeak:https://github.com/espeak-ng/espeak-ng/blob/master/docs/guide.md
# Mac OS brew install espeak # Ubuntu/Debian sudo apt install espeakInstall Python dependencies
The requirements file includes the dependencies needed to run the model with PyTorch. When using an ONNX decoder or a GGML model, some dependencies (such as PyTorch) are no longer required.
The inference is compatible and tested on
python>=3.11.pip install -r requirements.txt
Basic Example
Run the basic example script to synthesize speech:
python -m examples.basic_example \
--input_text "My name is Dave, and um, I'm from London" \
--ref_audio samples/dave.wav \
--ref_text samples/dave.txt
--backbone neuphonic/neutts-air-q4-gguf
To specify a particular model repo for the backbone or codec, add the --backbone argument. Available backbones are listed in NeuTTS-Air huggingface collection.
Several examples are available, including a Jupyter notebook in the examples folder.
Simple One-Code Block Usage
from neuttsair.neutts import NeuTTSAir
import soundfile as sf
tts = NeuTTSAir( backbone_repo="neuphonic/neutts-air-q4-gguf", backbone_device="cpu", codec_repo="neuphonic/neucodec", codec_device="cpu")
input_text = "My name is Dave, and um, I'm from London."
ref_text = "samples/dave.txt"
ref_audio_path = "samples/dave.wav"
ref_text = open(ref_text, "r").read().strip()
ref_codes = tts.encode_reference(ref_audio_path)
wav = tts.infer(input_text, ref_codes, ref_text)
sf.write("test.wav", wav, 24000)
Tips
NeuTTS Air requires two inputs:
- A reference audio sample (
.wavfile) - A text string
The model then synthesises the text as speech in the style of the reference audio. This is what enables NeuTTS Airβs instant voice cloning capability.
Example Reference Files
You can find some ready-to-use samples in the examples folder:
samples/dave.wavsamples/jo.wav
Guidelines for Best Results
For optimal performance, reference audio samples should be:
- Mono channel
- 16-44 kHz sample rate
- 3β15 seconds in length
- Saved as a
.wavfile - Clean β minimal to no background noise
- Natural, continuous speech β like a monologue or conversation, with few pauses, so the model can capture tone effectively
Responsibility
Every audio file generated by NeuTTS Air includes **Perth (Perceptual Threshold) Watermarker.**
Disclaimer
Don't use this model to do bad things⦠please.
- Downloads last month
- 75,529
4-bit
Model tree for neuphonic/neutts-air-q4-gguf
Base model
neuphonic/neutts-air