NewsCrawler.org

higurashi-ai/Haru-4B on Hugging Face: a full-duplex speech dialogue model

higurashi-ai/Haru-4B on Hugging Face: a full-duplex speech dialogue model
Image: Reddit

Haru-4B is a pretrained base model released for research by higurashi-ai. It is a low-latency, multilingual full-duplex[1] spoken dialogue model that listens and speaks at the same time, as people do on a phone call.

The model works in steps of 133 ms (7.5 Hz). At each step it takes one frame of the user's audio and produces one frame of its own audio and text, and these are summed into a single position of the language model, so listening and speaking never wait for each other. Audio is a 64-dimensional continuous latent that a small MLP head produces in one step from the hidden state, using MeanFlow[2] sampling, with no separate audio transformer and no discrete audio tokens. A text card sets the character and a short reference clip sets the voice; the model supports English, Spanish, Portuguese, German, French, Chinese, Japanese, Russian and Korean.

The code on GitHub includes a PyTorch implementation with a web demo, an MLX[3] implementation with a native macOS app, and a plugin for serving with vLLM-Omni[4]. Running it requires an NVIDIA GPU with about 12 GB of memory. The model ships without voice clips, so users provide one speaker's clean speech of 3 seconds to 3 minutes. The authors state that the model is not a reliable source of facts and does not follow instructions the way an assistant does. The weights are released under the Apache License 2.0.

Read the original huggingface.coDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page