This is my account to share Data Science, Machine/Deep Learning, DS, ML AI alike. Personal account: @rrsouza Now mirroring in: @knowledgedrops.bsky.social

Vienna - Austria
Joined January 2010
Renato Rocha Souza retweeted
Yesterday at the White House, leaders from across our industry came together to sign the White House Accord on Super Intelligence. The principle is simple: the companies building this technology have the primary responsibility to develop and deploy it safely, and to be accountable when they fall short. The Accord reinforces that responsibility with robust internal controls, independent external evaluation, and board level oversight. Super Intelligence offers an extraordinary opportunity to advance discovery, productivity, security, health, and prosperity. The future of Super Intelligence will be shaped not only by what it can do, but by the confidence it earns. By building with ambition, rigor, and responsibility, we can help ensure this extraordinary technology expands opportunity and improves lives for generations to come.
2,982
3,225
712
25,966
2,175,195
Renato Rocha Souza retweeted
We're publishing our most detailed threat intelligence report to date. It covers how people tried to misuse Claude—for cyberattacks, influence operations, surveillance, biology, and building weapons—and how we found and stopped them. We disrupted every operation in the report, and used the lessons from them to strengthen our safeguards. Where appropriate, we also shared what we found with authorities and other AI companies. These cases are not typical: we’re highlighting some of the most sophisticated misuse we’ve seen. But they’re especially important to discuss, because they show us where AI misuse is headed, where our safeguards work, and where they need to improve. We’re publishing this report so others can spot the same activity on their own platforms, and so we can give the public a clearer view of how emerging threats develop. Read the report: anthropic.com/threat-intelli…
3,213
11,673
4,937
50,339
43,869,736
Renato Rocha Souza retweeted
I resigned from Anthropic today. I spent the last three years doing pretraining research at both OpenAI and Anthropic. Neither company is acting responsibly. They are racing straight to self-improving superintelligence and gambling with our lives. More thoughts below.
20,496
167,089
39,441
800,891
175,377,074
Renato Rocha Souza retweeted
You can now ask Claude about the Anthropic Economic Index, our public dataset measuring how AI is used across the economy. Ask which occupations use AI the most, or what kinds of tasks people are automating, and the answers draw directly from the Index data.
509
914
250
12,376
2,466,452
Renato Rocha Souza retweeted
🚨Anthropic just showed a 24-minute workshop on how to actually do prompts for Claude. Taught by the people who built it. Free. No registration. No paywall. I've seen $300 courses that don't cover what they teach in the first 8 minutes. Watch it and bookmark it now!
10
66
1
343
73,001
Renato Rocha Souza retweeted
Every company’s AI workflow rn be like 😭💀
327
2,877
350
26,865
2,480,267
Renato Rocha Souza retweeted
🦔Microsoft canceled its internal Claude Code licenses this week after token-based billing made the cost untenable, even for a company with effectively infinite cloud resources. Uber's CTO sent an internal memo warning the company burned through its entire 2026 AI budget in just four months. American AI software prices have jumped 20% to 37%, and GitHub (owned by Microsoft) is dropping flat-rate plans for usage-based billing across its products. My Take The AI subsidy era is ending in real time. The same company that put $13 billion into OpenAI and built the Azure infrastructure powering most of Anthropic's compute just looked at the bill from a competitor's coding tool and decided it was not worth paying. That is not a productivity failure on Anthropic's end. Token-based pricing is forcing every enterprise customer to confront the actual cost of running these models at scale, and the number turns out to be far higher than the flat-rate experiments suggested. This ties directly to my Gemini Flash post yesterday. Anthropic, OpenAI, and Google all raised effective prices in the last six months. Enterprises that built workflows assuming AI costs would keep falling are now watching annual budgets evaporate in months. Two outcomes look likely from here. Either enterprises scale back AI usage to fit budgets, which slows the revenue ramp the labs need to justify their valuations ahead of IPOs, or the labs cut prices and absorb the losses, which makes the unit economics worse at exactly the wrong moment. Both paths land in the same place, the numbers stop working, and somebody has to take the writedown. Hedgie🤗
1,050
3,869
1,244
19,565
8,372,624
Renato Rocha Souza retweeted
AI is a five-layer cake ~ Jensen Huang
41
631
33
5,462
135,354
Renato Rocha Souza retweeted
Andrej Karpathy just explained the future of software engineering without directly saying it. The best AI engineers are no longer “prompting.” They’re building systems around the agents. Karpathy’s biggest insight wasn’t: “Claude can code.” It was: LLMs become dramatically better when you force them into disciplined workflows. That’s why "CLAUDE.md" files are suddenly everywhere. Not because they’re prompts. Because they behave like an operating system for the agent. Karpathy called out the exact problems with AI coding: - models assume instead of asking - they overengineer simple tasks - they hide confusion - they rewrite unrelated code - they optimize for completion, not correctness So developers started encoding rules directly into the workflow: → Think before coding → Simplicity first → Surgical edits only → Goal-driven execution And the results are wild. People are now running multiple Claude Code agents in parallel like engineering teams: • one agent researching • one debugging • one writing tests • one optimizing code • one validating outputs Not “AI assistance.” Actual orchestration. And this part from Karpathy changes everything: “Don’t tell the model what to do. Give it success criteria and let it loop.” That is the shift. From: “write this function” To: “here’s the goal, constraints, tests, and verification system — now iterate until correct.” The craziest part? This already feels like a phase shift in engineering. A lot of developers quietly went from: 80% manual coding → to 80% agent-driven coding in just months. Not because AI became perfect. Because the leverage became impossible to ignore. We’re entering an era where the highest leverage engineers won’t necessarily be the best coders. They’ll be the people who build the best systems around AI agents.
85
492
28
3,694
740,206
Renato Rocha Souza retweeted
An artist just put a mirror to a lot of society's knee-jerk critiques of AI, using Claude (Monet). SHL0MS, known for his viral experiments, posted an image of a real Monet water lilies painting on X and told people it was AI-generated. Hundreds of replies poured in explaining exactly why it was 'slop'. "No cohesion of elements." "Doesn't look anywhere near like a Monet. Looks like somebody trying to replicate the style and achieving 20% of it." "High school level art 101 work." Every flaw described was a one invented the moment they saw the word AI.
i just generated an image in the style of a Monet painting using AI please describe, in as much detail as possible, what makes this inferior to a real Monet painting
45
259
76
941
285,957
Renato Rocha Souza retweeted
In my doctorate, I proved the Erdős Primitive Set Conjecture, showing that the primes themselves are maximal among all primitive sets. This problem will always be in my heart: I worked on it for 4 years (even when my mentors recommended against it!) and loved every minute of it. [Primitive sets are a vast generalization of the prime numbers: A set S is called primitive if no number in S divides another.] Now Erdős#1196 is an asymptotic version of Erdős' conjecture, for primitive sets of "large" numbers. It was posed in 1966 by the Hungarian legends Paul Erdős, András Sárközy, and Endre Szemerédi. I'd been working on it for many years, and consulted/badgered many experts about it, including my mentors Carl Pomerance and James Maynard. The the proof produced by GPT5.4 Pro was quite surprising, since it rejected the "gambit" that was implicit in all works on the subject since Erdős' original 1935 paper. The idea to pass from analysis to probability was so natural & tempting from a human-conceptual point of view, that it obscured a technical possibility to retain (efficient, yet counter-intuitve) analytic terminology throughout, by use of the von Mangoldt function \Lambda(n). The closest analogy I would give would be that the main openings in chess were well-studied, but AI discovers a new opening line that had been overlooked based on human aesthetics and convention. In fact, the von Mangoldt function itself is celebrated for it's connection to primes and the Riemann zeta function--but its piecewise definition appears to be odd and unmotivated to students seeing it for the first time. By the same token, in Erdős#1196, the von Mangoldt weights seem odd and unmotivated but turn out to cleverly encode a fundamental identity \sum_{q|n}\Lambda(q) = \log n, which is equivalent to unique factorization of n into primes. This is the exact trick that breaks the analytic issues arising in the "usual opening". Moreover, Terry Tao has long suspected that the applications of probability to number theory are unnecessarily complicated and this "trick" might actually clarify the general theory, which would have a broader impact than solving a single conjecture.
54
374
84
2,897
997,521
Renato Rocha Souza retweeted
🚨 BREAKING: China just fixed a 10-year-old flaw hidden inside every major language model. Every AI you use today (ChatGPT, Claude, Gemini) is built on a massive flaw. It’s called the residual connection. Here’s the problem: every layer inside an AI blindly stacks its output on top of the last one. There is no filtering, no judgment, just blind accumulation. Imagine a meeting where every person shouts their ideas at full volume, forever. The early ideas (the fundamental patterns) get drowned out by the newer, louder layers piled on top. The technical term is “prenorm dilution,” but in practice, it means your AI forgets its own most important work as it gets deeper. We’ve been building models like this since 2017. Now, Moonshot AI (Kimi) just dropped a paper that completely replaces this broken system. They call it “attention residuals.” Instead of blindly accumulating everything, each layer now “votes” on which previous layers actually matter using softmax attention over depth. The network learns to remember what’s important and ignore what isn’t. The results are absolutely insane: - It matches the performance of models that used 25% more compute to train - Tested on a 48-billion-parameter model with massive gains in math, code, and reasoning - Inference slowdown is less than 2% - It’s a direct drop-in replacement for existing systems The Transformer replaced recurrence with attention across words in 2017. This paper is doing the exact same thing across layers of depth. This is the same class of idea. The entire architecture of AI is about to change.
38
263
27
1,040
84,931
Renato Rocha Souza retweeted
nanochat now trains GPT-2 capability model in just 2 hours on a single 8XH100 node (down from ~3 hours 1 month ago). Getting a lot closer to ~interactive! A bunch of tuning and features (fp8) went in but the biggest difference was a switch of the dataset from FineWeb-edu to NVIDIA ClimbMix (nice work NVIDIA!). I had tried Olmo, FineWeb, DCLM which all led to regressions, ClimbMix worked really well out of the box (to the point that I am slightly suspicious about about goodharting, though reading the paper it seems ~ok). In other news, after trying a few approaches for how to set things up, I now have AI Agents iterating on nanochat automatically, so I'll just leave this running for a while, go relax a bit and enjoy the feeling of post-agi :). Visualized here as an example: 110 changes made over the last ~12 hours, bringing the validation loss so far from 0.862415 down to 0.858039 for a d12 model, at no cost to wall clock time. The agent works on a feature branch, tries out ideas, merges them when they work and iterates. Amusingly, over the last ~2 weeks I almost feel like I've iterated more on the "meta-setup" where I optimize and tune the agent flows even more than the nanochat repo directly.
325
552
102
6,474
658,279
Renato Rocha Souza retweeted
Excited to release new repo: nanochat! (it's among the most unhinged I've written). Unlike my earlier similar repo nanoGPT which only covered pretraining, nanochat is a minimal, from scratch, full-stack training/inference pipeline of a simple ChatGPT clone in a single, dependency-minimal codebase. You boot up a cloud GPU box, run a single script and in as little as 4 hours later you can talk to your own LLM in a ChatGPT-like web UI. It weighs ~8,000 lines of imo quite clean code to: - Train the tokenizer using a new Rust implementation - Pretrain a Transformer LLM on FineWeb, evaluate CORE score across a number of metrics - Midtrain on user-assistant conversations from SmolTalk, multiple choice questions, tool use. - SFT, evaluate the chat model on world knowledge multiple choice (ARC-E/C, MMLU), math (GSM8K), code (HumanEval) - RL the model optionally on GSM8K with "GRPO" - Efficient inference the model in an Engine with KV cache, simple prefill/decode, tool use (Python interpreter in a lightweight sandbox), talk to it over CLI or ChatGPT-like WebUI. - Write a single markdown report card, summarizing and gamifying the whole thing. Even for as low as ~$100 in cost (~4 hours on an 8XH100 node), you can train a little ChatGPT clone that you can kind of talk to, and which can write stories/poems, answer simple questions. About ~12 hours surpasses GPT-2 CORE metric. As you further scale up towards ~$1000 (~41.6 hours of training), it quickly becomes a lot more coherent and can solve simple math/code problems and take multiple choice tests. E.g. a depth 30 model trained for 24 hours (this is about equal to FLOPs of GPT-3 Small 125M and 1/1000th of GPT-3) gets into 40s on MMLU and 70s on ARC-Easy, 20s on GSM8K, etc. My goal is to get the full "strong baseline" stack into one cohesive, minimal, readable, hackable, maximally forkable repo. nanochat will be the capstone project of LLM101n (which is still being developed). I think it also has potential to grow into a research harness, or a benchmark, similar to nanoGPT before it. It is by no means finished, tuned or optimized (actually I think there's likely quite a bit of low-hanging fruit), but I think it's at a place where the overall skeleton is ok enough that it can go up on GitHub where all the parts of it can be improved. Link to repo and a detailed walkthrough of the nanochat speedrun is in the reply.
673
3,312
731
23,943
5,822,443
Renato Rocha Souza retweeted
My pleasure to come on Dwarkesh last week, I thought the questions and conversation were really good. I re-watched the pod just now too. First of all, yes I know, and I'm sorry that I speak so fast :). It's to my detriment because sometimes my speaking thread out-executes my thinking thread, so I think I botched a few explanations due to that, and sometimes I was also nervous that I'm going too much on a tangent or too deep into something relatively spurious. Anyway, a few notes/pointers: AGI timelines. My comments on AGI timelines looks to be the most trending part of the early response. This is the "decade of agents" is a reference to this earlier tweet xitter.cf/karpathy/status/188254… Basically my AI timelines are about 5-10X pessimistic w.r.t. what you'll find in your neighborhood SF AI house party or on your twitter timeline, but still quite optimistic w.r.t. a rising tide of AI deniers and skeptics. The apparent conflict is not: imo we simultaneously 1) saw a huge amount of progress in recent years with LLMs while 2) there is still a lot of work remaining (grunt work, integration work, sensors and actuators to the physical world, societal work, safety and security work (jailbreaks, poisoning, etc.)) and also research to get done before we have an entity that you'd prefer to hire over a person for an arbitrary job in the world. I think that overall, 10 years should otherwise be a very bullish timeline for AGI, it's only in contrast to present hype that it doesn't feel that way. Animals vs Ghosts. My earlier writeup on Sutton's podcast xitter.cf/karpathy/status/197343… . I am suspicious that there is a single simple algorithm you can let loose on the world and it learns everything from scratch. If someone builds such a thing, I will be wrong and it will be the most incredible breakthrough in AI. In my mind, animals are not an example of this at all - they are prepackaged with a ton of intelligence by evolution and the learning they do is quite minimal overall (example: Zebra at birth). Putting our engineering hats on, we're not going to redo evolution. But with LLMs we have stumbled by an alternative approach to "prepackage" a ton of intelligence in a neural network - not by evolution, but by predicting the next token over the internet. This approach leads to a different kind of entity in the intelligence space. Distinct from animals, more like ghosts or spirits. But we can (and should) make them more animal like over time and in some ways that's what a lot of frontier work is about. On RL. I've critiqued RL a few times already, e.g. xitter.cf/karpathy/status/194443… . First, you're "sucking supervision through a straw", so I think the signal/flop is very bad. RL is also very noisy because a completion might have lots of errors that might get encourages (if you happen to stumble to the right answer), and conversely brilliant insight tokens that might get discouraged (if you happen to screw up later). Process supervision and LLM judges have issues too. I think we'll see alternative learning paradigms. I am long "agentic interaction" but short "reinforcement learning" xitter.cf/karpathy/status/196080…. I've seen a number of papers pop up recently that are imo barking up the right tree along the lines of what I called "system prompt learning" xitter.cf/karpathy/status/192136… , but I think there is also a gap between ideas on arxiv and actual, at scale implementation at an LLM frontier lab that works in a general way. I am overall quite optimistic that we'll see good progress on this dimension of remaining work quite soon, and e.g. I'd even say ChatGPT memory and so on are primordial deployed examples of new learning paradigms. Cognitive core. My earlier post on "cognitive core": xitter.cf/karpathy/status/193862… , the idea of stripping down LLMs, of making it harder for them to memorize, or actively stripping away their memory, to make them better at generalization. Otherwise they lean too hard on what they've memorized. Humans can't memorize so easily, which now looks more like a feature than a bug by contrast. Maybe the inability to memorize is a kind of regularization. Also my post from a while back on how the trend in model size is "backwards" and why "the models have to first get larger before they can get smaller" xitter.cf/karpathy/status/181403… Time travel to Yann LeCun 1989. This is the post that I did a very hasty/bad job of describing on the pod: xitter.cf/karpathy/status/150339… . Basically - how much could you improve Yann LeCun's results with the knowledge of 33 years of algorithmic progress? How constrained were the results by each of algorithms, data, and compute? Case study there of. nanochat. My end-to-end implementation of the ChatGPT training/inference pipeline (the bare essentials) xitter.cf/karpathy/status/197775… On LLM agents. My critique of the industry is more in overshooting the tooling w.r.t. present capability. I live in what I view as an intermediate world where I want to collaborate with LLMs and where our pros/cons are matched up. The industry lives in a future where fully autonomous entities collaborate in parallel to write all the code and humans are useless. For example, I don't want an Agent that goes off for 20 minutes and comes back with 1,000 lines of code. I certainly don't feel ready to supervise a team of 10 of them. I'd like to go in chunks that I can keep in my head, where an LLM explains the code that it is writing. I'd like it to prove to me that what it did is correct, I want it to pull the API docs and show me that it used things correctly. I want it to make fewer assumptions and ask/collaborate with me when not sure about something. I want to learn along the way and become better as a programmer, not just get served mountains of code that I'm told works. I just think the tools should be more realistic w.r.t. their capability and how they fit into the industry today, and I fear that if this isn't done well we might end up with mountains of slop accumulating across software, and an increase in vulnerabilities, security breaches and etc. xitter.cf/karpathy/status/191558… Job automation. How the radiologists are doing great xitter.cf/karpathy/status/197122… and what jobs are more susceptible to automation and why. Physics. Children should learn physics in early education not because they go on to do physics, but because it is the subject that best boots up a brain. Physicists are the intellectual embryonic stem cell xitter.cf/karpathy/status/192969… I have a longer post that has been half-written in my drafts for ~year, which I hope to finish soon. Thanks again Dwarkesh for having me over!
The @karpathy interview 0:00:00 – AGI is still a decade away 0:30:33 – LLM cognitive deficits 0:40:53 – RL is terrible 0:50:26 – How do humans learn? 1:07:13 – AGI will blend into 2% GDP growth 1:18:24 – ASI 1:33:38 – Evolution of intelligence & culture 1:43:43 - Why self driving took so long 1:57:08 - Future of education Look up Dwarkesh Podcast on YouTube, Apple Podcasts, Spotify, etc. Enjoy!
573
1,949
452
16,709
4,108,707
Renato Rocha Souza retweeted
What does it take to train cutting-edge AI? We looked into the numbers for Grok 4, which required the largest training run to date. Here's what we found: 🧵
10
35
12
195
69,938
Renato Rocha Souza retweeted
He predicted: • AI vision breakthrough (1989) • Neural network comeback (2006) • Self-supervised learning revolution (2016) Now Yann LeCun's 5 new predictions just convinced Zuckerberg to redirect Meta's entire $20B AI budget. Here's what you should know (& how to prepare):
186
1,089
112
7,972
2,191,721
Renato Rocha Souza retweeted
The best way to learn how AI agents really work is to try the ones people have already built. It’s one of the most useful collections I’ve found. This repo pulls together a bunch of open-source projects you can actually run. You can launch them, test them, and get a real sense of what they do and where they break. These are just a few highlights. The full list is in the repo. 🌱 Starter AI Agents 🎙️ AI Blog to Podcast Agent → github.com/Shubhamsaboo/awes… ❤️‍🩹 AI Breakup Recovery Agent → github.com/Shubhamsaboo/awes… 📊 AI Data Analysis Agent → github.com/Shubhamsaboo/awes… 🩻 AI Medical Imaging Agent → github.com/Shubhamsaboo/awes… 😂 AI Meme Generator Agent (Browser) → github.com/Shubhamsaboo/awes… 🎵 AI Music Generator Agent → github.com/Shubhamsaboo/awes… 🛫 AI Travel Agent (Local & Cloud) → github.com/Shubhamsaboo/awes… ✨ Gemini Multimodal Agent → github.com/Shubhamsaboo/awes… 🌐 Local News Agent (OpenAI Swarm) → github.com/Shubhamsaboo/awes… 🔄 Mixture of Agents → github.com/Shubhamsaboo/awes… 📊 xAI Finance Agent → github.com/Shubhamsaboo/awes… 🔍 OpenAI Research Agent → github.com/Shubhamsaboo/awes… 🕸️ Web Scrapping AI Agent (Local & Cloud) → github.com/Shubhamsaboo/awes… 🚀 Advanced AI Agents 🔍 AI Deep Research Agent → github.com/Shubhamsaboo/awes… 🏗️ AI System Architect Agent → github.com/Shubhamsaboo/awes… 🎯 AI Lead Generation Agent → github.com/Shubhamsaboo/awes… 💰 AI Financial Coach Agent → github.com/Shubhamsaboo/awes… 🎬 AI Movie Production Agent → github.com/Shubhamsaboo/awes… 📈 AI Investment Agent → github.com/Shubhamsaboo/awes… 🏋️‍♂️ AI Health & Fitness Agent → github.com/Shubhamsaboo/awes… 🚀 AI Product Launch Intelligence Agent → github.com/Shubhamsaboo/awes… 🗞️ AI Journalist Agent → github.com/Shubhamsaboo/awes… 🧠 AI Mental Wellbeing Agent → github.com/Shubhamsaboo/awes… 📑 AI Meeting Agent → github.com/Shubhamsaboo/awes… 🧬 AI Self-Evolving Agent → github.com/Shubhamsaboo/awes… #aiagents
42
342
9
2,053
163,039