Show HN: Real-time voice chat with AI, no transcription Hi HN -- voice chat with AI is very popular these days, especially with YC startups ( https://twitter.com/k7agar/status/1769078697661804795 ). The current approaches all do a cascaded approach, with audio -> transcription -> language model -> text synthesis. This approach is easy to get started with, but requires lots of complexity and has a few glaring limitations. Most notably, transcription is slow, is lossy and any error propagates to the rest of the system, cannot capture emotional affect, is often not robust to code-switching/accents, and more. Instead, what if we fed audio directly to the LLM - LLM's are really smart, can they figure it out? This approach is faster (we skip transcription decoding) and less lossy/more robust because the big language model should be smarter than a smaller transcription decoder. I've trained a model in just that fashion. For more architectural information and some training details, see this first post: https://tincans.ai/slm . For details about this model and some ideas for how to prompt it, see this post: https://tincans.ai/slm3 . We trained this on a very limited budget but the model is able to do some things that even GPT-4, Gemini, and Claude cannot, eg reasoning about long-context audio directly, without transcription. We also believe that this is the first model in the world to conduct adversarial attacks and apply preference modeling in the speech domain. The demo is unoptimized (unquantized bf16 weights, default Huggingface inference, serverless speed bumps) but achieves 120ms time to first token with audio. You can basically think of it as Mistral 7B, so it'll be very fast and can also run basically anywhere. I am especially optimistic about embedded usage -- not needing the transcription step means that the resulting model is smaller and cheaper to use on the edge. Would love to hear your thoughts and how you would use it! Weights are Apache-2 and on Hugging Face: https://ift.tt/A1wbIFJ... https://ift.tt/QyDmgMK March 20, 2024 at 12:37AM
Show HN: Real-time voice chat with AI, no transcription https://ift.tt/MdiEB7l
Related Articles
Show HN: Andromeda Invaders: Auto Play: Press 'Enter' twice and wait 5 seconds https://ift.tt/tKnbuiTShow HN: Andromeda Invaders: Auto Play: Press 'Enter' twice and wait 5… Read More
Show HN: Built a blog using Rust and Axum https://ift.tt/Ajc4fqLShow HN: Built a blog using Rust and Axum https://ift.tt/y8r61Jp March… Read More
Show HN: Safe Data Changes in PostgreSQL https://ift.tt/Xo70rsIShow HN: Safe Data Changes in PostgreSQL Hi HN, we're excited to share… Read More
Show HN: Topiary: universal formatter engine using treesitter https://ift.tt/32ykCGgShow HN: Topiary: universal formatter engine using treesitter https://… Read More
Show HN: Django Developers – Reverse Job Board for Django Developers https://ift.tt/LiQm8nXShow HN: Django Developers – Reverse Job Board for Django Developers h… Read More
Show HN: Browse and Generate AI Memes for Free https://ift.tt/XwvLtrZShow HN: Browse and Generate AI Memes for Free https://meme.koll.ai Ma… Read More
Show HN: Can you beat my dad at Scrabble? https://ift.tt/P7EZNq4Show HN: Can you beat my dad at Scrabble? https://dadagrams.com March … Read More
Show HN: Weigh My Luggage – Just bring a bathroom scale https://ift.tt/74xNQHWShow HN: Weigh My Luggage – Just bring a bathroom scale https://ift.tt… Read More
0 Comments: