ๆญฃๅœจๅŠ ่ฝฝ่ง†้ข‘...

่ง†้ข‘ๅŠ ่ฝฝๅคฑ่ดฅ

I coded a Speech-to-Text model from scratch. ๐‡๐ž๐ซ๐ž ๐ข๐ฌ ๐ญ๐ก๐ž ๐›๐ฅ๐จ๐  ๐Ÿ๐จ๐ซ ๐ญ๐ก๐ž ๐ฌ๐š๐ฆ๐ž: No APIs. No pre-trained models. Just PyTorch, an A100 GPU, and hours of debugging. This started months ago. I wanted to understand how machines hear. Not surface-level understanding. I wanted to build the whole thing...

51,382 ๆฌก่ง‚็œ‹ โ€ข 3 ไธชๆœˆๅ‰ โ€ขvia X (Twitter)

0 ๆก่ฏ„่ฎบ

ๆš‚ๆ— ่ฏ„่ฎบ

ๅŽŸๅง‹ๅธ–ๅญ็š„่ฏ„่ฎบๅฐ†ๆ˜พ็คบๅœจ่ฟ™้‡Œ

็›ธๅ…ณ่ง†้ข‘

What if your voice AI could interrupt you the moment it figured out your question - sometimes even before you finished asking it? Last week, I sat down with Neil, CEO of Gradium and co-founder of Kyutai , to talk about the future of speech-to-speech models and why he believes today's cascaded voice systems will soon look "archaic and brittle." Some highlights from our conversation: ๐ŸŽฏ How Kyutai built Moshiโ€”a full duplex conversational AI with "negative latency"โ€”in 6 months with just 4-6 people (while big tech teams had 10-20x the resources) ๐Ÿง  Why speech-to-speech models lose intelligence compared to their text counterparts (and what's being done about it) ๐Ÿ“ฑ Pocket TTS: The first voice cloning model that runs on your phone's CPUโ€”not GPU, CPU ๐Ÿค– Why robotics and spatial audio represent the next frontier (hint: current voice systems completely break in these environments) ๐Ÿ‘ถ The efficiency gap: Babies learn to speak fluently from <5,000 hours of audio. Current models train on millions of hours. We're doing something wrong. My favorite vision from Neil? The first truly contrarian AI that interrupts you mid-sentence to tell you why you're wrong. Not just more natural conversationโ€”but actually useful for testing ideas and playing devil's advocate. Full episode and detailed blog post linked in the comments ๐Ÿ‘‡ What's your take - will speech-to-speech replace cascaded systems, or will modularity keep cascaded architectures dominant even as naturalness improves?

Brooke Hopkins

13,000 ๆฌก่ง‚็œ‹ โ€ข 4 ไธชๆœˆๅ‰

I built an agent that answers machine-learning questions. It's autonomous, and the best part is that I built the whole thing without writing a single line of Python code. Here is what I did and how I did it: Over a year ago, a friend and I built a site that publishes multi-choice questions. You get a new one every day. I decided to have GPT-3.5 answer questions. Here is what I needed to build: 1. Connect to the site's API to retrieve today's question 2. Extract the question and the potential choices 3. Connect to OpenAI's API and ask GPT-3.5 to answer the question 4. Parse the answer from the model 5. Submit the answer back to the API to get the score Not difficult. Likely several hours of work. But I didn't have to write any code. I built the whole thing by dragging and dropping components using Vellum is a YC-backed platform for developers to build LLM applications. They are the only ones I've seen offering this functionality. They sponsored this post, and their team helped me with all my questions while I built this. I created a workflow. The platform supports several node types to build whatever you have in mind. I show how I put the whole thing together in the attached video. The only code I had to write was a few lines of Jinja to parse and transform the API and the LLM results. There are three lessons I want to share from this experience: First, the best possible code is the one you didn't write. I'm a big fan of no-code tools because they help me materialize my ideas fast. They help product people, designers, and no coders collaborate on the solution. Second, Large Language Models are sensitive to how you prompt them. Small changes to prompts can make a big difference in results. This is more pronounced when you are building a multi-step workflow. Third, automated testing and evaluation for prompts is critical. There aren't many companies thinking about this. They'll have a hard time moving from a demo phase. The attached video will show you what I did.

Santiago

309,825 ๆฌก่ง‚็œ‹ โ€ข 2 ๅนดๅ‰

New short course: Attention in Transformers: Concepts and Code in PyTorch. Last week we released a course on how LLM transformers work. This week, go deeper and learn about the technical ideas behind the attention mechanism, and see how to code it in PyTorch. This course is built with Joshua Starmer, Founder and CEO of StatQuest. The attention mechanism was a breakthrough that led to transformers, the architecture powering large language models like ChatGPT. Transformers, introduced in the 2017 paper: "Attention is All You Need" by Viswani and others, took off because of its highly scalable design. In this course, youโ€™ll learn how the attention mechanism, a key element of transformer-based LLMs, works and implement it in PyTorch. You'll develop deep intuition about building reliable, functional, and scalable AI applications. What you will do: - Understand the evolution of the attention mechanism, a key breakthrough that led to transformers. - Learn the relationships between word embeddings, positional embeddings, and attention. - Learn about the Query, Key, and Value matrices, and how to produce and use them in attention. - Walk through the math required to calculate self-attention and masked self-attention to learn why and how they work. - Understand the difference between self-attention and masked self-attention and how one is used in the encoder to build context-aware embeddings and the other is used in the decoder for generative outputs. - Learn the details of the encoder-decoder architecture, cross-attention, and multi-head attention and how they are all incorporated into a transformer. - Use PyTorch to code a class that implements self-attention, masked self-attention, and multi-head attention. There're lots of exciting technical details in this course. Please sign up here:

Andrew Ng

132,216 ๆฌก่ง‚็œ‹ โ€ข 1 ๅนดๅ‰

I trained a 100 million parameter DeepSeek V3 LLM from scratch Here's what you need to know. Previously I trained traditional GPT-2 architecture which has become obsolete with recent LLM advancements. Most recent models like Llama, Mistral, DeepSeek, and GPT-4 use latest architectures. โœฆ Model Configuration of my SLM DeepSeek V3 - Parameters: 109,032,032 - Embedding Dimension: 512 - Layers: 8 - Heads: 8 - Experts (MoE): 8 - Experts per token: 2 โœฆ DeepSeek brings major architectural changes: - Multi Head Latent Attention - Mixture of Experts - RMS Norm - Multi Token Prediction โœฆ Dataset Challenge - TinyStories is great for learning SLMs. I trained GPT-2 on it previously with good results. - But I needed a more challenging dataset. - If I use TinyStories again on DeepSeek, how would I know MHLA, MoE or MTP works better than old architecture? - The old architecture can handle it, so new DeepSeek would too without utilizing latest advancements. That's why I moved to FineWeb-Edu dataset Thanks Yuvraj Singh (smolhub.com) for the suggestion for this dataset โœฆ Training Journey - Rented A100 PCIe GPU and trained the model. - Did test runs. During final run, model was 65% trained but stopped due to glitch after 4 hours. - Fixed all edge cases and ran training again with increased config parameters. - Final training: 7 hours, 20,000 epochs ๐“๐จ๐ญ๐š๐ฅ ๐†๐๐” ๐œ๐จ๐ฌ๐ญ: $17 - $9.53 for main 7-hour run - $7.42 for experiments and demos โœฆ Reflection Amazing long project that taught me latest architectural advancements. I'll reimplement and revisit after a few weeks because there's too much complexity, mostly in Multi Head Latent Attention part. Need to make concepts stronger. Code Final trained Model Dataset Resources Huge shoutout to Raj Dandekar again for creating one of the most detailed video series about DeepSeek - this was my primary resource for the implementation. Playlist Blogs by Maarten Grootendorst These are excellent visual blogs to understand MoE in detail. Thanks Maarten for your amazing contributions to the community through your books and blogs Blogs on MoE Implemention of MoE from scratch by @aviTwit3 One of the most detailed blogs on implementing Mixture of Experts. Thanks Avinash for this blog - it helped me understand Mixture of Experts much better. If you're someone in the ๐Œ๐‹ & ๐‹๐‹๐Œ space, would love to ๐œ๐จ๐ง๐ง๐ž๐œ๐ญ and discuss this field in general, so give a follow up for that.

Mayank Pratap Singh

48,005 ๆฌก่ง‚็œ‹ โ€ข 1 ๅนดๅ‰

Fitness Update: End of 3 months of Bulking. Starting a 3 month cut tomorrow, my last cut of 2026. I lost about 50 pounds from January 2025 till the end of March 2026 with a 13 month straight cut aided by Retatrutide and Tirzepatide. Counted calories and ran a deficit and lifted weights the whole time. My body needed a break and a reset from the stress of cutting for that long and constant downregulating of my metabolism. I decided to take April off and just do more calories and more lifting, and that turned into deciding to do May and June as well. So for 3 months straight I've been eating a lot more and lifting a LOT. I've gained about 5 pounds. Abs are not very visible anymore. But I've put on some muscle and strength as well and increased my base metabolic rate by several hundred calories. This is positioning me to be able to better be able to run a deficit again and continue into another cut with more energy and success possible. So this is me thicc boi mode ready to start a cut and get lean and mean. I'm sitting at ~195 right now and ~16-18% body fat. Goal of my cut is to get to the 180 or so range over the next 3 months and be in the 12-13% BF range, at which point I'll do a slow patient bulk through Oct-January and enjoy the fall and Holidays with lots of calories and strength training. Starting tomorrow I'm going to add 30-45 minutes of daily fasted zone 2 cardio first thing in the morning to burn an extra 150-300 cals. And I will drop my daily calorie allowance about 400 calories from what I've been eating the last few months. (2500-2800 down to 2200 to start, lowering later to 2100 and 2000 lowest if necessary to keep rate of loss where I want) This should get me the 1+ pound per week rate of loss I'm looking for. And I'll continue to prioritize lifting and protein as well to preserve the muscle mass I've built up and get as much of the loss to be fat as possible. I'm also going zero alcohol the whole cut as well. If I execute well, I'll be by far the fittest and leanest I've ever been at the end of September and I'm excited to see what that looks and feels like when I get there. Going from 70+ pounds overweight to building your dream physique isn't a quick process, people. Give yourself a couple of years to work on it systematically. It took you years to get out of shape, so you can take a couple years to get into great shape. But once you're there it's easier to stay there than it was to get there thankfully. The work continues. Let me know if you have any questions about anything. I'm documenting the whole process and will keep y'all up to speed. Open book. Building in public for accountability and hopefully to help others with their journey as well. 4th pic is me at my fattest in 2024. Embarrassing to post but necessary conext. I was in a sad, sad state you guys and heading towards diabetes and an early grave. If I can do this, you can do this!

Clint Fiore ๐Ÿฆฌ DM for Biz Deals

75,761 ๆฌก่ง‚็œ‹ โ€ข 14 ๅคฉๅ‰

Itโ€™s hard to believe that 3 years ago, none of this was possible. Now, itโ€™s pretty much going to change everything. Last month, Fish Audio reached out to me to try their voice AI software. They just launched their new S1 model today, and I was curious about the state of AI and voice (and everything else), so I gave it a spin. I liked it enough that when I was asked about a partnership, I said yes. Iโ€™m free to talk about what I like and donโ€™t like about the software, and Iโ€™m going to share with you a few voices I cloned as well as some of the workflow. It was much easier than I thought. To give you an example, here is a private (research only) voice I cloned as a test. I grabbed a clip of Rutger Hauerโ€™s famous speech from Blade Runner and uploaded it to the voice cloner on the Fish Audio Website as a private voice (no one else can use it, as it is for research only). I didnโ€™t think it would work. The audio sample is very short. But Fish Audio was able to clone the voice extremely well and very fast. I didnโ€™t have to upload any more than that to produce these results. I used Grok to write the new dialog, and I added the rain and background effects and the result is pretty impressive. It only took just a few minutes once I had the audio uploaded for everything from cloning to generating multiple takes. Iโ€™ll give some tips and pointers on how to get the best results at the conclusion of this thread and show you some surprising things it can do. (conโ€™t) #Promotion

Grummz

69,859 ๆฌก่ง‚็œ‹ โ€ข 1 ๅนดๅ‰

I just hit 100k subscribers on YouTube and I'm stoked. Which is why I've decided to give this whole content creation thing a real shot. Starting today, I am going to stream consistently on Twitch and regularly upload to my channel. A little back story on how I got here. Before I created content I suffered from clinical depression after having my thyroid removed due to cancer. I would escape by watching streams and gaming videos to relax. One day I decided to just give it a shot. So I hooked up my computer and talked into a very cheap mic and started streaming. It went terribly, but honestly... I was thrilled. Then I took some of that footage and edited it down like I did with skate videos to some random song that reminded me of a model runway. Took forever to get done on my free time. I got one encouraging comment... And I was absolutely thrilled. These days I get comments from people who tell me what they're struggling through and how my videos helped them forget about it for an hour. And every time that happens, I'm reminded of why I do this. To pay back for all the times I was entertained when I was having a hard time. It seems so dumb, but man... I can't tell you what a stupid little video or silly stream can do for someone having a really hard time. I'm not sure if this is going to work... But I'm going to give it a try. Even if I fail, I'm not going to stop creating. I got exciting plans for the future but this is the first step. Where it takes me... I'm not sure. I hope you all come along. Regardless. Thanks to all of you for supporting me and helping me out. I never thought I'd hit 100k or have any type of following. Not in a million years. I am grateful and appreciative. Here's to what comes next I guess. Tea is life. โ˜•๏ธ

TeaGuyTom

21,510 ๆฌก่ง‚็œ‹ โ€ข 1 ๅนดๅ‰