Register and share your invite link to earn from video plays and referrals.

Maxime Labonne
@maximelabonne
Head of Post-Training @liquidai 🤗 HF: 📝 Blog:
584 Following    45.3K Followers
LFM3: new generation with six edge models I'm super happy with LFM3-1.7B, it's an absolute (agentic) monster
Watch me turn @altryne into a decision model believer
Tiny decision models you can run everywhere: > d1-3B has impeccable performance in text and vision > d1-omni-600M supports text, vision, and audio! Try our @huggingface space with interactive games today
Show more
Please stop using LFM2.5-2.6B for coding guys
🚨 The #SFTechWeek# @techweek_ calendar is live Oct 6 in SF: @liquidai × @zeticai_ present “Houston, We Have No Cloud.” 🧑‍🚀📱 Bring a laptop, phone + data cable. Deploy an AI model directly on your device, no cloud required! Limited spots:
Show more
I wrote a third book: The Generative AI Career Masterplan We wanted to offer a guide for people who want to build a career in AI and answer questions like: - What roles fit your background? - Which skills should you focus on? - How do you turn what you’ve learned into something that gets you hired? The book follows that journey: exploring different career paths, identifying the skills you need, building a portfolio, preparing for interviews, and continuing to grow once you land a role. It's so big we needed five people and five different perspectives to write this book, with @AliArsanjani (Google Cloud), Sadid Hasan (Microsoft), @andreas_horn1, (IBM), and Leonid Kuligin (Google Cloud). A big thank you to my co-authors and to the team at @PacktPublishing for bringing this book to life!
Show more
In-browser fine-tuning is coming 🔥
I honestly didn't think you could get such good code performance from this model. Need to look more into this for future releases
Neat app to understand and explore VLM evals
"look at the data" has to be the highest alpha advice for working on LLMs; I'm currently working on optimizing LFM VL models and I realized I could improve my intuitions on vision datasets; a thread where I go through the popular vision benchmarks, 1/x
Show more
we published a blog on hugging face at possibly the worst time yesterday lol congrats to the HF team on the big news! 💚 here's a fine-tuning tutorial showing how to • fine-tune a tiny LFM2.5-350M model • in 100 GRPO steps using TRL • for better structured outputs blog: colab:
Show more
0
13
992
114
Forward to community
I read three lines and recognized good taste
Top Models For your Hardware 2026 -- 8GB -- - lfm-2.6B: very solid, trained on tons of data, obviously limited by good place to start Use this for snippet tool calls, or to play around and build infra -- 16GB -- I am a big fan of Ornith models, they do well at tool calling and they certainly push models farther Gemma is a more well rounded model for chat, and vision IMO -- 24GB up to 96GB -- Qwen3.8-27B is IMO the first model here you can code with, it's really strong. Use the exl3 versions. -- 96GB up to 196GB -- Qwen3.8-Flash-Next is where it's at. Phenomenal model, very fast even on slower hardware, kv cache is smaller and part of the model is basic enough to be offloaded to ram -- 196GB up to 384GB -- GLM-5.3-Flash is frontier at home, built to run on 10,000$ of hardware. It's really a gift. It is natively multimodal, image/video/ audio? It hold up over 1 million tokens in context, and is hybrid attention, it holds on higher concurrency. Very good for 3D, coding, hacking, art. -- 384GB up to 512GB -- Sacrifice speed for intelligence, GLM-5.3 is tied for #1# Open Weight model, and is the best for pure coding and systems work. I told you August was going to be awesome, now we go to slower months. ------------- It's not Local AI we have to worry about anymore.
Show more
Antidoom is now in TRL! Remove your doom loops with this one simple trick.
catching up on some bookmarked reads from the summer, reading Antidoom from @liquidai small reasoning models get stuck more easily when the task involves a long thinking trace and a hard problem. It starts repeating the same word over and over again ("Wait", "Alternatively"…), each repetition makes the next one likelier, and the generation is spent before it reaches an answer they measured it, 10.2% of completions for an early LFM2.5-2.6B checkpoint and 22.9% for Qwen3.5-4B at greedy. After training those drop to 1.4% and 1.0% the fix is FTPO (final token preference optimization). What I like is how narrow it is, it only touches the single token where the loop starts three ways it differs from DPO: > trains one token position, mid-generation, instead of whole sequences > spreads probability across ~20 plausible alternatives instead of swapping one overtrained token for another > keeps the regularizer in logit space, no softmax, so the rest of the vocabulary stays put the third one is what makes it usable. If you want to edit one position without disturbing the model, you can't have a loss that reshuffles the other 150k logits on the way and their explanation abt the result: the training teaches the model nothing new about math or code, it clears the failure mode that was blocking answers the model could already produce full blog > FTPO itself comes from Antislop, where it was built to strip overused phrasing. LiquidAI retargeted it to doom loops and under the hood it's a subclass of TRL's DPOTrainer with compute_loss overridden, around 90 lines of loss and no new trainer we documented that pattern in TRL's docs
Show more
i'm gonna get shredded to pieces like tibo and jarred when they see what i actually look like now... i'll be speaking at the 2nd edition of @aiDotEngineer paris on sep 24th 🇫🇷 i'll be talking about: • current state of post-training • how our team built the first reliable on-device agentic model • and a demo running a local agent with LFM2.5-2.6B come say hi (if you can recognize me)
Show more
Great to see on-device evaluations! Very proud of LFM2.5-2.6B. The way it generalizes beyond agentic tasks is crazy.
Which model should you run on the iPhone 17 Pro? Announcing our new intelligence and inference testing for small models on mobile devices: independent measurement of how capable small models are in typical on-device tasks, and how they perform on popular phones - in partnership with @liquidai We have partnered with @liquidai to deliver mobile device inference benchmarking, covering a range of models in 4-bit or lower precision on the iPhone 17 Pro and Galaxy S26 Ultra We’re publishing our phone-scale intelligence evaluation results in combination with @liquidai's inference performance benchmarks to give users and developers a holistic view of how small models are performing on phones Inference benchmarking is conducted in a controlled environment using Liquid AI’s inference benchmarking software, which Artificial Analysis has examined and is open-sourced on Liquid AI’s GitHub. Results cover end-to-end generation time, output speed, peak memory usage and other metrics. The inference benchmarking app, ‘Pipette’, is available to download for free on iOS and Android, allowing users to test a variety of models on their own devices We are ranking phone-scale model intelligence based on each model’s average score in five evaluations chosen for the task-based work these models do in practice: BFCL, IFBench, AA-Omniscience, GPQA Diamond and MATH-500. These evaluations are run by Artificial Analysis using our independent methodology. By default, we limit models to 16K context on each of these evaluations, representing the lack of memory space for significant KV cache on mobile devices. This leads to some intelligent but verbose models dipping in relative score - they were not designed for the constraints that phone memory imposes on token use We are defining our portable device category as including models that fit within 8 GB of memory after quantization, including KV cache, at 8K context We expect both the intelligence and inference benchmarks to evolve over time, as new models, devices, inference frameworks and quantization techniques are released. Our pages will remain up to date with these new additions Initial results: ➤ Nanbeige4.2-3B and LFM2.5-2.6B share the top average evaluation score at 63 (with a 16K context limit), ahead of Ornith-1.0-9B at 62 and Qwen3.5 9B (Reasoning) at 61. LFM2.5-2.6B achieves its score more efficiently: on an iPhone 17 Pro it answers a standard 1,024-token prompt in 8.0s using 2.3 GB of memory, against 21.4s and 4.0 GB for Nanbeige4.2-3B and 25+ seconds and 6.9 GB for the two 9B models ➤ The 16K context limit shapes the leaderboard: as an example, Qwen3.5 9B (Reasoning) spends 74.5M output tokens across one pass of the benchmark set, hitting the 16K limit on 29% of its generations and landing in fourth place overall. With the limit raised to 64K, Ling 3.0 Tiny takes first place with a score of 66, ahead of Nanbeige4.2-3B (65), Qwen3.5 9B (Reasoning, 64), and LFM2.5 2.6B (64). But a 64K window does not fit in mobile phone memory, and at 55 output tokens/s on an iPhone, generating 64K tokens could mean a 20+ minute wait and a lot of battery use. This is why our primary results are capped at 16K, but we're also publishing a set of results capped at 64K, and another capped at one minute of generation time ➤ The speed-intelligence Pareto frontier is short: six models are unbeaten on both intelligence and speed on an iPhone 17 Pro: LFM2.5-230M (27 at 0.9s), MiniCPM5-1B (45 at 2.9s), LFM2.5-8B-A1B (58 at 5.7s), Ling 3.0 Tiny (59 at 5.7s), LFM2.5-2.6B (63 at 8.0s) and Nanbeige4.2-3B (63 at 21.4s). LFM2.5-8B-A1B and Ling 3.0 Tiny are mixture-of-experts models that activate ~1B parameters per token, which is how they answer in under 6s with 8B-class weights ➤ Leading models have opposite strengths: Nanbeige4.2-3B is the most balanced (76% on BFCL, 96% on MATH-500, 67% on GPQA Diamond); Qwen3.5 9B (Non-reasoning) is the strongest tool caller (77% on BFCL) and scientific reasoner (79% on GPQA Diamond); LFM2.5-2.6B follows instructions best of any model measured on the iPhone (59% on IFBench), clears 90% on MATH-500 and hallucinates far less on AA-Omniscience (79% non-hallucination, against 33% for Nanbeige4.2-3B and 24% for Qwen3.5 9B (Reasoning)) More details below in thread ⬇️
Show more
Today we release Pipette, a model evaluation suite for on-device intelligence, in partnership with @ArtificialAnlys Most benchmarking platforms are optimized to measure core capabilities and speed profile of foundation models served in the cloud. Pipette gives the field a common, reproducible way to measure the quality, speed, latency, and memory use of AI models on devices such as phones, laptops, PCs, AI boxes, and embedded hardware. > Pipette is open source > In Pipette, models get compated as model + quantization + runtime + device from one interface. > It comes with a warehouse of verified benchmark results, currently with 10k+ results across 35 model classes, 7 quants, llama.cpp runtimes, and 4 devices. > Pipette is a dynamic platform, allowing new contributions from day one, adding new devices, runtimes, model families, and quantization levels. 🧵
Show more
0
30
729
113
Forward to community
LFM2.5 DSpark by @liquidai is coming to mlx-vlm in v0.6.16 ⚡️ Exact speculative decoding on M5 Max, delivering up to 3.7× faster generation with zero output drift. On-device speed, zero output drift. Benchmarks below 🧵
Show more
Nature healed: LFM2.5-2.6B is free on OpenRouter and has good throughput! Try it in your favorite agentic harness today.