Introduction of higgs-audio-v3-tts-4b-transformers
Model Details of higgs-audio-v3-tts-4b-transformers
Higgs Audio v3 TTS (4B) — transformers
trust_remote_code
port
A
trust_remote_code
packaging of
bosonai/higgs-audio-v3-tts-4b
that loads with plain 🤗 transformers (no SGLang). The weights are the original
checkpoint, copied unchanged; only a small
modeling_*.py
/
configuration_*.py
pair and an
auto_map
were added.
The model is a standard
Qwen3-4B
backbone plus a fused multi-codebook audio
embedding/head. Reference-audio encoding and waveform decoding use the
transformers-native
bosonai/higgs-audio-v2-tokenizer
(
higgs_audio_v2_tokenizer
), loaded automatically on first use.
Requires
transformers >= 5.5
.
Usage
import torch
import torchaudio
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "multimodalart/higgs-audio-v3-tts-4b-transformers"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(
repo, trust_remote_code=True, dtype=torch.bfloat16
).to("cuda").eval()
# Zero-shot TTS
wav = model.generate_speech("Hello, this is Higgs Audio running on transformers.", tokenizer)
torchaudio.save("out.wav", wav.unsqueeze(0), model.config.sample_rate)
# Voice cloning from a reference clip (+ optional transcript)
ref, sr = torchaudio.load("reference.wav")
wav = model.generate_speech(
"Now speaking in the cloned voice.",
tokenizer,
reference_audio=ref,
reference_sample_rate=sr,
reference_text="optional transcript of the reference clip",
temperature=0.7,
top_p=0.95,
)
torchaudio.save("clone.wav", wav.unsqueeze(0), model.config.sample_rate)
generate_speech
returns a mono 24 kHz waveform as a CPU float32 tensor
[L]
.
Notes
Generation uses Higgs' delay pattern across 8 codebooks (vocab 1026, incl.
BOC/EOC specials); de-delay + decode are handled internally.
The codec runs in fp32 (decode is unstable in bf16); the LM backbone runs in
the dtype you load it in (bf16 recommended).
License: research/non-commercial, inherited from the upstream checkpoint — see
LICENSE
.
Runs of multimodalart higgs-audio-v3-tts-4b-transformers on huggingface.co
45.2K
Total runs
0
24-hour runs
-1.1K
3-day runs
-7.7K
7-day runs
-12.4K
30-day runs
More Information About higgs-audio-v3-tts-4b-transformers huggingface.co Model
More higgs-audio-v3-tts-4b-transformers license Visit here:
higgs-audio-v3-tts-4b-transformers huggingface.co is an AI model on huggingface.co that provides higgs-audio-v3-tts-4b-transformers's model effect (), which can be used instantly with this multimodalart higgs-audio-v3-tts-4b-transformers model. huggingface.co supports a free trial of the higgs-audio-v3-tts-4b-transformers model, and also provides paid use of the higgs-audio-v3-tts-4b-transformers. Support call higgs-audio-v3-tts-4b-transformers model through api, including Node.js, Python, http.
higgs-audio-v3-tts-4b-transformers huggingface.co is an online trial and call api platform, which integrates higgs-audio-v3-tts-4b-transformers's modeling effects, including api services, and provides a free online trial of higgs-audio-v3-tts-4b-transformers, you can try higgs-audio-v3-tts-4b-transformers online for free by clicking the link below.
multimodalart higgs-audio-v3-tts-4b-transformers online free url in huggingface.co:
higgs-audio-v3-tts-4b-transformers is an open source model from GitHub that offers a free installation service, and any user can find higgs-audio-v3-tts-4b-transformers on GitHub to install. At the same time, huggingface.co provides the effect of higgs-audio-v3-tts-4b-transformers install, users can directly use higgs-audio-v3-tts-4b-transformers installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
higgs-audio-v3-tts-4b-transformers install url in huggingface.co: