
Sebastian Raschka X विश्लेषण और सामग्री रणनीति
@rasbt210 पोस्ट27 जून 2025 – 30 नव॰ 2026 (UTC)
X · @rasbt
इस रिपोर्ट में 210 पोस्ट · 27 जून 2025 — 30 नव॰ 2026 (UTC)
- अनुयायी
- —
- सगाई दर —
- औसत। प्रति पोस्ट दृश्य
- 105K
- औसत दृश्य 64.5K
- औसत। प्रति पोस्ट लाइक
- 1.25K
- लाइक रेट 1.2%
- औसत। प्रति पोस्ट उत्तर
- 48.8
- उत्तर दर 0.0465%
- औसत। प्रति पोस्ट दोबारा पोस्ट करें
- 158
- रीपोस्ट दर 0.151%
- औसत। प्रति पोस्ट बुकमार्क
- 839
- बुकमार्क दर 0.8%
Sebastian Raschka की सामग्री में Books, Courses, and Video Series, Other, और Open-Source Large Model Architecture Analysis and Comparison शामिल है। मूल पोस्ट के साथ-साथ इसके विषय, पोस्ट प्रदर्शन, सामग्री प्रारूप और प्रकाशन समय का अन्वेषण करें।
Open-Source Large Model Architecture Analysis and Comparison
I (finally) put together a new LLM Architecture Gallery that collects the architecture figures all in one place! https://t.co/NO7z6XSRHS https://t.co/X41FrK4i94
छवि लोड हो रही है…Kimi K2 is basically DeepSeek V3 but with fewer heads and more experts: https://t.co/LrRqRCOHkl
छवि लोड हो रही है…A lot of hype around OpenAI's Astra model here on my timeline today. Apparently, this goes back to a new article from The Information, which said Astra is a "recurrent depth or looped transformer".
It's always interesting to read about new or different approaches (including rumors about what the closed labs may be up to), but let's debunk this a bit. About 2 months ago, I shared the architecture details of Nanbeige, for example, where "Nanbeige4.2-3B is pretrained from scratch on 28T tokens with a Looped Transformer that reuses the layer stack to increase capacity without adding parameters." Yes, that's it. The looped transformer idea is just reusing layers in the transformer block. In the case of Nanbeige, the main idea is to reuse the same 22-layer stack (=transformer block) twice instead of once. So, effectively it extends the 22-layer architecture to 44 layers, but without duplicating the weights. In simple terms, this roughly doubles the size of the model (if we ignore the embedding and output layers for a second). But instead of requiring 2x the storage and RAM to host this model, it stays at the same size since we reuse the components. However, it's almost 2x as expensive in terms of compute, because we run the embedded text through almost 2x as many layers. Why? In the Nanbeige 4.2 technical report, the researchers found that two passes gave the best trade-off and retained about 75% of the token efficiency of a standard architecture. (More passes gave barely any gains but made the training much slower and much more expensive.) While, as far as I know, Nanbeige 4.2 is the first notable open-weight model that adopted this approach, the idea goes back to the NeurIPS paper "Mixture-of-recursions: Learning dynamic recursive depths for adaptive token-level computation". Actually, this paper proposes a mechanism that is a bit more sophisticated by adding a learned router that determines whether each token receives one, two, or more passes. So, easy tokens can exit early while harder tokens receive additional computation. In sum, Astra may be a really good model, but this shouldn't be about this "looped transformer aspect," which is just a tiny architectural tweak. Also, the statement "the new technique works in a way that obscures some or all of the AI's reasoning, otherwise known as 'chain-of-thought'" is not necessarily true with respect to the looped transformer method. It's possible that The Information journalist refers to some other technique or misunderstood the looped transformer method. Reusing layers does not by itself suppress visible chain of thought. It adds computation in hidden states before the next token is emitted, just as ordinary transformer layers do. But based on the information we have, the only plausible interpretation here is that if a model uses more of these recurrent passes, it may need to generate fewer intermediate reasoning tokens. So then more of its computation happens in latent activations that cannot be read as text. But we would get the same effect if we were scaling up the model size, like GPT 5.6 Luna -> GPT 5.6 Sol.
छवि लोड हो रही है…The Kimi K3 architecture figure for yesterday's big open-weight model release, along with some observations and thoughts.
1. Yes, it looks relatively complicated, but it's essentially a scaled-up production version of their Kimi Linear model they released last year (scaled up from 48B -> 2.8T; K3 is by far the biggest open-weight model right now) 2. The one new component compared to Kimi Linear is the LatentMoE. I omitted it in the figure below since it's already very crowded, but that's essentially the same LatentMoE as in Nemotron 3 Ultra (you can find it in my LLM Architecture Gallery if you are curious). The idea here is to compress (down-project) large linear layers similar to multi-head latent attention. 3. Kimi K3's overall trend (similar to Nemotron 3, DeepSeek V4, and others) is also towards better inference efficiency. That is, there are many components that replace existing components with efficiency-tweaked versions. I.e., MoE -> LatentMoE, regular attention -> multi-head latent attention and Kimi Delta Attention. (I also have short tutorials and write-ups in my gallery if you are curious about additional details). 4. The one component change that is not an efficiency tweak is attention residuals. Like DeepSeek V4 improved the residual path with mHC (manifold-constrained Hyper-Connections), attention residuals are a way to improve the residual path, but it works a bit differently. I.e., mHC made the residual path wider. Attention residuals (also already part of Kimi Linear) connect the residuals across layers; the connection itself uses an attention score for an important/contribution weight. According to the report, it improves the validation loss and downstream performance (a bit) consistently and adds about 4% in training cost and 2% in inference cost. 5. Interestingly, Kimi K3 got rid of all RoPE layers and uses NoPE (No Positional Embeddings) everywhere instead. (Again, this is inherited from Kimi Linear). In other architectures, the recent trend was towards RoPE in local attention layers (like sliding window attention) and NoPE in the global layers. There were a few architectures that only used NoPE everywhere, but this is the first frontier-level one as far as I know. 6. Kimi K3 now also has native multimodal support, which is great! There are several other interesting training tidbits in the technical report, but that's it from the architecture front so far. A really great release overall.
छवि लोड हो रही है…While waiting for DeepSeek V4 we got two very strong open-weight LLMs from India yesterday.
There are two size flavors, Sarvam 30B and Sarvam 105B model (both reasoning models). Interestingly, the smaller 30B model uses “classic” Grouped Query Attention (GQA), whereas the larger 105B variant switched to DeepSeek-style Multi-Head Latent Attention (MLA). As I wrote about in my analyses before, both are popular attention variants to reduce KV cache size (the longer the context, the more you save compared to regular attention). MLA is more complicated to implement, but it can give you better modeling performance if we go by the ablation studies in the 2024 DeepSeek V2 paper (as far as I know, this is still the most recent apples-to-apples comparison). Speaking of modeling performance, the 105B model is on par with LLMs of similar size: gpt-oss 120B and Qwen3-Next (80B). Sarvam is better on some tasks and worse on others, but roughly the same on average. It’s not the strongest coder in SWE-Bench Verified terms, but it is surprisingly good at agentic reasoning and task completion (Tau2). It’s even better than Deepseek R1 0528. Considering the smaller Sarvam 30B, the perhaps most comparable model to the 30B model is Nemotron 3 Nano 30B, which is slightly ahead in coding per SWE-Bench Verified and agentic reasoning (Tau2) but slightly worse in some other aspects (Live Code Bench v6, BrowseComp). Unfortunately, Qwen3-30B-A3B is missing in the benchmarks, which is, as far as I know, is the most popular model of that size class. Interestingly, though, the Sarvam team compared their 30B model to Qwen3-30B-A3B on a computational performance analysis, where they found that Sarvam gets 20-40% more tokens/sec throughput compared to Qwen3 due to code and kernel optimizations. Anyways, one thing that is not captured by the benchmarks above is Sarvam’s good performance on Indian languages. According to a judge model, the Sarvam team found that their model is preferred 90% of the time compared to others when it comes to Indian texts. (Since they built and trained the tokenizer from scratch as well, Sarvam also comes with a 4 times higher token efficiency on Indian languages.
छवि लोड हो रही है…Yes, LLM architectures are getting a little more complicated https://t.co/jII112pJbO
छवि लोड हो रही है…Just updated the Big LLM Architecture Comparison article... ...it grew quite a bit since the initial version in July 2025, more than doubled! https://t.co/oEt8XzNxik https://t.co/RZuwp6ZUaF
छवि लोड हो रही है…With yesterday’s GLM-5.4 release, there are 5 looped transformers in my LLM Architecture Gallery now.
I see a trend :) https://t.co/reO28tzqJC
छवि लोड हो रही है…April was a pretty strong month for LLM releases: - Gemma 4 - GLM-5.1 - Qwen3.6 - Kimi K2.6 - DeepSeek V4
All are now added to the LLM Architecture Gallery. More details once I am fully back in May! https://t.co/HDYbWi2pcc
छवि लोड हो रही है…Updated & turned my Big LLM Architecture Comparison article into a narrated video lecture.
The 11 LLM architectures covered in this video: 1. DeepSeek V3/R1 2. OLMo 2 3. Gemma 3 4. Mistral Small 3.1 5. Llama 4 6. Qwen3 7. SmolLM3 8. Kimi 2 9. GPT-OSS 10. Grok 2.5 11. GLM-4.5 https://t.co/POjLPWainM
I put together a mega write-up on GPT-6 Astra & looped transformers.
How looped transformers / recurrent depth works, cost-tradeoffs, whether it hides reasoning traces, with lots of figures and a tour of recent looped transformer research. https://t.co/VR6HaPFVXH
छवि लोड हो रही है…Big overhaul on DeepSeek V4.1 using an encoder-decoder setup. Tbh they should have called it DeepSeek V5! Super cool and refreshing, though! https://t.co/r00s3Cl29m
छवि लोड हो रही है…New article: a visual tour of recent LLM architecture advances, from Gemma 4 to DeepSeek V4.
I focus on long-context efficiency tweaks like KV sharing, per-layer embeddings, layer-wise attention budgets, compressed attention, and mHC. Link: https://t.co/KO81y3kTH7 https://t.co/wTx51QpQu4
छवि लोड हो रही है…From GPT to MoE: I reviewed & compared the main LLMs of 2025 in terms of their architectural design from DeepSeek-V3 to Kimi 2.
Multi-head Latent Attention, sliding window attention, new Post- & Pre-Norm placements, NoPE, shared-expert MoEs, and more... https://t.co/oEt8XzNxik
Now we know: The popular Ox Alpha LLM was GLM-5.3-Flash...
Compared to GLM-5.2, this new GLM-5.3-Flash model uses: - a Kimi Linear-style 3:1 (super*) hybrid attention pattern with 34 Kimi Delta Attention layers (KDA) and 11 Multi-heat Latent Attention (MLA) / DeepSeek Sparse Attention (DSA) layers; - a scaled-down GLM-5.2-style sparse MoE backbone, going from 744B-A40B to 320B-A18B; - a DeepSeek V4-style mHC residual path with four parallel streams; - plus a native vision encoder (not shown). * "Super hybrid" because both KDA and MLA/DSA are "efficient" components. E.g., Kimi only uses KDA + full attention GQA, DeepSeek V3.2 uses DSA + full attention MLA. PS: Sry for the excessive tech jargon. Explainers on all these components (MLA, DSA, KDA, mhC, etc.) in my LLM Architecture Gallery PPS: Haha, maybe justification for getting that pricey Mac Studio M5 Ultra 256 GB / 512 GB to run this locally...
छवि लोड हो रही है…Hold on a sec, Mistral 3 Large uses the DeepSeek V3 architecture, including MLA?
Just went through the config files; the only difference I could see is that Mistral 3 Large used 2x fewer experts but made each expert 2x large. https://t.co/jHxLKHBetr
छवि लोड हो रही है…From the Hierarchical Reasoning Model (HRM) to a new Tiny Recursive Model (TRM).
A few months ago, the HRM made big waves in the AI research community as it showed really good performance on the ARC challenge despite its small 27M size. (That's about 22x smaller than the smallest Qwen3 0.6B model.) Now, the new "Less is More: Recursive Reasoning with Tiny Networks" paper proposes Tiny Recursive Model (TRM), which a simpler and even smaller model (7M, 4× smaller than HRM) that performs even better on the ARC challenge. 🔹 What does recursion mean here? TRM refines its answer in two steps: 1. It updates a latent (reasoning) state from the current question and answer. 2. Then it updates the answer based on that latent state. Training runs for up to 16 refinement steps per batch. Each step does several no-grad loops to improve the answer, followed by one gradient loop that learns from the full reasoning process. By the way, the question and the answer are grids of discrete tokens, not text. (E.g., 9×9 Sudoku and up to 30×30 ARC and Maze.) 🔹 And how does it differ from HRM? In short, HRM recurses multiple times through two small neural nets with 4 transformer blocks each (high and low frequency). TRM is much smaller (i.e., 4x) and only a single network with 2 transformer blocks. TRM backpropagates through the full recursion once per step, whereas HRM only backpropagates through the final few steps. And TRM also removes HRM's extra forward pass for halting and instead uses a simple binary cross-entropy loss to learn when to stop iterating. 🔹 Surprising tidbits 1. The author found that adding layers decreased generalization due to overfitting. And going from 4 to 2 layers improved the model from 79.5% to 87.4% on Sudoku. 2. Replacing the self-attention layer with an MLP layer also improved accuracy (74.7% -> 87.4% on Sudoku); however, note that this only make sense here since we have a fixed-length, small context to work with. 🔹 Bigger picture My personal caveat: comparing this method (or HRMs) to LLMs feels a bit unfair since HRMs/TRM are specialized models trained for specific tasks (here: ARC, Sudoku, and Maze pathfinding) while LLMs are generalists. It’s like comparing a pocket calculator to a laptop. Both serve a purpose, just in different contexts. That said, HRMs and the recursive model proposed here are fascinating proof‑of‑concepts that show what’s possible with relatively small and efficient architectures. I'm still curious what the real‑world use case will look like. Maybe they could serve as reasoning or planning modules within a larger tool‑calling system. In practice, we often start by throwing LLMs at a problem, which makes sense for quick prototyping and establishing a baseline. But I can see a point where someone sits down afterward and trains a focused model like this to solve the same task more efficiently.
छवि लोड हो रही है…DeepSeek finally released a new model and paper. And because this DeepSeek-OCR release is a bit different from what everyone expected, and DeepSeek releases are generally a big deal, I wanted to do a brief explainer of what it is all about.
In short, they explore how vision encoders can improve the efficiency of LLMs in processing and compressing textual information. And the takeaway is that rendering text as images and feeding that to the model results in more efficient compression than working with text directly. My first intuition was that this sounds very inefficient and shouldn't work as well as using text tokenizers (or alternatives like Byte Latent Transformer) to prepare the input. It actually reminded me of the line of research I saw years ago, where researchers represented 3D molecules as 3D inputs or 2D images for ConvNets instead of using graph neural nets. This shouldn't work well and should be prone to overfitting. In the case of DeepSeek-OCR, why even try such an approach? I imagine it started as a curiosity, but then it may have turned into an interesting idea for long-context scaling in LLMs and how to make it cheaper by using vision tokens and representations. (An image can say more than a thousand words, but who would have thought that an image of text can say 1000 words more efficiently!) In any case, this DeepSeek-OCR approach turns out to be surprisingly efficient. In particular, they found that at a fixed precision of 97% for long-context decoding (i.e., how well the model can compress information into a latent representation and reconstruct it), the OCR version needed 10 times fewer visual tokens than text tokens. In other words, the OCRed version can compress information 10x better than the text version. How is it different compared to other VLLM architectures? - They don't use a monolithic ViT as encoder, instead they fuse local and global vision features through a clever 16x convolutional compressor (this can handle high-resolution inputs efficiently in terms of memory and token counts). - They are (to the best of my knowledge) those who use an MoE as a decoder. I think it's an interesting, refreshing approach, and the twist here is that it works surprisingly well. However, I don't think that visual representations of text will solve the limitations of LLMs. Also, while it is popular to dislike text tokenizers like BPE, image representations are messy as well (one has to deal with aspect ratios, resolutions, croppings, color intensity variations, brightness levels, etc.). Still, it’s an interesting idea. Also, if this approach is more efficient than regular black&white text, I am curious to see compression ratios when we add syntax color to code. Regarding code, this may be an interesting alternative for storing contextual information, as spacing and subword tokenization remain challenges in traditional tokenizers. (Especially when working with code that uses many custom variable names that may not be represented in vocabularies and that have to be broken down into many individual subword tokens.) Overall, it’s still such an esoteric concept to encode text in images that I am (still) surprised it could do well (and may it would only make sense for very long documents or special domains like OCR or code, not general language modeling). (PS: Personally, I expected the DeepSeek team to follow up with a V4 model using the sparse attention mechanism they tried in V3.2 recently, but maybe that's still forthcoming. Now, after reading this paper, V4 is perhaps going to be a VLLM.)
छवि लोड हो रही है…(Finally) wrote up "Understanding Positional Embeddings in Modern LLMs."
A RoPE from-scratch tutorial missing from my LLM building blocks collection + what recent architectures do (NoPE, partial RoPE, hybrids). Prob not the flashiest topic, but essential for understanding LLMs https://t.co/mkggue58t4
छवि लोड हो रही है…A visual guide to modern LLM attention variants, all in one place: https://t.co/vy1DAEKXU8
Just caught up with the recent GLM-5.2 release. The best open-weight model today.
Architecture-wise, it's build on the GLM-5 and GLM-5.1 architecture that I covered previously, which means it's reusing the Multi-head Latent Attention (MLA) and DeepSeek Sparse Attention (DSA) mechanisms from DeepSeek V3.2. (I wrote about it here: https://t.co/tuunazfQ8y) What's new is that they added an IndexShare mechanism. (That's a cross-layer reuse trick for DSA where instead of recomputing the sparse-attention top-k indexer in every layer, GLM-5.2 runs the full indexer only once every four layers and lets the following layers reuse those selected token indices. This keeps the same DSA idea but makes 1M-token inference much cheaper.)
छवि लोड हो रही है…I really didn't expect another major open-weight LLM release this December, but here we go: NVIDIA released their new Nemotron 3 series this week.
It comes in 3 sizes: 1. Nano (30B-A3B), 2. Super (100B), 3. and Ultra (500B). Architecture-wise, the models are a Mixture-of-Experts (MoE) Mamba-Transformer hybrid architecture. As of this morning (Dec 19), only the Nano model has been released as an open-weight model, so this post will focus on that one (shown in my drawing below). Nemotron 3 Nano (30B-A3B) is a 52-layer hybrid Mamba-Transformer model that interleaves Mamba-2 sequence-modeling blocks with sparse Mixture-of-Experts (MoE) feed-forward layers, and uses self-attention only in a small subset of layers. There’s a lot going on in the figure above, but in short, the architecture is organized into 13 macro blocks with repeated Mamba-2 → MoE sub-blocks, plus a few Grouped-Query Attention layers. In total, if we multiply the macro- and sub-blocks, there are 52 layers in this architecture. Regarding the MoE modules, each MoE layer contains 128 experts but activates only 1 shared and 6 routed experts per token. The Mamba-2 layers would take a whole article itself to explain (perhaps a topic for another time). But for now, conceptually, you can think of them as similar to the Gated DeltaNet approach that Qwen3-Next and Kimi-Linear use, which I covered in my Beyond Standard LLMs article. The similarity between Gated DeltaNet and Mamba-2 layers is that both replace standard attention with a gated-state-space update. The idea behind this state-space-style module is that it maintains a running hidden state and mixes new inputs via learned gates. In contrast to attention, it scales linearly instead of quadratically with the input sequence length. What’s actually quite exciting about this architecture is its really good performance compared to pure transformer architectures of similar size (like Qwen3-30B-A3B-Thinking-2507 and GPT-OSS-20B-A4B), while achieving much higher tokens-per-second throughput. Overall, this is an interesting direction, even more extreme than Qwen3-Next and Kimi-Linear in its use of only a few attention layers. However, one of the strengths of the transformer architecture is its performance at a (really) large scale. I am curious to see how the larger Nemotron 3 Super and especially Ultra will compare to the likes of DeepSeek V3.2.
छवि लोड हो रही है…Next to Qwen3 of comparable size: Looks like gpt-oss is a wide (vs deep) model https://t.co/4gRbSUJRxk
छवि लोड हो रही है…Catching up on the 10 (!) open LLM architecture releases from the past month. Quite a lot happened in October. I guess we can call it "Open October"!
1. Kolibri-1 (78B): A notable model from Germany. Features classic Grouped Query Attention (GQA) and Sliding Window Attention (SWA) attention module. 2. Ling 3.1 Flash (560B): Uses Kimi Delta Attention and the eighth uses gated Multi-head Latent Attention (MLA) inspired by DeepSeek. 3. Muse Spark Open (816B): Besides Musse Glimmer, the first major open weight release from Meta (since Llama). Uses classic GQA + SWA but adds a LatentMoE. 4. Nemotron 3.5 Super VL (120B): Combines Mamba-2 layers with just eight attention layers. Also LatentMoE 5. Dory1.0 (4B): A looped transformer design. 6. Reflection Beam (501B): GQA+SWA architecture. 7. Recursive Flint (40B): Note that "Recursive" is the company name; the architecture is a fairly standard MoE with GQA and SWA. 8. MiniMax M3.1-Flash (428B): Uses their own MiniMax Sparse Attention module. 9. LFM3 (1.7B): Hybrid architecture that mixes short convolutions and attention. 10. Mistral Large 4 (1T) combines MLA with sparse attention. Will probably cover/discuss things in more depth in the coming weeks!
छवि लोड हो रही है…Pretty cool that they open sourced the actual full-sized production model. Here’s the Grok 2.5 architecture overview next to a roughly similarly sized Qwen3 model. The MoE residual is quite interesting. Kind of like a shared expert. I don't think I've seen this setup before. https://t.co/3t3c2buu3A
छवि लोड हो रही है…Yes, open-source / open-weight models are important for a healthy AI ecosystem. That's how we can verify things, check claims, and keep up outside the closed labs. Plus, it gives us the freedom to run AI on our own hardware if we are not ready to share personal data and IPs with closed labs through using their models. (Not that proprietary models are bad, actually I use them a lot as well, but it wouldn't healthy not to have any alternatives.)
Anyway, while pretty much everyone is waiting for the Kimi K3 and Ling 3.0 weights to land on the model hub any day now, there were quite a few other interesting new open-weight model releases the past week. Yes, one of those weeks! So, here are the architecture pics along with some notes on what I found most interesting: 1) Nanbeige 4.2 3B uses looped depth sharing. This basically means it runs the same 22-layer (=transformer block) stack twice. So, it extends the 22-layer architecture to 44-layers, but without duplicating the weights. (2x the transformer block compute but same memory footprint.) Why? The info is a bit sparse, but section 2.1 of the Nanbeige 4.2 technical report says two passes gave the best trade-off and retained about 75% of the token efficiency of a standard architecture. More passes gave barely any gains but made the training much slower and much more expensive. 2) Laguna S 2.1 is poolside's Laguna model in a really nice size: 118B sparse MoE with 8B active parameters and a 1M-token context window. Otherwise, the architecture is pretty standard. It uses 36 sliding-window and 12 global (gated-)GQA layers. However, given this size, and the fact that it (just barely) runs on my DGX Spark (uses about <80 GB of RAM), this is right now the most interesting model for me personally. It's 3x bigger and thus a tad slower but maybe a good candidate as daily-driver-Qwen3.6-35B-replacement. (Still waiting on some more independent performance benchmarks though.) 3) Motif-3-Beta is a new 314B-A13B sparse MoE that is somewhat based on DeepSeek V4 in terms of mHC and latent attention. But it uses a new component, Grouped Differential Latent Attention, which is inspired by Multi-head Latent Attention. I probably should write an article about this some time, but for now, the tl;dr is as follows. Regular MLA compresses the keys and values into a smaller latent representation to mainly reduce the KV cache size. GDLA does a similar low-rank compression but puts the attention heads into groups and also learns a noise head for each group where the noise gets subtracted for filtering purposes... Anyway, a topic for another day! 4) Solar Open 2 is a new 250B-A15B hybrid MoE by Upstage that interleaves three Kimi Delta Attention layers with one GQA layer. 5) Antares 1B is a small model (and there is also an even smaller 0.3B variant) from Cisco starts that with the IBM Granite 4.0 1B backbone and uses SFT plus GRPO for terminal-based cybersecurity stuff. It is a nice example of task-specific post-training on a genuinely small model. 6) BTL-3 is a rank-32 LoRA adapter for Qwen3.6-27B aimed at coding agents and structured tool use. The really strong benchmark performance suggests that LoRA adapters are still a useful tool/technique in 2026. I added all six to the LLM Architecture Gallery for some additional details: https://t.co/JDtfup3ncn
छवि लोड हो रही है…Whoa, Meta released a new open-weight LLM yesterday, something that hasn't happened since the good old Llama days.
Their Meta Muse Glimmer model is a 30B multimodal reasoning model with a Gemma-like architecture design. (“Glimmer” is probably a wordplay on “Spark,” the more likely capable model from which Glimmer was distilled. Muse Spark is only available through Meta’s Model API, though.) Architecture-wise, here are some of the main points: 1. "Only" a 131k context window, compared to Qwen3.6 and Gemma 4, which support 2x that natively; it's reasonable, but maybe on the shorter end in the age of agent harnesses 2. It's a dense model, not a mixture-of-experts. (So, it's fairer to compare it to Qwen3.6 27B than Qwen3.6 30B-A3B.) 3. Hybrid attention with grouped-query attention (GQA) and sliding window attention (SWA); the SWA:GQA pattern is a 3:1 local:global ratio. Other models like Gemma 4, which uses similar components, have a 5:1 ratio for comparison. 4. It adopts gated attention for both GQA and SWA; gated attention has become quite common in recent months. It basically applies a sigmoid gate to the attention output to decide how much of the attention information enters the residual connection. The interesting point is that it uses relatively standard GQA and SWA rather than hybrid attention mechanisms such as Nemotron or Qwen3.6. 5. A very extreme GQA ratio: 32 query heads and only 2 KV heads; for comparison, Gemma 4 31B uses 32 Q / 16 KV in the local heads and 32 Q / 4 KV in the global heads. This means that Meta Glimmer has a very small KV cache. Overall, the probably most similar architecture is Gemma 3 27B (including the Gemma-style pre/post RMSNorm placement) and Gemma 4 31B, but with some tweaks like SwiGLU instead of GeGLU activations, gated attention, and the more extreme GQA:SWA pattern mentioned before. What stands out is its extreme KV-cache efficiency. I.e., the KV CACHE / TOKEN ratios (in BF16) are: - Muse Glimmer: 52 KiB (lower is better) - Qwen3.6 27B: 64 KiB - Gemma 4 31B: 840 KiB Modeling-performance-wise, their own benchmarks show that it's mostly ahead of Qwen3.6. According to the independent composite benchmarks on the Artificial Analysis Intelligence Index, it's slightly behind Qwen3.6 (see figure below). So, a few days of using it will tell where it really ranks. Overall, it looks like a solid model, particularly for agentic workflows. What stands out most is its very low memory footprint and also pretty fast prefill and decode speed. It’s also just great to see Meta releasing open weights again :).
छवि लोड हो रही है…MiMo-V2.6 is "simply" the best (for now). Despite its simple architecture design it's currently No.1 in the open-weight benchmarks (weighted average).
With "simple," I mean a classic Grouped Query Attention (GQA) with Sliding Window Attention (SWA) at a tiny 128-token window size. So, that underlines one of the points I've been trying to make in recent months: most of the progress still comes from the data and post-training recipe improvements. Fancy attention variants are just mostly efficiency tweaks. What are some of the training data improvements and recipe improvements? The MiMo team shared a pretty detailed technical report. Lots to carefully digest there, but in short, there are a few things that stood out: 1. An increase in agent tasks; also training across different harnesses (the average DeepSWE pass@1 accuracy on held-out harnesses improved from approximately 50% -> 66%). 2. Better reward signals: they replaced a simple correctness verifier with an agentic grader that looks at the execution traces as well. 3. Large RL batches (1,568 prompts × 16 rollouts = 25,088 trajectories) and 2.7–3.7 billion training tokens per update (unclear, though, what the predecessor used).
छवि लोड हो रही है…This interesting week started with DeepSeek V3.2!
I just wrote up a technical tour of the predecessors and components that led up to this: 🔗 https://t.co/JSAd9cx2s6 - Multi-Head Latent Attention - RLVR - Sparse Attention - Self-Verification - GRPO Updates https://t.co/5f965hR70I
छवि लोड हो रही है…Efficiency and performance tweaks in the transformer architecture usually focus(ed) on the normalization, attention, and FFN modules.
Well, here is a holiday gift from DeepSeek (https://t.co/ow1RpEG2Bv). Finally some improvements of the residual path as well. https://t.co/XhnZwfL5of
छवि लोड हो रही है…Multi-Head Latent Attention 🔗 https://t.co/6az2lGjFqz https://t.co/CQ9ypl89v3
छवि लोड हो रही है…Inkling 2 Small took a while... but it's more interesting than I initially thought! Using attention residuals (like Kimi K3), but without the linear-attention hybrid. Food for discussion for the end-of-the-year architecture trends analysis! https://t.co/2U4ctJa1yw
छवि लोड हो रही है…Interesting surprise drop from Thinky! The Inkling model looks pretty solid on benchmarks, and it has some little surprises in its architecture:
- Small conv layers in several places - An RMSNorm for the embeddings (before the block RMSNorm) - Rel. position bias instead of RoPE https://t.co/oMl5Ta6Ttr
छवि लोड हो रही है…Gemma 3 270M! Great to see another awesome, small open-weight LLM for local tinkering. Here's a side-by-side comparison with Qwen3. Biggest surprise that it only has 4 attention heads! https://t.co/Iy7O0DsQGu
छवि लोड हो रही है…Exciting big Kimi K2 Thinking release! More experts, fewer heads, and even more thinking! https://t.co/CxUpn68Jjj
छवि लोड हो रही है…With the release of the Kimi Linear LLM last week, we can definitely see that efficient, linear attention variants have seen a resurgence in recent months. Here's a brief summary of what happened.
First, linear attention variants have been around for a long time, and I remember seeing tons of papers in the 2020s. I don't want to dwell too long on these older attempts. But the bottom line was that they reduced both time and memory complexity from O(n^2) to O(n) to making attention much more efficient for long sequences. However, they never really gained traction as they degraded the model accuracy, and I have never really seen one of these variants applied in an open-weight state-of-the-art LLM. In the second half of this year, there was a bit of a revival of linear attention variants. The first notable model was MiniMax-M1 with lightning attention, a 456B parameter mixture-of-experts (MoE) model with 46B active parameters, which came out back in June. Then, in August, the Qwen3 team followed up with Qwen3-Next, which I discussed in more detail above. Then, in September, the DeepSeek Team announced DeepSeek V3.2 with sparse attention. All three models (MiniMax-M1, Qwen3-Next, DeepSeek V3.2) replace the traditional quadratic attention variants in most or all of their layers with efficient linear variants. (DeepSeek's sparse attention it's not strictly linear but still subquadratic). Interestingly, there was a recent plot twist, where the MiniMax team released their new 230B parameter M2 model (discussed in section 13) without linear attention, going back to regular attention. The team stated that linear attention is tricky in production LLMs. It seemed to work fine with regular prompts, but it had pure accuracy in reasoning and multi-turn tasks, which are not only important for regular chat sessions but also agentic applications. This could have been a turning point where linear attention may not be worth pursuing after all. However, it gets more interesting. Last week, the Kimi team released their new Kimi Linear model with linear attention. The tag line is that compared to regular, full attention, it has a 75% KV cache reduction and up to 6x decoding throughput. Kimi Linear shares several structural similarities with Qwen3-Next. Both models rely on a hybrid attention strategy. Concretely, they combine lightweight linear attention with heavier full attention layers. Specifically, both use a 3:1 ratio, meaning for every three transformer blocks employing the linear Gated DeltaNet variant, there's one block that uses full attention as shown in the figure below. However, Kimi Linear modifies the linear attention mechanism of Qwen3-Next by the Kimi Delta Attention (KDA) mechanism, which is essentially a refinement of Gated DeltaNet. Interestingly, it also replaces the standard full attention module by multi-head latent attention. There's no direct comparison to Qwen3-Next in the Kimi Linear paper, but compared to the Gated DeltaNet-H1 model from the Gated DeltaNet paper (which is essentially Gated DeltaNet with sliding-window attention), Kimi Linear achieves higher modeling accuracy while maintaining the same token-generation speed. Of course, I couldn't resist and added it to my The Big LLM Architecture Comparison article, which has grown to >10,000 words now (basically becoming book!?).
छवि लोड हो रही है…Flagship open-weight release days are always exciting. Was just reading through the Gemma 4 reports, configs, and code, and here are my takeaways:
Architecture-wise, besides multi-model support, Gemma 4 (31B) looks pretty much unchanged compared to Gemma 3 (27B). Gemma 4 maintains a relatively unique Pre- and Post-norm setup and remains relatively classic, with a 5:1 hybrid attention mechanism combining a sliding-window (local) layer and a full-attention (global) layer. The attention mechanism itself is also classic Grouped Query Attention (GQA). But let’s not be fooled by the lack of architectural changes. Looking at the benchmarks, Gemma 4 is a huge leap from Gemma 3. This is likely due to the training set and recipe. Interestingly, on the AI Arena Leaderboard, Gemma 4 (31B) ranks similarly to the much larger Qwen3.5-397B-A17B model. But as I discussed in my model evaluation article, arena scores are a bit problematic as they can be gamed and are biased towards human (style) preference. If we look at some other common benchmarks, which I plotted below, we can see that it’s indeed a very clear leap over Gemma 3 and ranks on par with Qwen3.5 27B. Note that there is also a Mixture-of-Experts (MoE) Gemma 4 variant that is slightly smaller (27B with 4 billion parameters active. The benchmarks are only slightly worse compared to Gemma 4 (31B). I omitted the MoE architecture in the figure below because the figure is already very crowded, but you can find it in my LLM Architecture Gallery. Anyways, overall, it's a nice and strong model release and a strong contender for local usage. Also, one aspect that should not be underrated is that (it seems) the model is now released with a standard Apache 2.0 open-source license, which has much friendlier usage terms than the custom Gemma 3 license.
छवि लोड हो रही है…Strong release! GLM-5.1 is a DeepSeek-V3.2-like architecture (including MLA and DeepSeek Sparse Attention) but with more layers.
And the benchmarks look better throughout! Looks like THE flagship open-weight model now. https://t.co/8kzTXaFcJv
छवि लोड हो रही है…Sliding Window Attention 🔗 https://t.co/LIR9gCActT https://t.co/NSn4D4vLoF
छवि लोड हो रही है…The new Qwen3 update takes back the benchmark crown from Kimi 2. Some highlights of how Qwen3 235B-A22B differs from Kimi 2: - 4.25x smaller overall but has more layers (transformer blocks); 235B vs 1 trillion - 1.5x fewer active parameters (22B vs. 32B) - much fewer experts in MoE layers (128 vs 384); also, experts are slightly smaller - doesn't use a shared expert (but otherwise also has 8 active experts) - alternates between dense and MoE blocks in every other layer (transformer block) - grouped query attention instead of multi-head latent attention
Key aspect to consider: Kimi is still just a base model, not trained for reasoning, yet!
छवि लोड हो रही है…Oh wow, Mamba-3 is here! For me, the most interesting use case of Mamba and Mamba-likes are the recent transformer attention hybrid architectures (Qwen3.5, Kimi Linear, etc.) Would be interesting to swap Gated DeltaNet with Mamba-3 (which now also has RoPE) in next gen hybrids. https://t.co/wcTg0uZ3gg
छवि लोड हो रही है…My new field guide to alternatives to standard LLMs:
Gated DeltaNet hybrids (Qwen3-Next, Kimi Linear), text diffusion, code world models, and small reasoning transformers. https://t.co/ZpWugAccgQ https://t.co/255yQXaDcM
छवि लोड हो रही है…Finally! Will be working through the internals in more detail. The first surprising fun fact is they used bias units in the attention mechanism like ye goode old GPT-2. Super interesting, I haven't seen any other architecture doing that since then! https://t.co/vsp7KBMqS8
छवि लोड हो रही है…It's been a while since I did an LLM architecture post. Just stumbled upon the Arcee AI Trinity Large release + technical report released yesterday and couldn't resist:
- 400B param MoE (13B active params) - Base model performance similar to GLM 4.5 base - Alternating local:global (sliding window) attention layers in 3:1 ratio like Olmo 3 - QK-Norm (e.g. popular since Olmo 2) and NoPE (e.g., SMolLM3) - Gated attention like Qwen3-Next - Sandwich RMSNorm (kind of like Gemma 3 but depth-scaled) - DeepSeek-like MoE with lots of small experts, but made it coarser as that helps with inference throughput (something we have also seen in Mistral 3 Large when they adopted the DeepSeek V3 architecture) Added a slightly longer write-up to my The Big Architecture Comparison article: https://t.co/uCt4rFAK3a
छवि लोड हो रही है…🔗 Mixture of Experts (MoE): https://t.co/3CGjgO4H9p https://t.co/QA12nBeW0i
छवि लोड हो रही है…Just saw the MiniMax-M2 benchmarks, and the performance is too good to ignore :). So, I just amended my "The Big LLM Architecture Comparison" with entry number 13!
1️⃣ Full attention modules: As shown in the overview figure below, I grouped MiniMax-M2 with the other decoder-style transformer LLMs as it does not use the efficient lightning attention variant proposed in MiniMax-M1. Instead, the developers went back to using full attention, likely to improve modeling (and benchmark) performance. 2️⃣ Per-layer QK-Norm: Overall, MiniMax-M2 is surprisingly similar to Qwen3. Besides changing the number of layers, sizes, etc., it uses the same components overall. Perhaps the one noteworthy highlight here is that MiniMax-M2 uses a so-called “per_layer” QK-Norm instead of the regular QK-Norm. A closer look at the code reveals the "per_layer" means that the RMSNorm (used for QK-Norm as explained earlier) is defined in each transformer block (as in regular QK-Norm), but, in addition, instead of reusing it across attention heads, it's a unique QK-Norm for each attention head. 3️⃣ Sliding-window attention: The model configuration file also includes a sliding-window attention setting (similar to Gemma 3), but, as in Mistral 3.1, it is disabled by default. Otherwise, besides the per-layer QK-Norm, the architecture is very similar to Qwen3, as shown in the figure below. 4️⃣ MoE sparsity: A perhaps interesting tidbit, as shown in the figure below, includes the fact that they don't use a shared expert (similar to Qwen3 but unlike Qwen3-Next). As mentioned earlier, in my opinion, shared experts are useful because they reduce redundancy among the other experts. Also, as apparent from the figure above, MiniMax-M2 is twice as "sparse" as Qwen3. I.e., at roughly the same size as Qwen3 235B-A22B, MiniMax-M2 has only 10B instead of 22B active experts per token (that is, 4.37% of the parameters are used in each inference step in MiniMax-M2, whereas Qwen3 uses 9.36% active tokens).
छवि लोड हो रही है…Here is a 2nd batch of April architecture drops. What a month! - Ant Ling 2.6 1T - Minimax M2.7 - Xiaomi MiMo V2.5 - Poolside Laguna XS.2 - Tencent Hy3-preview - IBM Granite 4.1 https://t.co/ILjjyZYeC5
छवि लोड हो रही है…Olmo models are always a highlight due to them being fully transparent and their nice, detailed technical reports. I am sure I'll talk more about the interesting training-related aspects from that 100-pager in the upcoming days and weeks. In the meantime, here's the side-by-side architecture comparison with Qwen3.
1) As we can see, the Olmo 3 architecture is relatively similar to Qwen3. However, it's worth noting that this is essentially likely inspired by the Olmo 2 predecessor, not Qwen3. 2) Similar to Olmo 2, Olmo 3 still uses a post-norm flavor instead of pre-norm, as they found in the Olmo 2 paper that it stabilizes the training. 3) Interestingly, the 7B model still uses multi-head attention similar to Olmo 2. However, to make things more efficient and shrink the KV cache size, they now use sliding window attention (e.g., similar to Gemma 3.) Next, let's look at the 32B model. 4) Overall, it's the same architecture but just scaled up. Also, the proportions (e.g., going from the input to the intermediate size in the feed forward layer, and so on) roughly match the ones in Qwen3. 5) My guess is the architecture was initially somewhat smaller than Qwen3 due to the smaller vocabulary, and they then scaled up the intermediate size expansion from 5x in Qwen 3 to 5.4 in Olmo 3 to have a 32B model for a direct comparison. 6) Also, note that the 32B model (finally!) uses grouped query attention.
छवि लोड हो रही है…Always back to the basics: LatentMoE was probably inspired by MLA, which was inspired by LoRA, which was inspired by SVD, which was inspired by eigendecomposition. https://t.co/bWqo5iOPbP
छवि लोड हो रही है…Currently working towards a bigger open LLM roundup. But in the meantime, just one of the interesting trends that stood out. I.e., looks like the transition from full to hybrid attention continues.
In 2025, there were still lots of full attention models, with a shift to "some full attention" hybrids. In the first half of 2026, the trend towards "some full attention" hybrids continued. And now, in the second half of 2026, we have a 50/50 split between "some full attention" hybrids and models that don't use full attention at all anymore. And yes, there are also no full attention models anymore. The plot legend here means, - Full attention throughout = Global MHA, GQA, dense MLA, CCA in EVERY layer. - Some full attention = Full global attn mixed with: sliding-window/chunked attention, Gated DeltaNet, KDA, Mamba-2, Lightning Attention, convolutions, sparse attention. - No full attention = Zero dense global layers. The main implication is that the trend goes towards making long contexts cheaper to use. This means, it makes the architectures more suitable for long documents and conversations, large code bases, and of course agent usecases that rely on a lot of tool calls. In particular, there are two distinct efficiency gains here: 1) Less attention computation, since sparse attention and the like select tokens or blocks from the context and performs the expensive attention operation from only that subset. (Note that it can still retrieve information from distant positions.) 2) Less memory for retaining context in some architectures, meaning that recurrent layers such as Gated DeltaNet maintain a fixed-size state. Of course, this saves memory, but compressing the history creates challenges for exact retrieval, so they are usually intermixed with traditional attention methods (sparse or full).
छवि लोड हो रही है…Another week, another noteworthy open-weight LLM release. Nvidia’s Nemotron 3 Super 120B-A12B looks pretty good.
Benchmarks are on par with Qwen3.5 122B and GPT-OSS 120B, but the throughput is great! Below is a short, visual architecture rundown. https://t.co/eqSOPAeqQz
छवि लोड हो रही है…Wrote up a more detailed analysis of gpt-oss, how far we've come since GPT-2, and how it compares to Qwen3: https://t.co/NEHacuex8v
Added lots of improvements to the LLM Architecture Gallery in the last 2 weeks.
Imho the coolest one yet: A diff tool many of you were asking for! https://t.co/NO7z6XSRHS https://t.co/5ZCIg15ml6
छवि लोड हो रही है…Cool new open-weight model by Cohere: a new lightweight 30B open-weight model for agentic coding tasks.
This one builds on Command A+ using the parallel transformer design. Interestingly, even though it's almost half as big, it almost doubles the number of layers. Also, they say that it's been specifically developed for agentic coding, not just coding. I.e., the evaluation is inside a workflow, not just on a single prompt-to-code-answer task. For Terminal-Bench, the model has to use a terminal, inspect the environment, run commands, read outputs, etc. For SWE-Bench the model works on real GitHub-style software issues where it has to understand the repository, find relevant files, make a patch, pass tests, etc. SciCode and LiveCodeBench are more traditional because they mostly test whether the model can produce correct code for a specified problem. Sure, this still requires reasoning, but it's more like “Implement a numerical routine to compute a scientific quantity from given equations and inputs.” which doesn't require any interaction with the environment, existing files, tests, etc. The focus on the agentic code benchmarks is probably why it's far ahead of Gemma 4 on those. Overall, it's pretty competitive although not quite Qwen3.6-level performance.
छवि लोड हो रही है…It's been *almost* a bit quiet around LLM architecture releases in the past two weeks 😅
Interesting tidbit is the parallel block design. Via the Cmd-A the tech report "equivalent performance but significant improvement in throughput compared to the vanilla transformer block." https://t.co/znIyINCgI0
छवि लोड हो रही है…And another open-weight release. Nemotron 3 Ultra has an ultra impressive capability:efficiency ratio!
Design-wise, it carries forward the Mamba-2-attention hybrid stack and LatentMoE introduced in the previous Super variant. But everything is a bit bigger. https://t.co/nRjbMtY2aI
छवि लोड हो रही है…The weights are out! Here's the GLM-5 architecture comparison. GLM-5 is: - bigger than its predecessor (mainly more experts) but has rel. similar active parameter counts - uses multi-head latent attention - uses DeepSeek Sparse Attention https://t.co/7pEoaKBvdh
छवि लोड हो रही है…The MiniMax M2 series was one of the most widely used open-weight LLM series earlier this year. Now, we got a technical report with some interesting tidbits. I summarized some of them below:
1. Full attention as an anti-trend?: They tried hybrid sliding-window attention variants (like so many others, like Xiaomi MiMo, Laguna, Gemma 4, Arcee, Olmo 3, etc.). But even though there were efficiency gains, they said that the production-quality tradeoffs were not worth it for M2. 2. Linear and sparse attention deployment issues: They found that linear and sparse attention are attractive on paper because they reduce the cost of long-context attention, but they are harder to make work well in a production agent system. In particular, they found that these efficient attention variants may be more fragile when KV-like state or intermediate memory is stored in lower precision. Also, they have worse prefix caching support, which matters a lot when using coding agents (which reuse a lot of the context). 3. Fine-grained Mixture-of-Experts (MoEs) are useful: Finally a recent MoE ablation study! It's only on the 2B-active parameter scale, but hey, better than nothing. Concretely, they compare a baseline with 32 experts and top-2 routing against a fine-grained setup with 128 experts and top-8 routing. The fine-grained setup improves MATH from 19.6 to 24.1 and HumanEval from 29.7 to 32.5. That's clearly a win for more fine-grained experts (confirming what the DeepSeek MoE paper reported ~2 years ago). 4. Sophisticated agent pipeline It's probably no surprise, but this papers confirms that training for agent-like behavior on software engineering task is now a big component of the training pipeline. They mine GitHub pull requests, builds runnable Docker environments, extracts task-specific test rewards, etc. 5. Interleaved thinking for context management Interestingly, they found that removing reasoning blocks from previous turns results in worse performance, especially in multi-step agent tasks. (Another point why long-context support is so important these days). 6. Speed rewards It's common to have token usage penalties, but what's interesting is that the MiniMax team adds a task-completion-time reward that depends on wall-clock time. This is to minimize unnecessary (slow) tool calls. Also, I'm thinking that this would encourage agent parallelization (if supported by the harness) 7. Self-evolution Looks like self-evolution is also already a big design component of open-weight LLMs. E.g., the paper says that M2.7 already handles 30 to 50 percent of the daily RL iteration workload, modifies its own scaffold, and completed a 100-round autonomous scaffold optimization cycle with a 30 percent gain on internal evaluations.
छवि लोड हो रही है…Whoa, great and even excessive Marin Mochi (535B-A23B) checkpoint drop (in a good way!)
Comes with great tech report btw with insights into why / how components were picked (for training stability and GPU throughput). Short fact sheet: 1) Latent MoE with an extra RMSNorm on the latent that made latent MoE actually work (better) 2) Classic 3:1 sliding-window/global gated GQA, partial RoPE (local) and NoPE (global) 3) Adding short convolutions on keys, attention output, and MoE output 4) Exclusive self-attention (XSA) -- I guess the end-of-the year architecture roundup this year won't be boring 😅
छवि लोड हो रही है…Back from a little family break! Lots has happened, and I’m planning to do a deeper dive into the most interesting architectural components (soon).
Btw, are there any major architectures I missed below? https://t.co/HEhXUjxaDY
छवि लोड हो रही है…Gated DeltaNet has been one of my favorite "hybrid attention" newcomers in the good old transformer stack. Excited to see Gated DeltaNet-2. Adding it to my reading stack. In the meantime, I have a primer on Gated DeltaNet here: https://t.co/FoicOLtFE6
उद्धृत पोस्ट खोलेंAdded an RSS feed to the LLM Architecture Gallery so it is a bit easier to keep up with new additions over time: https://t.co/NO7z6XSRHS https://t.co/7PKrLT1A6S
छवि लोड हो रही है…Interesting paper. What I like about this is that it is a relatively low-commitment attention modification.
I.e., one can use it during most of training, switch back to vanilla attention near the end, and recover roughly the same modeling performance as if full attention had been used the whole time.
उद्धृत पोस्ट खोलेंMeta observation: DeepSeek is still king of the active-parameter ratio https://t.co/flnfGAMjqq
छवि लोड हो रही है…It’s so interesting to see both communities swapping ideas (and maybe converge?): -> NLP towards text diffusion model -> CV towards autoregressive image gen
उद्धृत पोस्ट खोलेंNice essay in defense of tokenizers, and on why tokenizer-free approaches are not really tokenizers free.
उद्धृत पोस्ट खोलें- पोस्ट
- 66
- पोस्टों का साझाकरण
- 31.4%
- औसत पसंद
- 1,310
- उच्चतम गुणक
- 8.9×
Model Evaluation, Benchmarks, and Industry Observations
I seriously think US open-weight models wouldn't be this good without Chinese open-weight models and vice versa. And proprietary models wouldn't be this good (and cheap) without open-weight models.
Competition is a good thing. https://t.co/8HOVFHxyn9
छवि लोड हो रही है…For agentic coding, one can say:
- Unless you need Terra Ultra perf, it's always better to use a Luna model with higher effort setting (same or better performance but cheaper). - Forget everything below Sol High, use Luna with higher effort settings here - Forget Sol Extra High, use Terra Ultra here - The extra cost of Sol Ultra is probably not worth it over Max
छवि लोड हो रही है…Took a while, but here it is, a mega write-up on language models for text classification and, of course, Jev.
It's basically a visual guide to RNNs, CNNs, transformers, and calibration, with hands-on experiments on accuracy and efficiency. https://t.co/fVHpuKvu5o
छवि लोड हो रही है…I put together a new article on setting up local coding agents with open-weight models. Everything runs 100% locally.
I thought it might be useful putting this together because many people asked me about my setup in the past, and I thought it would also motivate people to get started tinkering with local models for serious work (yes, things got incredibly capable this year with better LLMs and better harnesses). So, here's a walkthrough of how to connect a local LLM to a local coding harness (could be Claude Code or Codex, which you may already be familiar with). I also included some assessment notes that are useful as a checklist to select between and consider certain LLMs over others: - Checking RAM usage at long contexts to see if the model is suitable for real work - Measuring prefill and decoding tok/sec to see whether it's fast enough to not be annoying - Making sure the model has sufficient tool-calling capabilities in theory - Assessing whether the model can solve some more challenging tasks when used in a coding harness. Of course, there are always more specialized tools that can squeeze a bit more performance out of things, but I hope this is a good starter kit that stays flexible; that is you can easily switch to newer models as they are released or even tap into cloud models in your familiar harness if the current ones are not sufficient enough for a given task.
छवि लोड हो रही है…My biennial update to the "Hello World"s of ML & AI:
2013: RandomForestClassifier on Iris 2015: XGBoost on Titanic 2017: MLPs on MNIST 2019: AlexNet on CIFAR-10 2021: DistilBERT on IMDb movie reviews 2023: Llama 2 with LoRA on Alpaca 50k 2025: Qwen3 with RLVR on MATH-500
It’s easy to dismiss Jev it as “just a classifier”.
But people (me included) who have been training encoder-style models for classification for many years know they were usually special-purpose and limited in some way. The breakthrough of Jev is that it generalizes well. And I’d say the secret sauce is probably more in the data than in the training algorithm. (Plus a nice API design on top of it.)
उद्धृत पोस्ट खोलेंUpon request, here's an updated version with Grok 4.5 and Meta's Muse Spark 1.1.
Grok 4.5 seems to sit at the Pareto frontier. Good bang for the buck. (Also added harness info). https://t.co/TVbKDtzVbY
छवि लोड हो रही है…A short illustration of how the Claude's watermarking is supposed to work (based on my read of their released materials).
In general, when we are generating tokens, there can be multiple high-scoring tokens at certain next-word positions. Usually, we sample with top-k or top-p sampling so the highest-scoring token is most often selected (if we repeat the sampling many times), but other tokens may be selected as well. With watermarking, there is a key that says which of the (ideally equally) highest-scoring tokens to select. Or, more concretely, the secret key and previous token influence the randomness here. Now, if we repeat this at many token positions, this creates the watermark as it will be a pattern that is statistically unlikely to get otherwise (due to combinatorics). One thing I am confused about: They basically say that they HAVE to do this for everyone due to EU regulation. Why? Sure, but this is an inference-time technique that doesn't require retraining or training a separate model, so, if they wanted, they could only do that for EU users? 🤔
छवि लोड हो रही है…I like choices... but now I have:
2x modes (Codex vs. Work mode) 3x GPT-5.6 models (Sol, Terra, Luna) 5x effort levels (Light, Medium, High, Extra High, Ultra) That's 2 x 3 x 5 = 30 possible configurations for a query 🤯 What happened to "Auto" mode? https://t.co/LhwIiezLWq
छवि लोड हो रही है…Components of a coding agent: a little write-up on the building blocks behind coding agents, from repo context and tool use to memory and delegation.
Link: https://t.co/iF4DsMcnhj https://t.co/zImf32iegt
छवि लोड हो रही है…Ok, so what Ilya saw was extreme benchmaxxing, which in turn prompted him to create his own company to do LLM development the proper way?!
Makes sense, I sympathize with that.
उद्धृत पोस्ट खोलेंYes, Moltbook (by clawdbot) is still next-token prediction combined with some looping, orchestration, and recursion.
And that is exactly what makes this so fascinating. (It is also why understanding how LLMs actually work really does pay off. Lets us see through the hype while still appreciating these things.)
उद्धृत पोस्ट खोलेंIt's been a while! 4 nice additions to the open-weight local-LLM-on-consumer-hardware ecosystem: https://t.co/8cTXF3aStp
छवि लोड हो रही है…February is one of those months...
- Moonshot AI's Kimi K2.5 (Feb 2) - z. AI GLM 5 (Feb 12) - MiniMax M2.5 (Feb 12) - ByteDance Seed-2.0 (Feb 13) - Nanbeige 4.1 3B (Feb 13) - Qwen 3.5 (Feb 15) - Cohere's Tiny Aya (Feb 17) (+Hopefully DeepSeek V4 soon) Anything I forgot?
Saw that DGX Spark vs Mac Mini M4 Pro benchmark plot making the rounds (looks like it came from @lmsysorg). Thought I’d share a few notes as someone who actually uses a Mac Mini M4 Pro and has been tempted by the DGX Spark.
First of all, I really like the Mac Mini. It’s probably the best desktop I’ve ever owned. For local inference with open-weight LLMs, it works great (the plot above captures that well). I regularly run the gpt-oss-20B model on it. That said, I would not fine-tune even small LLMs on it since it gets very hot. The DGX Spark probably targets that type of sustained workload. (From those who have one, any thoughts on the noise and heat levels?) The other big thing that DGX Spark gets you is CUDA support. If you use PyTorch, that’s pretty essential since MPS on macOS is still unstable, and fine-tuning often fails to converge. E.g., see https://t.co/XSz5qcTJTX and https://t.co/8ASr0Q0fS8 I also like the Spark’s for factor (hey, it really appeals to the Mac Mini user in me). But for the same money, I could probably buy about 4000 A100 cloud GPU hours, and I keep debating which would be the better investment. Sure, I could also build/get a multi-GPU desktop. I had a Lambda system with four GTX 1080 Ti cards back in 2018, but it was too loud and hot for my office. And if I have to move it to another room and SSH into it anyway, I might as well use cloud GPUs instead?
छवि लोड हो रही है…The main appeal of open-source agent harnesses isn't that they are free, but that we can inspect what they are doing on our computers.
Have been taking different local open-weight LLMs for a test drive in different harnesses (Qwen-Code, Codex, Claude Code).
30B Mixture-of-Expert models are kind of a nice sweet spot and can solve challenging problems. And they get roughly 40 tok/sec on a Mac or DGX Spark, which is similar to GPT 5.5 in a Pro subscription and totally useable for everyday work. More interesting is also the harness choice! Claude Code seems to be using 2x many tokens as Codex. Gemma 4 E2B is here just for reference to show that the tasks can't be trivially solved by smaller models. Just finishing a longer write-up about this and will share soon (likely tomorrow)!
छवि लोड हो रही है…The open-source LLM ecosystem could really benefit from an LLM building-block API.
We have so many LLM components across different models now. Whether you are using PyTorch or C++ and CUDA code directly, there is a major switching cost when you want to run experiments or ablation studies, say swapping GQA with MLA, dense FFNs with MoE, attention layers with Mamba2 or Gated DeltaNet, or standard residual connections with attention residuals. Currently, it’s very messy even with LLM-assisted coding. It could maybe be on top of PyTorch or CUDA directly, but it needs to be carefully engineered and maintained (versus quickly vibe-coded on a weekend) and efficient enough that people trust it to use in production (which is really a requirement to move beyond toy examples). Maybe some food for thought for a big, well-funded lab :) (There are some efforts that go into that direction, like torchtitan, torchtune, Megatron Core, OLMo-core, but they are not quite that level of abstraction, I'd say. And, as always, there’s the chicken-and-egg problem: it needs to be popular to get widely adopted, and it needs to get widely adopted to become popular.)
छवि लोड हो रही है…Wow that escalated quickly. Was gone for a few weeks and now pretty much everyone launched their own decision model copycats:
- Sep 23: Together AI, Tev1-4B - Sep 24: Alibaba Cloud, decision-model - Sep 29: Liquid AI, d1 - Sep 30: Databricks, ai_decide - Oct 1: Amazon AWS, Strands Decider 2B - Oct 1: Cloudflare, Clef and Clef-flash (Clef-omni on Oct 9) - Oct 1: Perplexity, Decider (v1.3 on Nov 12) - Oct 6: OpenAI, Decisions API (GPT-6 Luna) - Oct 7: https://t.co/s8O5rwbq5z, H2O-Lightning-4B - Oct 7: Snowflake, Snowflake Decision - Oct 9: Microsoft, Microsoft-Decision-1 - Oct 15: IBM, Granite Switch 4.1 with Decision adapter - Oct 21: Baseten, Mammoth-1 and Elephant-1 - Nov 6: Salesforce, Koa Decisions - Nov 11: Google DeepMind, Gemini Decision 1 According to a Vercel report, 26% of requests are now routed through decision models 📈
उद्धृत पोस्ट खोलेंHoping Nemotron keeps going.
Thankfully, open weight LLMs have some alternatives. But their open data and full training recipes would be much harder to replace.
I think of it as this: LLMs lower the barrier of entry, and they make coders (beginners and experts) more productive. It's still worth investing in becoming an expert, because then you will get even more out of LLMs and will be able to deliver even better results. https://t.co/xVqT99Y0TT
छवि लोड हो रही है…This might be the best coding model yet. General-purpose is cool, but if you want the best at coding, specialization wins. No free lunch.
उद्धृत पोस्ट खोलेंLLMs are quite capable coders. Now, people say they are limited by programming languages designed for humans.
I think it is the opposite: they are enabled by programming languages designed for humans. You cannot just design a new programming language for LLMs because where would the training data and project examples come from? It’s also interesting how, for that reason, Python acts as a reasoning trace for LLMs. I.e., ask to code up something in Python, then port it to CUDA or Rust (versus coding it in CUDA or Rust) directly.
Had a really fun time sitting down with @lexfridman & @natolambert and chat about all things LLMs and AI (yes, 4.5h really flew by!)
I love this upgrade. Lightning AI is my go-to cloud compute platform due to its user-friendliness (great UI, persistent environment, multi-GPU and multi-node support, etc), and now the prices are also really great.
An A100 for $1.55/hour through Lambda Labs or an H100 for $2.70 through Voltage Point. What's not to like! Disclaimer: This is NOT a sponsored post (I have never done those!). And I was NOT asked or contacted to say this; it's genuinely my preferred platform. I did work at Lightning AI at one time though.
छवि लोड हो रही है…Glad this got resolved.
Whatever you think of the last two weeks, CUDA is a big part of why deep learning took off when it did. It's been 1.5 decades since AlexNet was trained on two GTX 580 gaming GPUs in 2012. And Nvidia GPUs are still best in class. Welcome back, Jensen.
उद्धृत पोस्ट खोलेंConsistent with what I found with Qwen3.6 a while back: Claude Code uses 2-3x as many tokens than (many) other harnesses at similar success rate.
- Unoptimized? - Buggy? - Deliberate (coz that helps it in more challenging cases)? Need to find some time to investigate more...
उद्धृत पोस्ट खोलेंComparing new LLM releases via benchmarks is now a bit like using IQ tests for hiring decisions.
Sure, benchmarks are useful baselines and so on, but beyond that, I don't know how indicative they are of our individual tasks and needs. (Yes, also looking at that release yesterday)
Maybe a good analogy for how we should use AI in a sustainable way is chess.
Chess engines surpassed human players decades ago, yet professional chess played by humans is still active and thriving. I am not a chess expert, but I'd say the game has probably even become richer and more interesting. Based on what I heard (e.g., based on Kasparov's Deep Thinking book and podcasts featuring Magnus Carlsen), modern players have been using AI to explore different ideas, challenge their intuitions, and analyze mistakes with a level of depth that simply was not possible before. I think this is a useful model for how to think about AI in other forms of intellectual work. Used well, AI can accelerate learning and expand what a single person can reasonably take on. I think we should treat it more as a partner rather than a replacement. But I also think if AI is used to outsource thinking and coding entirely, it risks undermining motivation and long-term skill development.
Yes, pre-training wasn’t plateauing. Great chart btw.
उद्धृत पोस्ट खोलेंLLM training is hard. Hard to be a jack of all trades.
उद्धृत पोस्ट खोलेंWhoever gets their hands on the most battle-tested enterprise code...
This is how the ChatGPT vs Claude vs Gemini vs Muse vs Grok race is going to be decided in 2027 and beyond. (And smart enterprises will play multiple fronts.) https://t.co/F9VPgyGhzK
छवि लोड हो रही है…Nice showcase that interesting LLM work can be done on single GPU!
उद्धृत पोस्ट खोलेंJob roles in 2027: We let LLMs focus on the “how”. We focus on the “why”.
Programmer → Code Composer Before: Writing code line by line After: Designing logic & structuring systems Web Dev → Experience Designer Before: Building layouts and components After: Defining flow, behavior, and structure Data Scientist → Analytics Strategist Before: Cleaning data, structuring queries After: Framing questions, interpreting outcomes
There were many people who asked me about joining their startup & co-founding a startup in the past 2 weeks.
Not career advice, but just my 2 cents: I actually think it’s a great time to start a bootstrapped startup compared to going the VC-backed route. These days, there are so many open-weight models available that you can build on top of, or you can use pay-as-you-go APIs. That means you don’t need to burn massive amounts of compute training yet another base model. Meanwhile, most VC-backed startups seem to be pouring money into compute (often without clear differentiation) and at some point, VCs will expect a return on that investment…
A little Ember-1 tl;dr.
Seems like a great model! (Was recently asked on a podcast, given $ xx million, what's the best way to develop a frontier LLM today? My recommendation was: start with an existing one and spend that budget on post-training. Great example here.) https://t.co/RjXWtqMxvK
छवि लोड हो रही है…A couple of days ago, I did a quick explainer on Claude’s new watermarking process and implementation. Since it’s such a popular topic and sparked such a lively discussion, I thought it might be interesting to go into a bit more detail when explaining how it works.
So, instead of the usual text article, I recorded a little lecture on the topic (to change it up a bit from my usual articles). It ended up a bit longer than intended, but I hope it clarifies a lot of things: - Sampling the next token in an LLM and pseudorandom number generators - How watermarking relates to the regular LLM sampling process - Whether watermarking makes text "worse" - How to remove watermarks - Tournament sampling - How new text is checked for watermarks without rerunning the LLM I ended up with ~50 slides, but I hope that these explain it well, though! Happy watching!
छवि लोड हो रही है…Code reviews today feel like slapping gazillions of unit tests onto your colleague's code. But who reviews the tests? :)
Pretty cool. I think 2025-2026 will be a stronger focus on these in open source tooling.
I.e. having LLMs delegate knowledge-based queries to search, which in turn frees up model capacity to improve reasoning capabilities and tool use.
उद्धृत पोस्ट खोलेंWow, Antigravity feels like a straight-up ChatGPT/Codex clone.
But hey, that's a good thing. Familiar = convenient :)
Yeah. Also, LLMs are specifically fine-tuned to work in specific harnesses and with specific tools.
I.e., the harness is part of the training setup, so the model can't really absorb it. It’s a bit like the CPU/GPU absorbing the operating system.
उद्धृत पोस्ट खोलेंAm currently putting together an article, and yeah, the SWE-Bench Verified numbers are definitely a bit sus across all models -- the benchmark suggest they are more similar than they really are.
So, I went down a rabbit hole looking into SWE-Bench Verified issues... And it looks like OpenAI already did really nice work there in their "Why SWE-bench Verified no longer measures frontier coding capabilities" analysis: https://t.co/MqiZb0k4Gx The gist is: 1. After auditing 27.6% of frequently failed tasks, at least 59.4% had flawed tests that reject correct solutions 2. Since SWE-Bench draws from widely used open-source repos, frontier models sometimes reproduced the exact “gold patch” or problem details, which suggest data leakage. (Probably a "duh" given that the dataset has been out since 2023.) Long story short, SWE-Bench Pro seems to a bit of an improvement (for now).
छवि लोड हो रही है…A small follow-up to my DGX Spark post. Courtesy of NVIDIA, I got to try the DGX on my workflows (coding LLMs from scratch in pure PyTorch) and wanted to share my first impressions after using it for a week.
Before getting to the performance, there was a neat bonus I didn't expect: It comes with NVIDIA Sync software that lets you conveniently connect (I fully expected I would have to find my SSH tunneling notes from back when I set up Jupyter Lab, etc, on a remote machine). The setup is a breeze and a delight. Now, how does it fare against my Mac Mini? I included the tokens/sec inference speed for a small 0.6B model I am currently working on. The DGX is much faster than the Mac Mini M4 CPU and still noticeably faster than the M4 GPU (via PyTorch MPS). More importantly, though, as I mentioned before, it is a CUDA device and thus much better supported in PyTorch. This, in turn, results in more stable training and higher benchmark accuracy. (And no compile errors, yay!) Both devices get hot under my workloads (e.g., a constant-load run like evaluating a model with batched mode on MATH-500; or fine-tuning a model), but I feel like the DGX Spark is (probably) made with that in mind. Plus, due to its larger 128 GB RAM, I can run larger batch sizes. Then there's also the aspect that when I have the DGX (vs the Mac Mini) running computations, it keeps my Mini free for other tasks :). Overall, a neat little package and CUDA prototyping machine that I can keep on my desk. It's super quiet similar to the Mac Mini. Of course, it's not as capable as a 6x more expensive H100 for training, but hey, you don't need a server room for that and can keep it in your office without worrying about heat or noise (this was not possible with the Lambda workstation I had a few years ago). tl;dr: So, I've been seeing lots of others using it for LLM inference (Ollama, vLLM, etc) but my first-week impression is that this is also a neat box for local dev and prototyping (e.g., coding and running PyTorch models) thanks to the CUDA support, which comes in handy before starting larger, more expensive training runs. PS: Plus also find another benchmark versus the H100 in the comments below. Will run more experiments over time. In the meantime, let me know if you have any questions.
छवि लोड हो रही है…And so it begins. Looks like / I hope there will be some fresh open-weight models to analyze and write about soon... It's been a while! https://t.co/fO8xMAkR7v
छवि लोड हो रही है…Since I had to discuss the "pacing" with a lot of people this weekend, here are my two cents: I don't think pacing literally means that these companies will be "slowing down" training and development in any way.
"Pacing" here means adding a framework for more checks. We have seen some of that "pacing" already in recent months, when Mythos wasn't released as-is but instead a delayed, nerfed Fable variant was released. Or when Astra wasn't released right away / there is an existing Astra model that hasn't been released yet. These Mythos/Fable and Astra pacing decisions were ad hoc. If you are a company, you have to weigh the pros and cons of a delayed release in terms of keeping up with the competition, making money, pleasing shareholders, mitigating risks and harms, and so on. I f there is a formal framework that everyone has to abide by, that essentially relieves some of the pressure on a company to rush out its model just to take the top spot on the leaderboard, since it knows that the competition "has to" play by the same rules. Based on the discussions today, I think "pacing" primarily means just that, rather than a halt in training the models. TL;DR: Pacing != pacing development.
Social apps for AI generated videos are one expensive way to collect human preference labels for RL.
But those preference labels are probably going to be spot on.
Some food for thought when designing benchmarks...
So, here's a little computer-use (visual) comparison between GPT-5.6 Astra and Qwen3.8 Max. The task here was to recreate the image in the center using the Paint UI. Super interesting how the two different LLMs+Harnesses approached this totally differently by default. I.e., Astra tried to approach this by drawing and layering geometric shapes. Qwen approached this pixel by pixel. (Of course, the pixel-by-pixel result looks closer to the original, it's essentially a low-res version of that by nature.) So, the Qwen-generated image would surely score higher in the sense that it's closer to the original. But I wouldn’t conclude from this example that one LLM generalizes better than the other on other tasks. Also, I wouldn't say Qwen has better compute-use capabilities or better visual understanding than Astra. But it highlights an interesting point about how slippery benchmarks are when they only compare final results.
Hillclimbing: Make the model better (best intentions).
Benchmarking: Measure how much better (best effort). Benchmaxxing: Make the numbers look better (best optics).
उद्धृत पोस्ट खोलें> "Less than half the tokens of 5.2-Codex for same tasks"
That one line already says a lot. There is no assumption anymore that compute or budget is infinite in 2026. But if you can get better modeling performance while using fewer tokens, that's a win-win. https://t.co/JaCdTRMDZx
छवि लोड हो रही है…Had a great time at PyCon & PyData DE. Highly recommend it. Great open-source, community-focused conference with lots of builders in the Python AI, LLM and agent space.
Taking a short family break, my first "vacation" in years (hopefully, I won't miss the DeepSeek V4 drop 🤞😆) https://t.co/kbKtRZK9aa
छवि लोड हो रही है…If your company wants to help employees stay up to date with AI, I've teamed up with @natolambert and others to launch @readsail.
It's essentially a platform that makes it easy to manage ongoing AI learning and brings you a curated set of AI-related news and educational content.
LLM versioning rules:
1.If performance is mid → don’t bump (e.g. see GPT-4 → 4.5) 2.If < 4 months since last release → don’t bump (e.g. Qwen3-Next) 3.Else → bump (I hear DeepSeek v4 releases in October )
Looking forward to chatting with @hugobowne today (July 27) at 4 pm PT on the Vanishing Gradient livestream on YouTube.
Will cover open source, the newest LLMs & trends, agent frameworks, and whatever else comes up. Basically, all the exciting stuff. Should be fun!
Had a fun chat with @mattturck the other day where we talked about a bunch of interesting LLM stuff...
Basically everything from the future of the transformer architecture to inference-time scaling as a recent MVP of LLM performance:
It’s October. DeepSeek V4 or Gemini 3 Pro, who wants to go first?
Yeah, in an ideal world, we would use AI to enable experts to do higher-quality work. But in the real world, they are also expected take on a wide range of additional responsibilities that detract (& distract) from their core work.
उद्धृत पोस्ट खोलेंI couldn't make it to NeurIPS this year, but I had been looking forward to the research spotlight interviews my colleague @natolambert is hosting.
If you want to chat for 10-15 min to promote your work & latest research, I recommend stopping by:
- पोस्ट
- 57
- पोस्टों का साझाकरण
- 27.1%
- औसत पसंद
- 531
- उच्चतम गुणक
- 6.0×
Books, Courses, and Video Series
After 18 months of writing, coding, and experimenting, Build a Reasoning Model (From Scratch) is finally out!
My first copies just arrived! 📚 440 full-color pages. Inference scaling, reinforcement learning, and distillation from scratch. https://t.co/647ksI7sLc
छवि लोड हो रही है…When I started LLMs-from-scratch I just hoped it might help a few people learn.
Just saw the GitHub the repo has now been forked 10k times! More than the stars, the best part is seeing thousands of people actually use and build on the code ☺️ https://t.co/NoQ7gJNd0y
छवि लोड हो रही है…Just saw that the LLMs-from-scratch repository passed 100,000 stars on GitHub! This is super cool and motivating. I am really happy to see that this open-source repo has helped so many people. Thanks also to everyone who shared ideas and opened PRs with improvements!
Of course, I plan to keep adding new material, including new attention variants and architectures (while bigger projects like RL and Reasoning From Scratch live in their separate repositories). I am also currently working on a larger applied custom “small” LLM project. It has been keeping me super busy this month, but I will share more on that soon. If you are new to it, some of the highlights include 1. Of course, the complete code path from tokenization and attention to pretraining, classification, and instruction fine-tuning, etc. All of it FROM SCRATCH, of course! (RL lives in a companion repo.) 2. From-scratch implementations of Llama, Qwen, Gemma, and Olmo (smaller variants that run locally and can be plugged into the training scripts). 3. From-scratch implementations of attention alternatives and other architecture components, such as GQA, MLA, sliding-window attention, Gated DeltaNet, DeepSeek Sparse Attention, cross-layer KV sharing, and mixture-of-experts 4. Materials on KV caching, training performance, memory-efficient weight loading, DPO, evaluation, and LoRA So, if you don’t have any weekend plans yet, happy tinkering!
छवि लोड हो रही है…I’ve been working on something new: 📚 Build a Reasoning Model (From Scratch).
The first chapters just went live! (The book will cover topics from inference-time scaling to reinforcement learning) https://t.co/m0gXnhATKC
छवि लोड हो रही है…It’s done.
All chapters of Build A Reasoning Model (From Scratch) are now available in early access. The book is currently in production and should be out in the next months, including full-color print and syntax highlighting. There’s also a preorder up on Amazon. https://t.co/ANaJHjpC2s
छवि लोड हो रही है…Thanks everyone for all the kind words and feedback. Super happy that you are enjoying Build a Reasoning Model (From Scratch)!
Unfortunately, there's small typo in listing 6.5 on page 198 (see video below). The line "torch.manual_seed(0)" should be "torch.manual_seed(5)" This correction is needed to reproduce the generated response in listing 6.5 and the corresponding log-probability outputs later in Chapter 6. If you use 0, the generated response and the results that follow will be different. This will be fixed in the next printing. I am sorry about the oversight, and I hope this note saves you some debugging time.
Since it's summer, and more or less internship and tech interview season, I made all 30 chapters of my Machine Learning Q and AI book freely available for the summer:
https://t.co/vzZHdwTSuF Hope it’s helpful! Happy reading, and good luck if you are interviewing!
Btw if you're learning how to build LLMs from the ground up, there's now a 17h companion video course for my LLMs From Scratch book on Manning: https://t.co/jStayj2byi
It follows the book chapter by chapter, so it works great either as a standalone or code-along resource. It's similar to the videos I shared on YT earlier this year, but w/o ads, better navigational structure than YT.
छवि लोड हो रही है…The complete reasoning-from-scratch video series is now up (and linked) here: https://t.co/5IOHLTCIGt
(Taking a short break but will be back with LLM model and research updates in November!)
Reasoning from scratch, round number 6! An introduction (and implementation) of Reinforcement Learning with Verifiable Rewards (RLVR) and Group Relative Policy Optimization (GRPO).
00:00 Introduction 01:54 What makes a reasoning model different? 04:25 Reasoning traces and model capability 08:29 Accuracy and format rewards 11:34 Aha moments and DeepSeek-R1 training 14:41 Reasoning effort and answer length 18:38 RLHF and RLVR 23:04 GRPO vs. PPO 26:40 GRPO explained with a cooking analogy 31:43 The KL term and simplified GRPO 35:04 Loading the pretrained model 36:07 Loading the MATH training data 39:26 Sampling model responses 46:30 Computing verifiable rewards 49:55 Computing advantages 51:54 Token and sequence log probabilities 55:29 Implementing sequence log probabilities 57:37 Fixing the inference-mode error 1:02:24 Computing the GRPO loss 1:04:37 Putting the GRPO step together 1:09:19 The GRPO training loop 1:12:57 Training settings, logging, and checkpoints 1:17:24 Running training and inspecting outputs 1:19:28 Loading and evaluating checkpoints 1:22:33 MATH-500 results and training stability 1:24:05 Memory requirements and next steps
Reasoning from scratch round 2: In this video, I cover the text generation process in LLMs and KV caching (to prepare the base model before adding reasoning techniques in the upcoming ones).
00:00 Introduction and reasoning model demo 01:55 How to work through the book 05:00 Chapter 2 overview 08:25 Checking PyTorch and hardware support 10:26 Apple silicon and MPS caveats 15:00 Cloud GPU options 16:08 Tokens and tokenization 18:20 Qwen3 and the Reasoning From Scratch package 23:05 Encoding and decoding text 26:24 Downloading weights and selecting a device 31:01 Loading the pretrained Qwen3 model 34:32 How LLMs generate text 36:47 Input tensors and batch dimensions 41:48 Running the model in inference mode 44:11 Logits and next-token predictions 49:21 Greedy decoding with argmax 52:28 Building a streaming text generator 01:01:28 Generating text and handling end-of-sequence tokens 01:06:00 Benchmarking text generation 01:14:34 How KV caching works 01:17:22 Adding KV caching and measuring the speedup 01:24:31 Model compilation with torch.compile 01:30:33 Combining compilation with KV caching 01:32:53 Comparing CPU and GPU performance 01:35:32 Recap and next steps
Reasoning From Scratch: Reinforcement Learning with Verifiable Rewards (RLVR) round 2. Covering clipped policy ratios, KL loss term, format rewards, and other GRPO tips & tricks.
00:00 Introduction and recap 01:52 Interpreting basic GRPO training metrics 06:34 Planned improvements to GRPO 08:58 Running longer training jobs with Python scripts 13:39 Running the baseline GRPO training script 17:29 Loading and plotting training logs 19:29 Diagnosing unstable training 23:55 Evaluating checkpoints on MATH-500 26:26 Downloading existing checkpoints 30:09 Tracking advantage statistics 34:53 Understanding entropy 40:32 Computing entropy in PyTorch 44:17 Interpreting entropy values 48:58 Adding entropy tracking to GRPO 53:36 Analyzing advantage and entropy metrics 56:18 Stabilizing GRPO with clipped policy ratios 1:03:27 Implementing the clipped policy loss 1:09:39 Analyzing clipped policy training results 1:11:25 KL divergence and reward hacking 1:15:12 Adding a KL loss term 1:20:34 Limitations of the simplified KL loss 1:23:04 Format rewards and think tags 1:25:47 Adding special tokens to the tokenizer 1:30:29 Implementing the format reward 1:35:56 Analyzing format reward training 1:38:25 Rewarding format only for correct answers 1:40:48 Further GRPO improvements from research 1:45:43 Next steps and distillation
Reasoning from scratch, round number 5! This time, talking about log-probability scoring (also a great fundamental concept for loss functions like cross-entropy in pre-training and distillation) and self-refinement.
00:00 Introduction and inference-time scaling recap 05:02 Loading the pretrained LLM 08:00 Comparing and scoring model answers 10:18 Building a rule-based scorer 17:53 Token probabilities and sequence likelihood 26:47 Computing token probabilities in PyTorch 30:12 Token indexing and shifted targets 37:27 Log probabilities and numerical stability 45:57 Scoring answers with average log probabilities 56:24 How self-refinement works 59:07 Generating critiques and revised answers 1:01:00 Implementing the self-refinement loop 1:05:57 MATH-500 evaluation results 1:07:35 Takeaways and next steps
Excited to be (finally) heading to the PyTorch Conference!
I’ll be giving a talk tomorrow at 11:00 AM on “The LLM Landscape 2025”, where I’ll discuss the key components behind this year’s most prominent open-weight LLMs, and highlight a few architectural developments that go beyond the mainstream, off the main track. I also look forward to doing a book signing session at 3:20 PM, thanks to the kind invite from the organizers. It’s my first trip since my injury last year, and I’m really looking forward to reconnecting with the community in person after such a long time. If you’re there, please come say hi! (I couldn’t make it for the first day of the conference due to a mandatory appointment, but better late than never! See you all tomorrow.)
छवि लोड हो रही है…If you are looking for something to read this upcoming weekend, chapter 4 on inference-time scaling is available now! 🔗 https://t.co/lDubOQ9M3o https://t.co/E3i0GEkLs9
छवि लोड हो रही है…Inference scaling part 1. Starting with a modded text generation function (temperature scaling, top-p filtering, multinomial sampling) to generate diverse outputs for self-consistency and best-of-N (improving answer accuracy by>2x)
00:00 Introduction and recap 00:31 Training-time and inference-time scaling 07:52 What we'll implement 11:47 Notebook setup and model loading 17:43 Building a flexible text generation function 24:40 Chain-of-thought prompting 28:26 Sampling and output diversity 33:43 Next-token logits and greedy decoding 38:20 Temperature scaling step by step 42:46 Softmax and token probabilities 47:42 Multinomial sampling 54:51 Adding temperature sampling to text generation 59:31 Top-p filtering step by step 1:10:23 Adding top-p filtering to text generation 1:13:43 Sampling and LLM watermarking 1:16:01 Self-consistency and majority voting 1:20:36 Implementing self-consistency 1:29:02 MATH-500 results 1:35:01 Accuracy and compute tradeoffs 1:36:50 Next steps and self-refinement
Reasoning from scratch round 3: This time, I cover generating a verifier for...
a) ...evaluation (base model versus any future model improvement) b) ...the reinforcement learning with verifiable rewards (RLVR) training later on 00:00 Introduction 01:21 Four approaches to LLM evaluation 07:20 Verifiers and reinforcement learning with verifiable rewards 10:52 Notebook setup and dependencies 13:43 Section 3.1 Building a math verifier 18:57 Section 3.2 Loading a pre-trained model to generate text 24:34 Generating and displaying model answers 29:23 Section 3.3 Implementing a wrapper for easier text generation 34:00 Section 3.4 Extracting the final answer box 37:29 Handling answers without boxes 43:17 Section 3.5 Normalizing the extracted answer 46:56 Section 3.6 Verifying mathematical equivalence 53:32 Implementing the equality check 57:48 Section 3.7 Grading answers 59:20 Building and testing the answer grader 1:03:18 Section 3.8 Loading the evaluation dataset (MATH-500) 1:07:51 Section 3.9 Evaluating the model 1:08:34 Prompt templates for evaluation 1:10:47 Prompt sensitivity and memorization 1:13:55 A minimal evaluation example 1:15:32 Building the evaluation loop 1:20:27 Comparing CPU, MPS, and CUDA results 1:21:54 Reproducibility and floating-point math 1:23:37 Base model vs. reasoning model 1:25:30 Summary and next steps
I often get questions from readers about how to read and get the most out of my book(s) on building LLMs from scratch. My advice is usually based on how I read technical books myself. This is not a one-size-fits-all approach, but I thought it may be useful to share:
1. Read the chapter preferably offline, away from the computer. Either classic physical form or at least on digital devices without internet. This really helps with focus time and minimizing distractions while reading. Highlighting or annotating confusing or interesting things is good, but I would not look things up at this stage. I also wouldn't run code at this stage. At least not yet. 2. On the second read-through, type up and run the code from the chapter. Copying code is tempting because retyping is a lot of work, but it usually helps me to think about the code a bit more (versus just glancing over it). If I get different results than in the book, I would check the book's GitHub repo and try the code from there. If I still get different results, I would try to see if it's due to different package versions, random seeds, CPU/CUDA, etc. If I then still can't find it out, asking the author would not be a bad idea (via book forum, public GitHub repo issues or discussions, and as a last resort, email) 3. After the second read-through and retyping the code, it's usually a good time to try the exercises to solidify my understanding. To check whether I actually understand the content and can work with it independently. 4. Go through the highlights and annotations. I would bookmark important learnings or takeaways, if relevant for a given project, in my notes documents. Often, I also look up additional references to read more about a topic of interest. Also, if I still have any questions that I feel are unanswered after my previous readthroughs and exercises, I would do an online search to find out more. 5. The previous steps were all about soaking up knowledge. Eventually, though, I somehow want to use that knowledge. So I think about which projects would benefit from what I've learned and incorporate it into them. This could involve using the main concept from the chapter, but also sometimes minor tidbits I learned along the way, e.g., even trivial things like whether it actually makes a difference in my project to explicitly call `torch.mps.manual_seed(seed)` instead of just `torch.manual_seed(seed)`. Of course, none of the above is set in stone. If the topic is overall very familiar or easy, and I am primarily reading the book to get some information in later chapters, skimming a chapter is ok (to not waste my time). Anyway, I hope this is useful. And happy reading and learning!
A little video that - explains the relationship between conventional LLMs and reasoning models (and agents), - philosophizes a about "from scratch" approaches, - and explains how to install Python & PyTorch requirements with uv. https://t.co/ahZHoyPa0Q
If you are looking for reading material for the upcoming weekend, (the long-promised) Chapter 5 on LLM self-refinement is now finally out in the early access.
Here, we continue the inference-time scaling theme, but we move beyond self-consistency and voting. More specifically, we implement a self-refinement loop, where a model iteratively critiques and improves its own answers. Along the way, the chapter implements several core pieces that will become essential in the upcoming reinforcement learning chapters like log-probability scoring (I finished the RL chapter last week, and it will hopefully be out soon, too). Like always, all of this is implemented from scratch, step by step, of course. I think that seeing it all in working code really helps with understanding how LLM reasoning methods work (versus just looking at the equations). Anyways, with Chapter 5 out, the early-access version of the book has grown quite a bit (~300 pages) and now finally wraps up inference-time reasoning before we transition into the (even more) fun part: reinforcement learning (from scratch!) in the next chapter. 🔗 Here's the link to the book's early access: https://t.co/QbKUmTyq6D Happy reading (PS: Sorry for the delay. It turns out the submitted manuscript got a bit backlogged in the publisher’s processing pipeline. The silver lining is that the reinforcement learning chapter hopefully now follows sooner! )
छवि लोड हो रही है…Reasoning From Scratch round 8, the finale! This last lecture in the series covers distillation as an efficient alternative to the previous reinforcement learning training runs.
(Planning to take a brief break, but I will be back!) 00:00 Introduction and series recap 01:07 Why distill a reasoning model? 02:51 Soft vs. hard distillation 11:06 On-policy vs. off-policy distillation 18:09 Preparing data for reasoning distillation 22:35 Loading the DeepSeek R1 MATH dataset 28:04 Inspecting reasoning traces and final answers 31:27 Tokenization and chat templates 35:58 Pre-tokenizing the training dataset 39:01 Sequence lengths and the 2,048-token limit 42:38 Creating training and validation splits 45:32 Loading the Qwen3-0.6B base model 46:24 Computing answer-token log probabilities 54:10 Cross-entropy loss for distillation 57:25 Training and validation loss helpers 1:02:03 Implementing the distillation training loop 1:07:26 Running the standalone training script 1:09:41 Plotting training and validation losses 1:11:31 Evaluating checkpoints on MATH-500 1:14:09 Comparing teachers and distillation results 1:16:34 Future directions for reasoning models 1:19:41 Bonus exercises and next steps
Build a Reasoning Model (From Scratch) is now finally also available on Amazon! Thanks so much to everyone who preordered!
One important note for readers in India: please avoid ordering through @amazon India (@amazonIN) for now since they are selling counterfeit black-and-white copies. The genuine book is printed in color this time and includes a code for registering the book on Manning’s website. If you are based in India, I recommend ordering directly from Manning. (If you received a counterfeit copy, please return it. I am very sorry about the hassle.) Unfortunately, these counterfeit sales also directly hurt my work as an independent author. And reviews from readers who received the fake copies from Amazon India also appear on the global Amazon. com page, which makes it look as if the genuine copies on Amazon. com have the same issues. Based on what I have seen and heard from readers who received the copies from Amazon. com yesterday, Amazon. com itself appears safe. I also ordered a copy through Amazon. com myself, and I can confirm that it's genuine. If you received a genuine copy and have had a chance to read it, I would be very grateful if you considered sharing your experience in a review on Amazon. com, even a short one. It would really help, especially since reviews for the fake copies from Amazon India also show up on the Amazon. com page. Thank you!
Just a regular Monday morning. Saw that LLMs-from-scratch got its 1000th commit. Feels a bit surreal 🤯😊 https://t.co/n3EWkoEMHp
छवि लोड हो रही है…Chapter 3, and with it the first 176 pages, is now live! (https://t.co/YrwP2aus7w) https://t.co/Z3N5xGkhmM
छवि लोड हो रही है…My "The Building Blocks of Today’s and Tomorrow’s Language Models" talk at the PyTorch Conference is now up on YouTube! https://t.co/bGV5w1Aqyq
If you have 25 min this weekend, it's a whirlwind tour to catch you up on the key LLM architecture design considerations in popular LLMs this year (plus, an overview of alternative architecture designs). The silver lining of my late arrival and rescheduling: Since there was no talk after mine, it's followed by a 30 min Q&A instead of just the usual 5 min :)
Hey, will be giving a talk on LLM architectures at the @PyTorch Conference next month! 👋
(There will also be an official signing session for my book.) This will be my first in-person event in more than year, and I am really looking forward to it! 😊 https://t.co/uhw6TWRaSG
छवि लोड हो रही है…Thanks everyone for all the nice feedback on Build a Reasoning Model (From Scratch) so far!
I am also flattered that 2 book clubs are discussing it. I look forward to join for live Q&As on Thu, Sep 3, at 10 am (and 2 pm CT). Please join us & bring your questions!
उद्धृत पोस्ट खोलें- पोस्ट
- 27
- पोस्टों का साझाकरण
- 12.9%
- औसत पसंद
- 985
- उच्चतम गुणक
- 6.6×
Reasoning Models and Reinforcement Learning Training
How can an LLM switch between low-, medium-, and high-effort reasoning? And how does an LLM learn to reason more or less?
I put together a “little” article explaining how these effort levels are implemented at inference time and during training. https://t.co/mc4qiCnq0C
छवि लोड हो रही है…Whoa. Didn't have Google promoting distillation on my 2026 bingo card.
If you want a hands-on intro to distillation with working code examples, here's a good place to start: https://t.co/bPRyIU697f https://t.co/jQGTEm1S0S
छवि लोड हो रही है…I have been pretty heads-down this year to finish Chapter 6 on implementing reinforcement learning with verifiable rewards from scratch (using GRPO). I just finished it this weekend, and I'd say it's the best (or at least my favorite) chapter yet!
The goal of this chapter is to explain and implement GRPO from the bottom up. This means coding and walking through each GRPO step one by one (advantages, rewards, logprobs, and loss) and then training a 0.6B base model on the 12k examples from the MATH training set. (This takes the model from 15% to 47% accuracy on the MATH-500 test set, which is about as good as the official Qwen3 reasoning model of similar size.) The focus is on readability and understanding GRPO, but the supplementary materials also contain scripts to run it in a multi-GPU setting. The code notebook is already available on GitHub if you want to take a look: https://t.co/SM58MXjf8V. (And the full chapter should make it to the early access version of the book at https://t.co/vzCr5sTjrf soon!) PS: The next chapter will introduce additional tips and tricks to improve the GRPO algorithm for better and more stable training behavior.
छवि लोड हो रही है…The LLM training eras:
202x Pre-training (foundation) 2022 RLHF + PPO 2023 LoRA SFT 2024 Mid-Training 2025 RLVR + GRPO
One of the underrated papers this year: "Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wasteful" (https://t.co/0O4XjGDLIP)
(I can confirm this holds for RLVR, too! I have some experiments to share soon.) https://t.co/Vy6yVeGqiK
छवि लोड हो रही है…Crazy model! It actually uses the old Qwen2.5-Coder-3B stack and got really great performance with their post-training stack. Need to use it in the next days to see if vibes of VibeCoder actually check out in practice. But impressive first impression!
Based on the tech report, some of the important pieces of their post-training stack: 1. High-signal synthetic data (math problems with credible solutions, code with tests) 2. Multiple reasoning paths for each answer 3. Filtering, filtering, filtering 4. 2-stage SFT (start with broad training, then train on hard long-reasoning samples) 5. Use target (pass@k) accuracy over validation loss for checkpoint selection 6. MGPO (MaxEnt-Guided Policy Optimization) for RLVR: basically a GRPO-style RL method with an extra weighting that favors examples that are neither too easy nor too hard for the current policy 7. Single 64k long-context RL (they found that the usual progressive context expansion hurt this model because early truncation damaged long-thinking behavior) 8. Training data order: they do Math RL, then Code RL, then STEM RL in this particular oder which they found helped overall 9. After optimizing for accuracy, they add a stage that rewards shorter correct trajectories; basically making the model more efficient without accuracy degradation
छवि लोड हो रही है…The Ch08 Nb on distilling LLMs is now on GitHub: https://t.co/bPRyIU5BhH
Hard distillation that works with any LLM (minding the terms of service, of course). https://t.co/KscPulkj7q
छवि लोड हो रही है…How do we evaluate LLMs? I wrote up a new article on (1) multiple-choice benchmarks, (2) verifiers, (3) leaderboards, and (4) LLM judges
All with from-scratch code examples, of course! https://t.co/JhnmgiYdZD
छवि लोड हो रही है…Finished Ch07 on Improving GRPO for Reinforcement Learning!
Building on the GRPO from scratch intro, this adds (and analyzes) more bells and whistles! (Clipped policy ratios, KL term, format rewards, and couple of improvements.) https://t.co/twsR8cdhh1 https://t.co/cA9WM4LWf9
छवि लोड हो रही है…Evaluating reasoning models is non-trivial. But you can use a verifier to check if answers are indeed correct.
Just finished a 35-page chapter on building one from scratch. Lots of symbolic parsing, math equivalence, edge cases… quite the project. Sneak peek on GitHub below 🔗 https://t.co/Y5MZeE5dI4
छवि लोड हो रही है…Inference-scaling lets us trade extra compute for better modeling accuracy. Next to reinforcement learning, it has become one of the most important concepts in today's LLMs, so the book will cover it in two chapters instead of just one.
I just finished the first one. It is a 35-page introduction to inference-time scaling through self-consistency sampling. This chapter was a lot of fun to write because it takes the base model on MATH-500 all the way from 15.2% percent to 52.2% accuracy. Seeing that jump without additional training is incredibly satisfying. Submitted the chapter yesterday, and it should appear in the Manning Early Access program in the next few days. (In the meantime the first 176 pages that lead up to this chapter are already available.) The next chapter will focus on self-refinement techniques, where the model improves its own answers through iterative reasoning. Happy reading!
छवि लोड हो रही है…Ch 6 on RL with verifiable rewards is now available. Essentially GRPO from scratch, and probably my favorite chapter so far. (First 363 pages done, yay!)
I'm now working on the follow-up with more RLVR runs, more metrics & analyses, and extensions like policy clipping and KL (which were intentionally left out initially to keep the GRPO intro simple and REINFORCE-like). I also have a long list of 15 GRPO algorithmic tweaks queued to run... Fun times! Here's a link to the early access: https://t.co/vzCr5sTjrf Happy weekend!
छवि लोड हो रही है…Another really interesting paper from my 2025 bookmarked papers: On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Models (https://t.co/UjhiJW643U).
In short, RL is most effective when applied to data that is neither too close to nor too far from the pre-training distribution. If the data is too in-distribution, RL adds little beyond supervised training. If it is too far out-of-distribution, RL struggles because the model lacks the necessary priors. This has been known before, but it's nice to see it formalized with data and figures to reference.
छवि लोड हो रही है…Claude distillation has been a big topic this week while I am (coincidentally) writing Chapter 8 on model distillation.
In that context, I shared some utilities to generate distillation data from all sorts of open-weight models via OpenRouter and Ollama: https://t.co/IsfNDpcGAw https://t.co/LKXuGrjO84
Could be the start of a trend in new pre-training recipes: no LR decay phase anymore. (Also seen in Kolibri.)
Instead: constant LR + averaging the last N checkpoints (or a running weight average). I guess that makes it easier in practice because you don't have to commit to a total training length upfront. A little meta analysis based on those who share training details: - Classic cosine: Llama 3, OLMo 2, OLMo 3, GLM-4.5, GLM-5, Kimi K3, Phi-4 - WSD ("Warmup-Stable-Decay"): DeepSeek V3, DeepSeek V4, DeepSeek V4.1-Flash, Kimi K2, Kimi Linear, Nemotron 3 Nano, Nemotron 3 Super, SmolLM3, MiniMax M2 - No decay (constant LR plus checkpoint averaging): Kolibri-1, DatologyAI's models
छवि लोड हो रही है…Looks like we got a new DeepSeek model over the holidays (again) Basically pushes RLVR & self-refinement to gold-level scores on IMO 2025. Coincidentally, I am currently working on the self-refinement chapter, and this comes in handy as a nice, scaled-up case study. https://t.co/AaF1UxGWWO
छवि लोड हो रही है…Workful weekend! The follow-up chapter on GRPO improvements, building on the from-scratch intro, is coming together well. Running lots of experiments. Are there other techniques, beyond the ones below, that would be worth exploring? https://t.co/WtKKdUjJmE
छवि लोड हो रही है…On that note, I am currently running a large-scale experiment on the upcoming inference-scaling chapter:
A) Parallel Sampling - Self-Consistency (Majority Vote) - Rejection Sampling - Best-of-N (Verifier-Based) B) Sequential Refinement - Self-Refinement - Power Sampling - MCMC (Simple) - MCMC (Block as in "Reasoning with Sampling" paper) - Tree-of-Thought ... to decide which one(s) make(s) it for the detailed discussion into the main chapter versus which ones will be included as bonus materials. (All new chapters will of course be automatically available to all the early acessers, amd there are already 170 chapters to get started in the meantime 😊 Anything you'd think is worth adding to the list above?
उद्धृत पोस्ट खोलेंInteresting new insights into the old AdamW vs Muon debate: Muon seems to do better because it reduces memorization.
उद्धृत पोस्ट खोलेंWhat should we focus on, (more) LLM training or inference scaling? (A question I got asked multiple times now, so here are some thoughts.)
Training is usually very, very expensive, but it is a one-time cost. Inference-scaling is comparatively cheap, but it's a cost we pay at each query. Let's assume we have an LLM (or an LLM-powered application) that we want to improve 5% on a given benchmark or problem and do a simple thought experiment. Here are a few more assumptions: - We don't pass the extra cost for this improvement down to the customer. - We could either train the LLM longer for $5 million to achieve the 5%. - Or, for the same 5% improvement, we could pay $0.2 extra per query due to higher token usage. What strategy is better for our company? If you had to choose between the two, then it really depends on how many queries you (or the users) plan to run for the lifetime of that LLM. In this case, the break-even point is 5,000,000 dollars / 0.20 dollars per query = 25 million queries. For example, if each user runs 10 queries per day on average, we reach 25 million queries with about 25,000,000 / (10 per day) = 2.5 million user-days, which is roughly 7,000 daily active users for one year. If we have less than 7,000 daily users, or 7,000 users with less than 10 queries each day on average and plan to replace the LLM in about a year, then training is not worth it. Pro tip: You don't need to choose between the two, you can do both, more training and inference-scaling to get a >5% improvement :).
छवि लोड हो रही है…Memorization & distillation. Two sides of the same scaling coin.
उद्धृत पोस्ट खोलेंWanted to say this is because the competition focused on cheaper models. But that eve doesn't seem true. What seems more plausible is that teams with strong training pipelines and their own hardware can push much more aggressive inference-time scaling at low marginal cost? https://t.co/Zju9keeWEp
छवि लोड हो रही है…In reasoning model development, it's always been this interesting tension between training/optimizing chain-of-thoughts (CoTs) vs not touching them to preserve monitorability.
CoTs are cool because we can check what the model is up to (e.g., whether it cheats or not) as long as it spells out its thought process. And we risk losing that if we explicitly optimize CoTs. Two caveats: 1) I.e., the catch of CoT and monitorability is that this only works if the written thinking reflects what the model is actually doing. 2) Also, when models become more capable, they spell out less in the CoT (like a cleverer math student needs less note-taking when solving problems during an exam). Nothing new on that front, but an interesting thread below on how to measure "harder to monitor", with some interesting results that confirm the existing intuitions: 1) no-CoT capability (meaning how much reasoning the model can do in a single forward pass without writing anything down) - Better pretraining (lower perplexity) raises this no-CoT capability - Architecture mostly doesn't matter 2) CoT controllability (meaning how well the model can change its written reasoning when asked to add, remove, or change parts of it) - RL alone raises controllability a lot - Controllability is passed on through distillation * Higher no-CoT capability and higher controllability both make monitoring harder. PS: Perhaps the good news is that it seems that process supervision wasn't the main culprit.
उद्धृत पोस्ट खोलेंI ran lots of experiments on fp16 vs bf16 years ago on ViTs and LLMs. fp16 can work well but depends on normalization (so you don’t run over the supported range with your activations). I can see why with QKNorm and other tricks it may work fine (/better) now.
उद्धृत पोस्ट खोलेंCharts like this (from the GPT-5 announcement) are great: Underlines once more that the biggest leaps this year come from (RL for reasoning) training methods https://t.co/2SPNqo19DX
छवि लोड हो रही है…- पोस्ट
- 25
- पोस्टों का साझाकरण
- 11.9%
- औसत पसंद
- 907
- उच्चतम गुणक
- 5.0×
Other
https://t.co/HH23b6VZ6O
https://t.co/GV9DTkesul
https://t.co/5RF7KRzZeu
Turns out Fable 5 is shadowbanning AI researchers 🫤
उद्धृत पोस्ट खोलेंRe today's incident, maybe not a bad idea to check your settings (Settings → Data Controls) https://t.co/QHLPaJWoCZ
छवि लोड हो रही है…https://t.co/7JkJxiUPv6
https://t.co/L4s34f28oX
It only took 13 years, but dark mode is finally here https://t.co/8FhMfL72Tl https://t.co/YSCsWHPOsu
छवि लोड हो रही है…Just wanted to say Happy Thanksgiving! 🦃
I'll be back in December with some cool LLM-related analyses in the pipeline. In the meantime, you know where to find my blog if you have some time for reading! https://t.co/h7LN08eIPC
छवि लोड हो रही है…Too soon.
This AI moment is turning out to be more entertaining than AlphaGo 😆
उद्धृत पोस्ट खोलेंWhich one? https://t.co/cPT2hnpXKg
छवि लोड हो रही है…Shipping without the drama is an underrated skill
उद्धृत पोस्ट खोलेंSLOP = Ships Lots Of Products
उद्धृत पोस्ट खोलेंHappy Thanksgiving to you too! 🫠 https://t.co/929tmY0j4y
छवि लोड हो रही है…TIL Cursor was literally named by the devs after all the cursing it caused when it trashed their own codebase.
Just stumbled across a blog post I wrote almost exactly 10 years ago on my “productivity hacks.” Made me cringe a bit but also feels like a gift from past-me to present-me.
Still using the writing checklist today—funny enough, it even had a note about properly using em dashes 😄 https://t.co/XUDfrRNvZT
छवि लोड हो रही है…What could possibly go wrong? https://t.co/ri6atMXFIL
छवि लोड हो रही है…Regression to the mean
उद्धृत पोस्ट खोलेंHome stretch! https://t.co/MNd8i1N79U
छवि लोड हो रही है…Spontaneous morning chat with Juergen Schmidhuber and Jake Newfield philosophizing about AI.
Sry my mic somehow disconnected but Juergen had the more interesting points anyways!
उद्धृत पोस्ट खोलेंI have a soft spot for good math books! 📚
उद्धृत पोस्ट खोलेंSeb's Law, co-signed by another Seb
उद्धृत पोस्ट खोलेंBenchmarks loved it. https://t.co/zUOJP9YOZS
छवि लोड हो रही है…- पोस्ट
- 23
- पोस्टों का साझाकरण
- 11.0%
- औसत पसंद
- 414
- उच्चतम गुणक
- 3.1×
From-Scratch Implementation and PyTorch Teaching
Couldn't resist. Here's a pure PyTorch from-scratch re-implementation of Gemma 3 270M in a Jupyter Notebook (uses about 1.49 GB RAM): https://t.co/M2f8EB0KBE https://t.co/9vF9U29pWh
छवि लोड हो रही है…A small Qwen3.5 from-scratch reimplementation for edu purposes: https://t.co/OnupgeE55l
(probably the best "small" LLM today for on-device tinkering) https://t.co/LwyF8x6sle
छवि लोड हो रही है…If you're getting into LLMs, PyTorch is essential. And lot of folks asked for beginner-friendly material, so I put this together: PyTorch in One Hour: From Tensors to Multi-GPU Training (https://t.co/NWeQan8HJ3) 📖 ~1h to read through 💡 Maybe the perfect weekend project!?
I’ve spent nearly a decade using, building with, and teaching PyTorch. And in this tutorial, I try to distill what I believe are the most essential concepts. Everything you need to know to get started, and but nothing more, since your time is valuable, and you want to get to building things!
So, I did some coding this week... - Qwen3 Coder Flash (30B-A3B) - Mixture-of-Experts setup with 128 experts, 8 active per token - In pure PyTorch (optimized for human readability) - in a standalone Jupyter notebook - Runs on a single A100 https://t.co/3AGFdfoKYJ
छवि लोड हो रही है…Implemented Olmo 3 from scratch (in a standalone notebook) this weekend! If you are a coder, probably the best way to read the architecture details at a glance: https://t.co/wF8PkoDuBe https://t.co/rvXJJ5FZ3r
छवि लोड हो रही है…Added a DeepSeek Sparse Attention (DSA) from-scratch implementation to my LLMs-from-scratch repo thanks to an awesome new reader contrib. With motivation, overview, and GPT-style model reference implementation as standalone example code: https://t.co/o2PMhjF0TN https://t.co/jjKyt3aPcR
छवि लोड हो रही है…Tiny Aya reimplementation From Scratch!
Have been reading through the technical reports of the recent wave of open-weight LLM releases (more on that soon). Tiny Aya (2 days ago) was a bit under the radar. Looks like a nice, small 3.35B model with strongest multilingual support of that size class. Great for on-device translation tasks. Just did a from-scratch implementation here: https://t.co/6KEV0DfVQu Architecture-wise, Tiny Aya is a classic decoder-style transformer with a few noteworthy modifications (besides the obvious ones like SwiGLU and Grouped Query Attention): 1. Parallel transformer blocks. A parallel transformer block computes attention and MLP from the same normalized input, then adds both to the residual in one step. I assume this is to reduce serial dependencies inside a layer to improve computational throughput. 2. Sliding window attention. Specifically, it uses a 3:1 local:global ratio similar to Arcee Trinity and Olmo 3. The window size is also 4096. Also, similar to Arcee, the sliding window layers use RoPE whereas the full attention layers use NoPE. 3. LayerNorm. Most architectures moved to RMSNorm as it's computationally a bit cheaper and performs well. Tiny Aya is keeping it more classic with a modified version of LayerNorm (the implementation here is like standard LayerNorm but without shift, i.e., bias, parameter).
छवि लोड हो रही है…A little talk on what we can learn from implementing LLM architectures from scratch in Python and PyTorch. And how I approach new open-weight models, compare them against reference implementations etc: https://t.co/crKd2l9xGg
Just a bit of weekend coding fun: A memory estimator to calculate the savings when using grouped-query attention vs multi-head attention (+ code implementations of course).
🔗 https://t.co/rxYQA017vm Will add this for multi-head latent, sliding, and sparse attention as well. https://t.co/V19eGLEICO
छवि लोड हो रही है…Yes, it’s popular to hate on tokenizers but it’s still useful to know about them.
Haven’t shared this before, but I have an from scratch BPETokenizer I coded up last year: https://t.co/sDAjxSkUuf (Karpathy also has an excellent video covering some of the other bits)
Really liking the chainlit open source lib for building a quick but nice chat interface for any LLM. Here are some quick single and multi-turn examples for my Qwen3 from-scratch models: https://t.co/XnVaGVHPk8 https://t.co/Y0LlVJz0yK
Nice case study on using optimized functions whenever possible (except for educational purposes, though 😆)
उद्धृत पोस्ट खोलें- पोस्ट
- 12
- पोस्टों का साझाकरण
- 5.7%
- औसत पसंद
- 1,445
- उच्चतम गुणक
- 4.1×
खाता स्थिति
Machine learning and AI research engineer, technical author, former statistics professor. Centered on the "build from scratch" methodology, systematically explaining large language model architectures, reasoning model training (inference-time scaling, reinforcement learning, distillation), and PyTorch practice, and delivering educational content to developers and learners through books, GitHub open-source repositories, and video courses.
सामग्री रणनीति
Following the cadence of open-weight model releases, producing architecture breakdowns and side-by-side comparisons (attention variants, MoE, hybrid architectures, positional encoding, etc.) at the earliest opportunity, paired with from-scratch PyTorch implementations and reproducible code; forming an "article—code—course" loop through book early-access chapters, video lectures, and GitHub repositories; interspersing commentary on benchmarks, industry trends, and ways of using AI, maintaining both technical depth and instructional readability.
One-sentence judgment
This is a typical "educational technical creator + independent author" content flywheel: it uses frontier open-source model releases as traffic entry points, builds professional trust through architecture breakdowns and "from-scratch implementations," and then channels the traffic into long-form articles, GitHub, books, video courses, and conferences/podcasts. It is not a news aggregator account, nor a pure-opinion KOL; rather, it treats "I read the report, I drew the architecture diagram, I wrote the code, I ran the experiments" as the core asset of content credibility.
1. Account positioning: not "AI news," but "reproducible technical explanation"
The account bio is very clear: ML/AI research engineer, former statistics professor, author of Build a Large Language Model From Scratch and a reasoning model book. With 545k followers, the content does not take the "breaking news + emotion" route, but consistently revolves around several stable tags:
- LLM architectures: MLA, GQA, MoE, sliding window attention, Mamba-2, Gated DeltaNet, Kimi Delta Attention, DeepSeek Sparse Attention, etc.;
- From-scratch implementation: PyTorch, standalone notebook, runnable on a single GPU;
- Reasoning model training: inference-time scaling, self-consistency, self-refinement, RLVR, GRPO, distillation;
- Open-weight ecosystem: Kimi, Qwen, Gemma, DeepSeek, GLM, Nemotron, Olmo, MiniMax, etc.;
- Local deployment and hardware: Mac Mini, DGX Spark, local coding agent;
- Educational products: books, video courses, GitHub repositories, conference talks.
This gives the account a strong "tool-like" quality: readers are not here for spectacle, but to bookmark, follow along, use for model selection, and understand internal model mechanisms.
2. Content pillars: five content types with clear division of labor
| Content type | Role | Typical posts/evidence |
|---|---|---|
| Architecture breakdowns and model comparisons | Core moat, establishes the "technical explainer" identity | The Big LLM Architecture Comparison, LLM Architecture Gallery, Kimi K3, Gemma 4, Nemotron 3, GLM-5.2, etc. |
| From-scratch implementation/code tutorials | High bookmarks, high trust, directly connects to GitHub and books | "PyTorch in One Hour" 2,422 likes, 3,409 bookmarks; Gemma 3 270M from-scratch implementation 3,752 likes, 3,659 bookmarks; Olmo 3, Qwen3.5, Tiny Aya reimplementations |
| Reasoning models and training methods | Carries the "Reasoning From Scratch" product line | Inference scaling, self-consistency, self-improvement, GRPO, RLVR, distillation chapters and videos |
| Open weights and local deployment | Close to developers' practical needs, expands audience | Local coding agents guide 2,332 likes, 2,465 bookmarks; DGX Spark vs Mac Mini; local LLM ecosystem roundup |
| Opinions and industry commentary | Provides personality, discussion, and light exposure | "2027 job roles," benchmaxxing, benchmark criticism, AI and skills, pacing discussion |
| Personal/product updates | Conversion and community maintenance | New book publication, chapter releases, PyTorch Conference, podcasts, GitHub 100k stars |
Among these, the first three truly drive growth. Opinion posts are responsible for "breaking out" and personalization, but are not the backbone of the account.
3. Topic selection and posting cadence: model-release-driven + fixed serialized accumulation
The account's cadence clearly follows a "dual-track system":
1. Event-driven: rapid follow-up after new model releases
After releases such as Kimi K2, gpt-oss, Qwen3, Gemma 3/4, DeepSeek V3.2/V4, GLM-5/5.1/5.2, Kimi K3, and Nemotron 3, the account usually quickly posts:
- a short comment or key difference;
- an architecture comparison diagram;
- followed by links to long-form articles, the Gallery, or code notebooks.
For example, the short post on Kimi K2 received about 550k views; the Kimi K3 architecture long post received 4,063 likes and 2,401 bookmarks. This funnel of "release-day reaction → architecture diagram → in-depth article" captures timely traffic while precipitating it into long-term assets.
2. Product-driven: books/videos/chapters form a fixed serial
Build a Reasoning Model From Scratch, from chapter releases and video explanations to final publication, formed a content line lasting several months. Video posts include detailed timestamps, lowering the consumption barrier; chapter releases create "following the series" expectations. GitHub milestones, fork counts, and star counts are also turned into community narratives.
The benefit of this dual-track system is: hot topics bring in new users, while serials provide retention and conversion.
4. Format strategy: diagrams, code, lists, long-form articles—all "bookmarkable units"
The high-engagement content on this account shares one thing: very high bookmark rates, sometimes with bookmark counts exceeding like counts.
- "PyTorch in One Hour": 2,422 likes, 3,409 bookmarks;
- Free release of 30 chapters of Machine Learning Q and AI: 1,968 likes, 2,300 bookmarks;
- Local coding agents guide: 2,332 likes, 2,465 bookmarks;
- Gemma 3 270M from-scratch implementation: 3,752 likes, 3,659 bookmarks;
- LLM Architecture Gallery: 8,071 likes, 7,704 bookmarks, 1,427 reposts.
This shows users treat it as a "reference library" rather than "entertainment content." The corresponding format strategy is:
- Architecture diagrams/comparison charts: explain model differences clearly in one image, naturally suited to reposts and bookmarks;
- Standalone notebook: emphasizes "runnable, single GPU, pure PyTorch, readability first";
- Long-form article + diagrams + code links: treats X as a distribution entry point, not the final载体 (carrier);
- Videos + timestamps: breaks long content into skippable learning units;
- Lists/timelines: such as "the 2025 LLM training era" and "Open October ten-post streak," reducing information overload.
In terms of writing style, it often uses first person, specific numbers, qualifications, and caveats. For example, when discussing HRM/TRM, it explicitly says "comparing with LLMs is not quite fair"; when recommending Lightning AI, it states "not a sponsored post." This practice of "acknowledging boundaries" is an important source of technical trust.
5. Growth and interaction mechanisms: replacing "strong opinions" with "verifiability"
The account's interaction data shows clear "tool-type content" characteristics: likes are not necessarily the highest, but bookmarks and reposts stand out. The growth mechanism can be broken into four layers:
- Professional anchor: architecture diagrams and from-scratch implementations are differentiated supply that ordinary AI news accounts find hard to replicate;
- Release timeliness: provides architecture interpretations within 24–72 hours after a new model release, capturing search and timelines;
- Reusable assets: the Gallery, comparison articles, and GitHub repos are continuously cited, forming long-tail traffic;
- Community participation: often ends with "what models did I miss?" "what other GRPO tricks are worth exploring?", turning readers into topic sources; also thanks PRs, forks, book reviews, and book clubs.
It does not rely on controversial confrontation, but occasionally uses light opinion posts to spark discussion, such as "benchmarks are like IQ tests," "Claude Code uses 2–3x tokens," and "2027 job role changes." These posts get high views but low bookmarks, indicating they mainly serve exposure rather than accumulation.
6. Monetization path: soft, transparent, productized
The account's monetization/conversion path is very restrained, basically following the logic of "free content builds trust → paid products capture it":
- Books: Manning early access, Amazon preorders, book signings, book club Q&A;
- Video courses/companion courses: paired with book chapters;
- GitHub: free code repositories as trust infrastructure;
- Conferences/podcasts: PyTorch Conference, Lex Fridman, Vanishing Gradient, etc., reinforcing industry position;
- Collaborations/recommendations: Lightning AI, Readsail, etc., but with "non-sponsored" disclaimers or relationship disclosures.
Notably, the account rarely does hard advertising. Even for its own books, promotions often appear as service-oriented content such as "chapter release," "errata," and "printing quality notice." This overlap between "author identity" and "educator identity" makes promotion less abrupt, but also means monetization is highly dependent on personal brand and product reputation.
7. Potential risks and areas for improvement
- High technical barrier: a large number of terms (MLA, DSA, KDA, mHC, LatentMoE) are unfriendly to general AI audiences. Could add "tiered entry points": one architecture diagram for experts, one analogy-based explanation for beginners.
- Dependence on model release cycles: when hot topics are dense, it can easily become a "roundup流水账" (running account), diluting depth. Should maintain "few but deep" flagship breakdowns, with roundups as indexes rather than main courses.
- Product promotion density: promotion is concentrated during book and course launch periods; need to continue balancing with free chapters, code, and errata.
- Boundaries of opinion posts: topics like benchmaxxing, pacing, and watermark can bring traffic, but may also pull the account toward "commentator" rather than "educator." Currently well controlled; recommend keeping frequency low.
- Platform dependence: core assets are on X, but long-form articles, the Gallery, GitHub, and books are scattered externally. Could further direct X traffic to an email list or a self-owned index page to reduce platform risk.
8. Summary of transferable strategies
The account's content strategy can be summarized as:
Use frontier model releases as "traffic hooks," architecture diagrams and from-scratch implementations as "trust hooks," books/courses/GitHub as "conversion hooks," and the long-maintained Gallery and series articles as "compound assets."
Specific reusable actions:
- Build 1–2 deep content pillars that are "hard for others to replace";
- Within 48 hours of a hot topic, provide "diagram + key differences + long-form link";
- Break each long-form article into bookmarkable diagrams, lists, and code notebooks;
- Use "I implemented it / I ran it / I read the report" to build credibility;
- Let free content handle customer acquisition and products handle monetization, maintaining transparency in promotion;
- Use reader questions, PRs, and book reviews to feed back into topic selection, forming a community loop.
Overall, this is an account with educational value at its core, the open-source ecosystem as material, and personal brand as leverage. Its strength is not "being the fastest," but "being the most verifiable, most reproducible, and most accumulative."
प्रदर्शन अवलोकन
- प्रदर्शन0.4 पोस्ट/दिन · 105K व्यू · 1.25K लाइक/पोस्ट · 1.39% सगाई।
- सामग्रीमुख्य विषय Open-Source Large Model Architecture Analysis and Comparison है, प्रत्येक 7.9 दिनों में एक पोस्ट के साथ, 31.4% पोस्ट का लेखा-जोखा।
- शीर्ष पोस्ट
Sebastian Raschka के सामग्री स्तंभ क्या हैं, और वे कैसा प्रदर्शन करते हैं?
मुख्य कंटेंट विषय वे विषय हैं जिन पर कोई अकाउंट नियमित रूप से पोस्ट करता है। Sebastian Raschka के मुख्य कंटेंट विषयों में Open-Source Large Model Architecture Analysis and Comparison, Model Evaluation, Benchmarks, and Industry Observations, और Books, Courses, and Video Series शामिल हैं।
प्रत्येक विषय के पोस्ट के शेयर की तुलना उसके लाइक के शेयर से करें। बॉक्सिंग अनुपात प्रति पोस्ट विषय के औसत की तुलना खाता औसत से करता है; उच्चतर का अर्थ है बेहतर औसत प्रदर्शन।
Sebastian Raschka का मुख्य सामग्री स्तंभ Open-Source Large Model Architecture Analysis and Comparison है, जो इसके पोस्ट का 31.4% है। Architecture breakdowns and side-by-side comparisons of open-weight models such as DeepSeek, Qwen, Kimi, Gemma, GLM, and Nemotron, covering attention variants, MoE, hybrid architectures, positional encoding, and efficiency optimization. उदाहरण के लिए: I (finally) put together a new LLM Architecture Gallery that collects the archit↗, प्रकाशित 2026-03-15, 8.07K लाइक(8.9×) के साथ।
Sebastian Raschka के लिए एक असाधारण सामग्री स्तंभ From-Scratch Implementation and PyTorch Teaching है: 5.7% पोस्ट लाइक के 7.4% का योगदान करते हैं, 1.3× खाता औसत पर प्रति पोस्ट औसत लाइक के साथ। Reproducing LLM components and models from scratch in pure PyTorch/Jupyter, accompanied by GitHub repositories, tutorial articles, and code walkthroughs, intended for learning and teaching purposes. उदाहरण के लिए: Couldn't resist. Here's a pure PyTorch from-scratch re-implementation of Gemma ↗, प्रकाशित 2025-08-17, 3.75K लाइक(4.1×) के साथ।
समय के साथ Sebastian Raschka की पोस्ट का प्रदर्शन कैसे बदलता है?
Sebastian Raschka के लाइक के उच्चतम मान 15 मार्च 2026 और 30 जून 2026 को दर्ज हुए। संबंधित मूल पोस्ट नीचे दी गई हैं।
प्रत्येक बिंदु एक पोस्ट है: दूर दाईं ओर अधिक नवीनतम है, और उच्चतर का अर्थ बड़ा मान है।
लाइक द्वारा शीर्ष पोस्ट: I (finally) put together a new LLM Architecture Gallery that collects the architecture figures all i↗· 8.07K(8.9× मध्यिका) · After 18 months of writing, coding, and experimenting, Build a Reasoning Model (From Scratch) is fi↗· 5.94K(6.6× मध्यिका)
Sebastian Raschka के कंटेंट फ़ॉर्मैट का प्रदर्शन कैसा है?
छवियाँ, Sebastian Raschka का सबसे अधिक प्रकाशित फ़ॉर्मैट है, जो कुल पोस्ट का 42.9% है।
पोस्ट को लाइक द्वारा समूहीकृत किया गया है: अधिक दाईं ओर का अर्थ है बेहतर प्रदर्शन; लम्बी पट्टियों का अर्थ है अधिक पोस्ट।
वीडियो फ़ॉर्मैट की पोस्ट का औसत लाइक, छवियाँ फ़ॉर्मैट की पोस्ट का 0.66 गुना है। वीडियो फ़ॉर्मैट की पोस्ट का माध्यिका लाइक, छवियाँ फ़ॉर्मैट की पोस्ट का 0.81 गुना है।
उदाहरण के लिए: Updated & turned my Big LLM Architecture Comparison article into a narrated ↗, प्रकाशित 10 सित॰ 2025, 2.55K लाइक(2.8×) के साथ।
उदाहरण के लिए: I (finally) put together a new LLM Architecture Gallery that collects the archit↗, प्रकाशित 15 मार्च 2026, 8.07K लाइक(8.9×) के साथ।
Sebastian Raschka की कौन-सी पोस्ट सामान्य प्रदर्शन से बेहतर हैं?
Sebastian Raschka की सबसे बेहतर पोस्ट को 8,071 लाइक मिले, जो अकाउंट की प्रति पोस्ट माध्यिका का 8.9 गुना है।
सबसे बेहतर 5% पोस्ट, लाइक का 20.6% योगदान देती हैं।
I (finally) put together a new LLM Architecture Gallery that collects the architecture figures all i ↗ · 8,071 लाइक · 8.9× प्रति पोस्ट माध्यिका
After 18 months of writing, coding, and experimenting, Build a Reasoning Model (From Scratch) is fi ↗ · 5,938 लाइक · 6.6× प्रति पोस्ट माध्यिका
Sebastian Raschka के व्यू और सहभागिता दर
Sebastian Raschka की सबसे अधिक व्यू वाली पोस्ट और सबसे अधिक सहभागिता दर वाली पोस्ट अलग हैं।
x-अक्ष पर दृश्य, y-अक्ष पर सहभागिता दर; लॉग स्केल और माध्यिका विभाजक · 210 युग्मित अवलोकन · बिंदु क्षेत्र पोस्ट गिनती दिखाता है; पूर्वावलोकन करने के लिए होवर करें, पिन करने के लिए क्लिक करें
सबसे अधिक देखी गई पोस्ट को 9,82,135 व्यू और लाइक, जवाब व रीपोस्ट मिलाकर 5,410 सहभागिताएँ मिलीं; व्यू के आधार पर सहभागिता दर 0.55% है। मूल पोस्ट देखें ↗
सबसे अधिक सहभागिता दर वाली पोस्ट को 69,249 व्यू और लाइक, जवाब व रीपोस्ट मिलाकर 2,354 सहभागिताएँ मिलीं; व्यू के आधार पर सहभागिता दर 3.4% है। मूल पोस्ट देखें ↗
Sebastian Raschka की पोस्ट में बार-बार आने वाले शब्द और वाक्यांश
दो-शब्द वाक्यांश मोड में llm architecture, reasoning model, sparse attention, और head latent सबसे अधिक दिखाई देते हैं।
; ; ;
वर्ड क्लाउड
पोस्ट कवरेज · 210 पोस्ट · 0 / 100 शब्दसमय विश्लेषण
X पर Sebastian Raschka का पोस्टिंग कैलेंडर
2025/06/27— 2026/11/30· 76 सप्ताहSebastian Raschka ने सबसे अधिक 12 नव॰ को पोस्ट किया, कुल 3 पोस्ट।
वर्तमान अवधि में सबसे अधिक पोस्ट 12 नव॰ को हुईं: 3। उस दिन सबसे अधिक पसंद की गई पोस्ट को 727 लाइक मिले। मूल पोस्ट देखें ↗
Sebastian Raschka पोस्ट करने वाले दिनों में औसतन 1.1 पोस्ट करता है, या 27 जून 2025–30 नव॰ 2026 की पूरी अवधि में प्रति सप्ताह 2.8 पोस्ट।
समय के साथ Sebastian Raschka की पोस्ट का प्रदर्शन कैसे बदलता है?
Sebastian Raschka के लाइक के उच्चतम मान 15 मार्च 2026 और 30 जून 2026 को दर्ज हुए। संबंधित मूल पोस्ट नीचे दी गई हैं।
प्रत्येक बिंदु एक पोस्ट है: दूर दाईं ओर अधिक नवीनतम है, और उच्चतर का अर्थ बड़ा मान है।
लाइक द्वारा शीर्ष पोस्ट: I (finally) put together a new LLM Architecture Gallery that collects the architecture figures all i↗· 8.07K(8.9× मध्यिका) · After 18 months of writing, coding, and experimenting, Build a Reasoning Model (From Scratch) is fi↗· 5.94K(6.6× मध्यिका)
X पर Sebastian Raschka के लिए पोस्ट करने का सबसे अच्छा समय
Sebastian Raschka की उच्चतम औसत पसंद सोम 16:00–20:00 UTC विंडो में होती है; ज्ञात पसंदों के साथ कम से कम तीन पोस्ट वाली विंडोज़ में, मंगल 20:00–24:00 UTC अग्रणी है।
UTC · 4-घंटे समूह · सेल मान और रंग की तीव्रता प्रति पोस्ट औसत पसंद दिखाती है; नमूना गणना के लिए होवर करें · सटीक टाइमस्टैम्प के साथ 210 पोस्ट
औसत पसंद के आधार पर Sebastian Raschka की उच्चतम प्रदर्शन वाली पोस्टिंग विंडो सोम 16:00–20:00 UTC है: ज्ञात पसंद के साथ 1 पोस्ट पर औसत 2,299 पसंद है। एक प्रतिनिधि पोस्ट खोलें ↗
ज्ञात पसंद वाली कम से कम तीन पोस्ट वाली विंडो में, Sebastian Raschka मंगल 20:00–24:00 UTC पर सबसे अच्छा प्रदर्शन करता है: ज्ञात पसंद वाली 3 पोस्ट पर औसत 1,736 पसंद करता है। एक प्रतिनिधि पोस्ट खोलें ↗
Sebastian Raschka की साप्ताहिक पोस्ट संख्या और लाइक
सबसे अधिक 9 पोस्ट 9 नव॰–15 नव॰ में हैं; लाइक की सबसे अधिक माध्यिका 29 जून–5 जुल॰ में है, जो 1 पोस्ट पर आधारित है।
यूटीसी कैलेंडर सप्ताह · शीर्ष: पोस्ट गिनती; नीचे: प्रति पोस्ट औसत पसंद (संग्रह पर संचयी) · तिथियों और नमूना गणना के लिए होवर करें
9 नव॰–15 नव॰ में 9 पोस्ट हैं, प्रति पोस्ट लाइक की माध्यिका 727 है। मूल पोस्ट देखें ↗
29 जून–5 जुल॰ में लाइक की सबसे अधिक माध्यिका 5,938 है, जो ज्ञात लाइक वाली 1 पोस्ट पर आधारित है। मूल पोस्ट देखें ↗
Sebastian Raschka के सामग्री विषयों पर लाइक समय के साथ कैसे बदलते हैं?
27 फ़र॰–10 मई समूह में Open-Source Large Model Architecture Analysis and Comparison विषय को सबसे अधिक लाइक मिले हैं; अगले 13 मई–9 जुल॰ समूह में Open-Source Large Model Architecture Analysis and Comparison विषय सबसे आगे है।
लगभग 20 लगातार पोस्ट के समूह; समान टाइमस्टैम्प एक साथ रहते हैं · प्रत्येक सेल वास्तविक समूह सीमा के अनुसार दिनांकित कुल ज्ञात पसंद दिखाता है
27 फ़र॰–10 मई समूह में Open-Source Large Model Architecture Analysis and Comparison को कुल 23,337 लाइक मिले। मूल पोस्ट देखें ↗
13 मई–9 जुल॰ समूह में Open-Source Large Model Architecture Analysis and Comparison को कुल 8,622 लाइक मिले। मूल पोस्ट देखें ↗
Sebastian Raschka की सामग्री रणनीति से जुड़े सवाल
Sebastian Raschka की सामग्री के मुख्य विषय क्या हैं?
मुख्य विषयों में Open-Source Large Model Architecture Analysis and Comparison, Model Evaluation, Benchmarks, and Industry Observations, Books, Courses, and Video Series, और Reasoning Models and Reinforcement Learning Training शामिल हैं।
सामग्री के विषय देखें ↗Sebastian Raschka के किन विषयों का लाइक योगदान उनके पोस्ट के हिस्से से अधिक है?
From-Scratch Implementation and PyTorch Teaching का पोस्ट में हिस्सा 5.7% और लाइक में हिस्सा 7.4% है।
Reproducing LLM components and models from scratch in pure PyTorch/Jupyter, accompanied by GitHub repositories, tutorial articles, and code walkthroughs, intended for learning and teaching purposes.
उदाहरण के लिए: Couldn't resist. Here's a pure PyTorch from-scratch re-implementation of Gemma 3 270M in a Jupyter ↗
विषय का प्रदर्शन देखें ↗X पर Sebastian Raschka के किन पोस्टिंग समयों में लाइक की माध्यिका सबसे अधिक है?
सोमवार 16:00–20:00 UTC में एक पोस्ट के आधार पर लाइक की सबसे अधिक माध्यिका 2,299 है। ज्ञात लाइक वाली कम से कम तीन पोस्ट के समयों में मंगलवार 20:00–24:00 UTC सबसे आगे है: 3 पोस्ट और लाइक की माध्यिका 1,736।
पोस्ट करने का समय देखें ↗Sebastian Raschka की किस पोस्ट को सबसे अधिक लाइक मिले?
सबसे अधिक पसंद की गई पोस्ट को 8,071 लाइक मिले, जो Sebastian Raschka के प्रति पोस्ट लाइक की माध्यिका से लगभग 8.9 गुना हैं।
15 मार्च 2026 को प्रकाशित पोस्ट में लिखा है: “I (finally) put together a new LLM Architecture Gallery that collects the architecture figures all in one place!”।
मूल पोस्ट खोलें ↗Sebastian Raschka सबसे अधिक किन प्रारूपों में पोस्ट करता है, और वीडियो व चित्रों का प्रदर्शन कैसे अलग है?
छवियाँ, Sebastian Raschka का सबसे अधिक प्रकाशित प्रारूप है और कुल पोस्ट का 42.9% है।
वीडियो को चित्रों की तुलना में औसतन 0.51 गुना व्यू मिलते हैं; उनके व्यू की माध्यिका चित्रों से 0.84 गुना है।
सामग्री के प्रारूप देखें ↗Sebastian Raschka, X पर कितनी बार पोस्ट करता है?
इस रिपोर्ट की अवधि में Sebastian Raschka हर सप्ताह लगभग 2.8 पोस्ट करता है।
Sebastian Raschka सबसे अधिक इन दिनों पोस्ट करता है: मंगलवार (38 पोस्ट) और शनिवार (38 पोस्ट)।
सबसे अधिक पोस्ट 12 नवंबर 2026 को हुईं: 3।
पोस्टिंग कैलेंडर देखें ↗ViewSocial, Sebastian Raschka की सामग्री का विश्लेषण करने के लिए AI का उपयोग कैसे करता है?
AI पोस्ट को सामग्री के विषयों में बाँटता है। विषय का प्रदर्शन और मूल पोस्ट देखने के लिए उसे खोलें।
सामग्री के विषय देखें ↗