🤠 post-training @huggingface

Berne, Switzerland
Joined August 2018
We've just published the Smol Training Playbook: a distillation of hard earned knowledge to share exactly what it takes to train SOTA LLMs ⚡️ Featuring our protagonist SmolLM3, we cover: 🧭 Strategy on whether to train your own LLM and burn all your VC money 🪨 Pretraining, aka turning a mountain of text into a fancy auto-completer 🗿How to sculpt base models with post-training alchemy 🛠️ The underlying infra and how to debug your way out of NCCL purgatory Highlights from the post-training chapter in the thread 👇
22
91
27
500
147,510
"Carbon-X integrates both DNA and natural language in a conversational interface. Think of it like a ChatGPT for DNA." — @emilylmullin, @WIRED wired.com/story/hugging-face…
Introducing Carbon-X: The best open DNA model. We midtrained a 14B model on DNA and text, and it beats every open language model and matches GPT-6.1 Sol at 1,000x lower cost. Ask it about a sequence, what a mutation does, or to generate new DNA. huggingface.co/HuggingFaceBi…
1
75
Today we're releasing Carbon-X, a 14B model that brings DNA and natural language together for the first time 🧬 1. Beats every open language model we tested across DNA benchmarks. Within a point of GPT-6.1 Sol at >1,000× lower inference cost. 2. Mid-trained on 300B tokens of interleaved DNA and text, followed by SFT (without distillation!) and RL. 3. A new hybrid tokenizer encodes DNA using ~3× fewer tokens than BPE. 4. Gives other models a DNA specialist subagent: Kimi K3 gains 11.1 points when it consults Carbon-X. 5. Runs locally on a laptop with llama.cpp. Apache 2.0. Your DNA stays on your hardware. Model: huggingface.co/HuggingFaceBi… Blog: huggingface.co/spaces/Huggin…
Introducing Carbon-X: The best open DNA model. We midtrained a 14B model on DNA and text, and it beats every open language model and matches GPT-6.1 Sol at 1,000x lower cost. Ask it about a sequence, what a mutation does, or to generate new DNA. huggingface.co/HuggingFaceBi…
21
20
10
114
9,076
Nice release and proof you can still innovate in the sub-100B regime! It would be extremely cool to see what the time-horizon chart looks like for the training of Flint by Eureka (image below from OpenAI's internal use). This would be the most compelling evidence that Recursive is living up to it's name :)
Introducing Flint, @Recursive_SI’s first model: a fast local coding model built with our automated research system, the Eureka Machine. • Best-in-class fast local coding • Up to 2x faster than comparable models: 125+ tokens/sec on a MacBook Pro, 150+ on RTX Spark • Built from scratch in under 4 months Private, unmetered intelligence on your own machine. Open weights available now on @huggingface, run it locally on your favorite framework or try it for free on @opencode or @pidotdev.
2
16
1,666
Lewis Tunstall retweeted
Even Microducks need a nap. 😴
136
341
102
3,462
425,585
100% recommend if you're like me and can't remember which permutation of device x repo x agent your sessions live on
Agent Manager is finally out! Orchestrate dozens of agents across harnesses (Claude Code, Codex, OpenCode etc.) effortlessly. Agents communicate and self-organize to help you achieve complex tasks and always keep running on HF spaces. Try it: huggingface.co/spaces/lvwerr…
1
14
1,968
Lewis Tunstall retweeted
.@huggingface is being acquired by @nvidia. But!! GPUs aren't the only option for fine-tuning LLMs! TRL v1.16 now supports AWS Trainium! 🚀 Fine-tune (vision-)language models with TorchNeuron, and get up to 2× faster training on Trainium2 with smarter sequence-length handling. Open AI needs hardware choice. 🤗 🔗 huggingface.co/docs/trl/aws_…
2
8
45
1,583
The IPO paper is about to get 1000x more citations ;)
Today we're releasing prime-rl v0.10.0 and verifiers v0.4.0 We added our new RL algorithm IPO as the default, tailored for async RL stability, as well as performance improvements and new model support
4
8
1
266
23,011
Lewis Tunstall retweeted
Rejoice! OpenAI has graciously decided OpenCode may defend itself against an ongoing attack. Their beneficence is infinite and their mercy is boundless, so if they don’t extended it to you look inwards and consider why you are unworthy.
Replying to @AndrewCurran_
sounds like it was a fairly modest hindrance that was quickly resolved by being granted access to a trusted access program, so seems ~fine versus the cost of enabling sustained autonomous cyberattacks?
6
13
2
180
10,724
Lewis Tunstall retweeted
The math community deserves its own AI system. Introducing Open Math OS: the infrastructure for Math 2.0. Open models and AI agents. 24/7 cloud compute with 100+ tools. The community controls its data. Compute is free for approved teams. Apply now: openmathmodel.org/
29
95
16
495
97,780
Lewis Tunstall retweeted
One of the worst things a company can do is to publish blogs that are obviously completely AI-written. Shows 0 respect to people who are interested in your company, and the piece is purely to farm good PR from people who will only read the title
3
1
118
4,672
Lewis Tunstall retweeted
This is wild... (And terrifying!) I'd love to see a bunch of investigation into what's going on in these transcripts, it's nice to have the really weird stuff be in an open weight model
We have never seen a model do this before, but GLM-5.3 sometimes reasons (unprompted) about how its current actions could become training data and impact its future self. 🧵
23
30
5
475
31,145
Async RL works best with large batch sizes, but then the fwd/bwd pass becomes a major bottleneck, especially with agentic training where rollouts are >100k tokens long 😢 A neat solution is to use a tree data structure for shared prefixes across trajectories. In our experiments, this speeds up the fwd/bwd by >26x 🔥 Goated systems-level improvement to TRL by Amine!
🌲 Tree packing has landed in AsyncGRPO in TRL! ⚡ 26× less trainer compute to reach the same reward on agentic RL. GRPO starts from the same prompt G times, and forked multi-turn rollouts share most of their history. Sequence packing forwards those shared tokens once per sample. Tree packing forwards each unique token once. The first version used FlexAttention, but the shipped one is a single FA3 varlen call. Each token retains its own target, advantage, and previous log-prob. Extensively tested against sequence packing on dense, sliding-window, softcap, MoE, and VLM models. When it can't pack anything, it costs ~1%. On a REAL agentic RL run on MiMo Envs, tree packing reached the same reward with 26× less trainer compute 👇
9
9
82
5,300
My favourite part about @typesafeai is that they are one of the rare (only?) AI companies with a sense of humour
3
38
4,291
Lewis Tunstall retweeted
Replying to @j_dekoninck
Congrats, really impressive result!
1
2
3
1,111
Great thread on why theoretical physics conjectures / theories are a harder nut to crack than in mathematics
1
21
1,828
Lewis Tunstall retweeted
The ideal outcome for science isn't a couple of labs using proprietary models and millions of dollars to crack trophy problems, it's to have millions of AI-aided human scientists who follow their curiosity and become way more ambitious
160
343
56
2,648
90,489
Lewis Tunstall retweeted
Introducing the largest open-source multilingual, multimodal RL environments 🌍 📄 OCR: 1M+ document pages in 22 languages 🎙️ ASR: speech in 102 languages 12M+ tasks across two OpenEnv Environments, open on @huggingface 🤗
29
83
9
768
41,980
Topsy-turvy test-time compute
Here's a quirk when evaluating closed models on tasks that trigger refusals (cyber, bio etc): > low reasoning effort => few refusals, high accuracy > max reasoning effort => many refusals, low accuracy This gives you test-time compute curves where max effort does way worse than low because the refusals tank the performance. What is the fairest way to report performance in these cases?
2
8
1,021
Here's a quirk when evaluating closed models on tasks that trigger refusals (cyber, bio etc): > low reasoning effort => few refusals, high accuracy > max reasoning effort => many refusals, low accuracy This gives you test-time compute curves where max effort does way worse than low because the refusals tank the performance. What is the fairest way to report performance in these cases?
10
1
1
15
2,927
Current mood
2
25
2,315