Hugging Face 与 Cerebras 将 Gemma 4 用于实时语音 AI
Hugging Face and Cerebras bring Gemma 4 to real-time voice AI
Hugging Face 与 Cerebras 搭建了开放、模块化的实时语音到语音管线,以 Nvidia Parakeet 识别语音、在 Cerebras 上运行 Google DeepMind Gemma 4 31B,并通过阿里巴巴 Qwen3TTS 生成语音回复。Cerebras 旨在缩短并稳定模型推理延迟;该管线已用于超过 9,000 台 Reachy Mini 机器人,开发者可体验 Demo 并查看 huggingface/speech-to-speech 仓库。
正文
当前显示原文,中文全文译文尚未就绪。
Architecture: an Open, Cascaded Speech-to-Speech stack
The demo is built as a real-time speech-to-speech pipeline. Each part of the system is modular, open, and replaceable, making it easy for developers to adapt the stack for different assistants, robots, products, or research projects.
This creates a fully open speech-to-speech loop:
Speech input -> speech recognition with Nvidia's Parakeet -> Gemma 4 VLM inference on Cerebras -> text-to-speech with Alibaba's Qwen3TTS -> spoken response
The architecture brings together the strength of the open-source AI ecosystem: Cerebras for fast inference, Google DeepMind’s Gemma 4 31B for the language model, and Qwen for text-to-speech. Every layer can be inspected, modified, and extended by the developers
Cerebras and Hugging Face Partnership
Today, some production systems see a reasonable median latency while still experiencing frustrating multi-second delays at the P95. Those delays become even more noticeable when tool calls or multimodal steps require multiple turns.
Cerebras helps solve one of the most important bottlenecks in the stack: the language-model response time. By making inference dramatically faster and more stable, Cerebras allows the rest of the Hugging Face pipeline to shine.
That stability is especially important at the long tail. Many systems can deliver acceptable median response times, but occasional slow responses still make conversations feel unreliable.
Built for real-world interaction
This same Hugging Face speech-to-speech pipeline already powers Reachy Mini robots, with more than 9,000 robots in the wild. For robots, voice assistants, and embodied AI, responsiveness is not a cosmetic improvement. It is what makes the interaction feel alive.
The motivation to use Cerebras is therefore not simply cost reduction. It is low latency, predictable performance, and the ability to create real-time experiences that feel natural at scale.
This collaboration reflects a shared belief that the future of AI will be both open and performant. Open-source models, open infrastructure, and breakthrough inference speed together create a foundation for the next generation of conversational AI.
We invite developers to explore the demo, experiment with the code, and help shape what comes next for real-time voice AI.
Demo: Hugging Face Space
Repository: huggingface/speech-to-speech
Spaces mentioned in this article 1
More Articles from our Blog
+4
35 August 6, 2026 guide partnerships open-source-collab Run AI workloads on any cloud, store on Hugging Face: zero-egress storage with SkyPilot +1 35 July 7, 2026 Community We even crossed 10k Reachy Minis in the wild 😄 \n","updatedAt":"2026-07-01T19:48:14.006Z","author":{"_id":"67f8d29d5ae1f08f99dc0811","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/noauth/AkX9RbZqzzQlz797iJeqL.jpeg","fullname":"Remi Fabre","name":"RemiFabre","type":"user","isPro":true,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":70,"isUserFollowing":false}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.9182010889053345},"editors":["RemiFabre"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/noauth/AkX9RbZqzzQlz797iJeqL.jpeg"],"reactions":[{"reaction":"❤️","users":["iamrobotbear","GOGOLORDE"],"count":2}],"isReport":false}},{"id":"6a4674ddb5347647d7ba5a15","author":{"_id":"6a36528e81829bff41379067","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/noauth/-VRlbP5P8UmkFVNsSAJlu.jpeg","fullname":"Taniya Hunter","name":"taniyahunter","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"isUserFollowing":false},"createdAt":"2026-07-02T14:25:33.000Z","type":"comment","data":{"edited":false,"hidden":false,"latest":{"raw":"It's exciting to see how Hugging Face and Cerebras are pushing real-time voice technology forward. Fast responses make conversations feel much more comfortable and engaging, and that's exactly what users have been hoping for. 😊 When the delay is reduced, interactions become smoother and more natural, making voice experiences feel less like talking to software and more like having a real conversation.\n\nWhat I appreciate most is the focus on an open and modular approach. That gives developers more flexibility to build solutions that fit different needs instead of being locked into a single ecosystem. The combination of strong model quality with impressive inference speed could help unlock many practical applications across education, customer support, accessibility, and beyond. 🚀 \n\nThe emphasis on latency is absolutely the right direction because speed directly shapes the overall experience. Even the smartest system can feel frustrating if every response takes too long. Bringing that waiting time down creates a much more fluid interaction, and it's great to see innovation focused on something users notice immediately. 👏\n\nLooking forward to seeing how this evolves over the coming months... Faster conversations... Better responsiveness... More natural interactions... Exciting progress for developers and users alike... 🌟🙂","html":" It's exciting to see how Hugging Face and Cerebras are pushing real-time voice technology forward. Fast responses make conversations feel much more comfortable and engaging, and that's exactly what users have been hoping for. 😊 When the delay is reduced, interactions become smoother and more natural, making voice experiences feel less like talking to software and more like having a real conversation. \n What I appreciate most is the focus on an open and modular approach. That gives developers more flexibility to build solutions that fit different needs instead of being locked into a single ecosystem. The combination of strong model quality with impressive inference speed could help unlock many practical applications across education, customer support, accessibility, and beyond. 🚀 \n The emphasis on latency is absolutely the right direction because speed directly shapes the overall experience. Even the smartest system can feel frustrating if every response takes too long. Bringing that waiting time down creates a much more fluid interaction, and it's great to see innovation focused on something users notice immediately. 👏 \n Looking forward to seeing how this evolves over the coming months... Faster conversations... Better responsiveness... More natural interactions... Exciting progress for developers and users alike... 🌟🙂 \n","updatedAt":"2026-07-02T14:25:33.571Z","author":{"_id":"6a36528e81829bff41379067","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/noauth/-VRlbP5P8UmkFVNsSAJlu.jpeg","fullname":"Taniya Hunter","name":"taniyahunter","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"isUserFollowing":false}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.9248013496398926},"editors":["taniyahunter"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/noauth/-VRlbP5P8UmkFVNsSAJlu.jpeg"],"reactions":[],"isReport":false}},{"id":"6a494185af6178959ef59669","author":{"_id":"69dff98f143ac05f45f5fb46","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/69dff98f143ac05f45f5fb46/SXE1LEH19uToErVd5bYyf.png","fullname":"saqib arif a","name":"saqib98","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"isUserFollowing":false},"createdAt":"2026-07-04T17:23:17.000Z","type":"comment","data":{"edited":true,"hidden":false,"latest":{"raw":" ","updatedAt":"2026-07-04T22:17:37.197Z","author":{"_id":"69dff98f143ac05f45f5fb46","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/69dff98f143ac05f45f5fb46/SXE1LEH19uToErVd5bYyf.png","fullname":"saqib arif a","name":"saqib98","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"isUserFollowing":false}},"numEdits":2,"identifiedLanguage":{"language":"en","probability":0.10492900758981705},"editors":["saqib98"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/69dff98f143ac05f45f5fb46/SXE1LEH19uToErVd5bYyf.png"],"reactions":[],"isReport":false}},{"id":"6a4941c1253e5fae4de729c6","author":{"_id":"69dff98f143ac05f45f5fb46","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/69dff98f143ac05f45f5fb46/SXE1LEH19uToErVd5bYyf.png","fullname":"saqib arif a","name":"saqib98","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"isUserFollowing":false},"createdAt":"2026-07-04T17:24:17.000Z","type":"comment","data":{"edited":false,"hidden":false,"latest":{"raw":" ","html":"","updatedAt":"2026-07-04T17:24:17.910Z","author":{"_id":"69dff98f143ac05f45f5fb46","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/69dff98f143ac05f45f5fb46/SXE1LEH19uToErVd5bYyf.png","fullname":"saqib arif a","name":"saqib98","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"isUserFollowing":false}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.1823887974023819},"editors":["saqib98"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/69dff98f143ac05f45f5fb46/SXE1LEH19uToErVd5bYyf.png"],"reactions":[],"isReport":false}},{"id":"6a96dd4bd04cda54d1296c8b","author":{"_id":"6a96d96170c98d8183f84fb8","avatarUrl":"/avatars/5f9148cd30c974704a1987ec53cfb92d.svg","fullname":"Denys Khanzhyiev","name":"xdenser","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"isUserFollowing":false},"createdAt":"2026-09-01T14:12:27.000Z","type":"comment","data":{"edited":false,"hidden":false,"latest":{"raw":"Does anybody work on multipoint speech2speech interaction? I.e. when 2 or more people are talking to AI?\nI think LLM can handle messages from several persons when they are properly tagged.\nHow about speech2text models - are there any works in this direction? The model would have to have some context and probably stereo audio input or some additional tagging to differentiate between persons.\nAs an example practical usage: voice assistant in car, when we have more than one person there, not unusual.\nAlso some public kiosks where a group of people can interact by voice.\nThere is much more in it then just text tagging by voice, as in this case people could also talk to each other (not to AI) and here also some capturing of non-verbal communication will be needed.\n\n","html":" Does anybody work on multipoint speech2speech interaction? I.e. when 2 or more people are talking to AI? I think LLM can handle messages from several persons when they are properly tagged. How about speech2text models - are there any works in this direction? The model would have to have some context and probably stereo audio input or some additional tagging to differentiate between persons. As an example practical usage: voice assistant in car, when we have more than one person there, not unusual. Also some public kiosks where a group of people can interact by voice. There is much more in it then just text tagging by voice, as in this case people could also talk to each other (not to AI) and here also some capturing of non-verbal communication will be needed. \n","updatedAt":"2026-09-01T14:12:27.661Z","author":{"_id":"6a96d96170c98d8183f84fb8","avatarUrl":"/avatars/5f9148cd30c974704a1987ec53cfb92d.svg","fullname":"Denys Khanzhyiev","name":"xdenser","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"isUserFollowing":false}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.9747719764709473},"editors":["xdenser"],"editorAvatarUrls":["/avatars/5f9148cd30c974704a1987ec53cfb92d.svg"],"reactions":[],"isReport":false}}],"status":"open","isReport":false,"pinned":false,"locked":false,"collection":"community_blogs"},"contextAuthors":["A-Mahla","andito","lvwerra","vyassaurabh"],"primaryEmailConfirmed":false,"discussionRole":0,"acceptLanguages":["en","zh"],"withThread":true,"cardDisplay":false,"repoDiscussionsLocked":false,"hideComments":true}"> RemiFabre Jul 1 We even crossed 10k Reachy Minis in the wild 😄
Reply taniyahunter Jul 2 It's exciting to see how Hugging Face and Cerebras are pushing real-time voice technology forward. Fast responses make conversations feel much more comfortable and engaging, and that's exactly what users have been hoping for. 😊 When the delay is reduced, interactions become smoother and more natural, making voice experiences feel less like talking to software and more like having a real conversation.
What I appreciate most is the focus on an open and modular approach. That gives developers more flexibility to build solutions that fit different needs instead of being locked into a single ecosystem. The combination of strong model quality with impressive inference speed could help unlock many practical applications across education, customer support, accessibility, and beyond. 🚀
The emphasis on latency is absolutely the right direction because speed directly shapes the overall experience. Even the smartest system can feel frustrating if every response takes too long. Bringing that waiting time down creates a much more fluid interaction, and it's great to see innovation focused on something users notice immediately. 👏
Looking forward to seeing how this evolves over the coming months... Faster conversations... Better responsiveness... More natural interactions... Exciting progress for developers and users alike... 🌟🙂
Reply saqib98 Jul 4 • edited Jul 4 Reply saqib98 Jul 4 No description provided. Reply xdenser about 1 month ago Does anybody work on multipoint speech2speech interaction? I.e. when 2 or more people are talking to AI? I think LLM can handle messages from several persons when they are properly tagged. How about speech2text models - are there any works in this direction? The model would have to have some context and probably stereo audio input or some additional tagging to differentiate between persons. As an example practical usage: voice assistant in car, when we have more than one person there, not unusual. Also some public kiosks where a group of people can interact by voice. There is much more in it then just text tagging by voice, as in this case people could also talk to each other (not to AI) and here also some capturing of non-verbal communication will be needed.
Reply Edit Preview Upload images, audio, and videos by dragging in the text input, pasting, or clicking here . Tap or paste here to upload images Comment · Sign up or log in to comment
Upvote 107 +95 Spaces mentioned in this article 1 Running Featured 567 HF Realtime Voice 🎙 567 Realtime voice over WebSocket or WebRTC