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.

Meta Engineering

How Meta Uses AI Agents to Scale ML Innovations Across Ads Ranking Models

Case study 10 min +100 XP

Meta uses AI agents to propagate proven ranking-model techniques (e.g. Wukong layers, Interformer, training optimizations) across a large, heterogeneous fleet of ads ranking models, where a technique rarely transfers without adaptation.

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

Hugging Face

Dharma Field Extractor: Any Document In, Structured Fields in JSON Out

Announcement 8 min +80 XP

Dharma-AI's Field Extractor is a 2B-parameter vision-language model, a LoRA adapter on DharmaOCR-LITE v1.1 trained on 43,384 field-annotated examples, that turns document images into typed JSON, either open-ended or filling a caller-supplied schema with nulls for missing fields.

Hugging Face

Palette: teaching a small model to build decks in your design language

Research 9 min +90 XP

Palette fine-tunes a 20B open-weight model with a single LoRA adapter to generate slide decks in a specific design language (IBM Design Language), splitting the work into a designer role that writes a structured JSON brief and a coder role that writes per-slide pptxgenjs code in parallel (about 6–7× faster).

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 Oct 5

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 21

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

ClickHouse

How Physical Intelligence unified its robotics data stack with Postgres managed by ClickHouse

Case study 16 min +160 XP

Physical Intelligence, a robotics foundation-model lab, split its data into raw petabyte-scale training data, transactional data needing ACID guarantees (under 100M rows), and high-cardinality metadata and annotations (10 to 100 billion rows).

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

The quest for software engineering knowledge.

Look:
Layout: