Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics AI & ML

Model training

Pre-training, fine-tuning, RL, distributed training, datasets.

Search within Model training, or combine it with other topics →

Last week

Week of Nov 16

Hugging Face

Introducing harness adapters: adapt your favorite model to your harness to improve performance and cost

Research 21 min +210 XP

RL-training a LoRA adapter for a specific agent harness and task distribution makes a frozen base model both more accurate and cheaper: Qwen3.8-27B under the pi harness rises from 39% to 55% pass@1 on Terminal-Bench 2.1 while average token usage drops from 2.9K to 1.5K per task, mostly because the model reasons less and calls fewer tools.

Hugging Face

Why your fine-tuning job takes longer than the FLOPs say

Research 9 min +90 XP

FLOP-based estimates of fine-tuning time (6·P·D divided by GPU throughput times MFU) explain little of real end-to-end duration: across 272 production SFT runs on shared H200 clusters (about 7,382 GPU-hours), the best MFU setting gives R² = 0.31 and a 12.41 h MAE, and the Calculon analytical model does worse.

Week of Nov 9

Hugging Face

The Definitive Fine-Tuning Guide for 3D Generation Models

How-to 17 min +170 XP

TRELLIS.2, an image-to-3D model built on sparse O-Voxel structured latents, can be specialized with LoRA adapters on just the stages that control shape: the dense sparse-structure flow DiT (rank 8, attention and MLP) and the sparse shape flow DiT (rank 16, attention), about 9.3M trainable parameters in total.

Meta Engineering

How We Built TLX: A Hardware-Native GPU Compiler for Production ML at Scale

Deep dive 17 min +170 XP

Triton Low-Level Extensions (TLX) add explicit warp-group, synchronization, memory and cluster-level orchestration to Triton, so engineers can use Hopper and Blackwell features such as TMA, TMEM, mbarriers and paired-CTA execution without dropping to CUDA.

Week of Nov 2

Week of Oct 26

Week of Oct 19

Week of Oct 12

Netflix TechBlog

Integrating Netflix’s Foundation Model into Personalization applications

Case study 7 min +70 XP

Netflix integrates its transformer-based personalization Foundation Model into production through three patterns: precomputed embeddings, embedding the model as a subgraph of downstream models, and fine-tuning it to power products directly.

Meta Engineering

Meta’s Generative Ads Model (GEM): Scaling the Central Model and Compute Engine for Frontier Ads AI

Case study 14 min +140 XP

Meta's 2026 GEM replaces per-surface ads ranking models with a single central recommendation foundation model trained across Facebook, Instagram, Reels and deep-funnel conversion objectives, reporting 18.9% conversion and 12% CTR gains.

Week of Sep 28

Mitigating memorization in LLMs

Research 6 min +60 XP

LLMs evaluated on historical prediction benchmarks can score well by recalling memorized outcomes from pretraining rather than reasoning, so an intern project measured and tried to mitigate this using a cricket match-preview dataset, comparing accuracy before and after the model's knowledge cutoff.

Week of Sep 14

Week of Sep 7

Week of Aug 31

Hugging Face

NeoMME: an efficient Multimodal-native and Multilingual Encoder

Research 11 min +110 XP

NeoMME is a family of 260M and 800M multilingual multimodal encoders that feed text tokens and raw 32×32 image patches through a single bidirectional Transformer, trained from scratch with a masked discrete-diffusion text objective instead of reusing a vision tower or causal LM.

Week of Aug 24

Hugging Face

Quantization-Aware Healing: a compressed, 4-bit model that outperforms its full-precision original

Research 12 min +120 XP

Quantization-Aware Healing (QAH) recovers structurally compressed, 4-bit LLMs by distilling directly from the original pre-compression model via KL divergence on logits, rather than from the recovered bfloat16 checkpoint or with a task loss as in QAT.

Meta Engineering

MTIA 300: Meta’s First Training Chip with Built-in NICs and Communication-Offloading Engines

Deep dive 5 min +50 XP

MTIA 300, Meta's in-house training accelerator for recommendation models, integrates two NIC chiplets with twelve 800 Gbps RDMA NICs on-package and adds 16 dedicated message engines, each with a RISC-V core, NIC interface and near-memory reduction block.

Week of Aug 17

Google Research

Seeing beyond BMI: Estimating cardiometabolic risk with smartphone imagery

Research 7 min +70 XP

PhotoScan, a ResNet-50-based model pre-trained on 35,323 UK Biobank MRI-derived projections and fine-tuned on 677 adults' smartphone photos with DXA ground truth, estimates body fat percentage, android-to-gynoid and visceral-to-subcutaneous fat ratios from 2D photos.

Week of Aug 10

Hugging Face

Making Knowledge Distillation Cheap Enough to Run at Scale

Research 8 min +80 XP

Two systems changes make LLM knowledge distillation far cheaper: caching the teacher's top-100 logits offline so the teacher never shares memory with the student, and a fused chunked KL loss that folds the output projection into the loss and recomputes chunks in the backward pass, so the full vocabulary × sequence logits grid is never materialized.

Week of Aug 3

Meta Engineering

From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta’s Ads Ranking

Case study 6 min +60 XP

Meta scales sequence learning for ads ranking by splitting it into two stages: an offline transformer user model processes thousands of user events asynchronously and caches user-level embeddings, and a lightweight online ranking model combines those embeddings with fresh signals and ad candidates under strict latency budgets.

Meta Engineering

GEM Training: How Meta Doubled the Efficiency of Its LLM-Scale Ads Foundation Model

Case study 21 min +210 XP

Meta doubled end-to-end training efficiency of GEM, its LLM-scale ads recommendation foundation model, to 20–25% MFU while scaling training FLOPs 4x in a year, by co-designing kernels, precision, parallelism, networking and memory.

Week of Jul 27

Week of Jul 20

Week of Jul 13

Week of Jul 6

Hugging Face

LeRobot v0.6.0: Imagine, Evaluate, Improve

Release 12 min +120 XP

LeRobot v0.6.0 targets the full robot learning loop. It adds world-model policies (VLA-JEPA, LingBot-VA, FastWAM) that use future prediction during training while keeping inference cheap, new VLAs (GR00T N1.7, MolmoAct2, EO-1, EVO1, Multitask DiT), and a unified reward models API with Robometer and zero-shot TOPReward.

Week of Jun 29

Week of Jun 22

Week of Jun 15

Week of Jun 1

Week of May 25

Week of May 11

Week of May 4

Week of Apr 27

Modal

Building an RL theorem-proving workflow on Modal

Case study 10 min +100 XP

AE Studio built a reinforcement-learning loop on Modal that trains an LLM to write Lean proofs, comparing Evolution Strategies (ES) against GRPO using Lean verification as the reward. vLLM generation runs on GPU workers fanned out with .map(), Lean verification runs in short-lived sandboxes so bad proofs can't crash the run, and model state is stored as a ~200-byte-per-iteration history of perturbation seeds and rewards that each worker replays onto base weights from a Volume.

Week of Apr 20

Hugging Face

DeepSeek-V4: a million-token context that agents can actually use

Deep dive 7 min +70 XP

DeepSeek-V4 (Pro: 1.6T total/49B active; Flash: 284B/13B active) is a MoE model family whose 1M-token context is made practical by a hybrid attention design that interleaves Compressed Sparse Attention (4x KV compression plus an FP4 lightning indexer selecting top-k blocks) with Heavily Compressed Attention (128x compression with dense attention), plus FP8 KV storage.

Together AI

Accelerate RL rollouts by up to 50% with distribution-aware speculative decoding

Research 5 min +50 XP

Distribution-aware speculative decoding (DAS) speeds up the rollout phase of LLM RL post-training, which can consume ~70% of training time due to long-tail straggler generations, while keeping outputs identical to standard decoding.

Week of Apr 13

Hugging Face

Ecom-RLVE: Adaptive Verifiable Environments for E-Commerce Conversational Agents

Research 12 min +120 XP

EcomRLVE-GYM extends RLVE from single-turn reasoning puzzles to multi-turn, tool-using e-commerce conversations, offering 8 environments (product discovery, substitution, cart building, returns, order tracking, policy QA, bundle planning, multi-intent journeys) with procedural generation and fully programmatic rewards.

Week of Apr 6

Week of Mar 30

The quest for software engineering knowledge.

Look:
Layout: