Loading…

Hugging Face
AI platform and community providing machine learning models, datasets, libraries, and tools for building AI applications.
- 390 posts summarised
- latest
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
From their blog
Latest articles
ALTK-Evolve: How learned memory tops the τ²-bench leaderboard on customer service tasks without a frontier model
ALTK-Evolve learns behavioral guidelines from an agent’s own task attempts using GPT-4.1 and appends them to the system prompt, improving customer service performance on tau^2-bench without weight updates or human annotation. On retail tasks, a ReAct agent with GPT-4.1 and these prompt-level guidelines reaches 67.5% Pass^4, surpassing every frontier model entry and the fine-tuned RAFT-30B-A3B system on the leaderboard. Guidelines are extracted by analyzing training trajectories with GPT-4.1, distilling successes and failures into concise rules for authenticating customers, confirming transactions, and handling returns. Retail reliability gains require the full lossless set of 292 guidelines raising Pass^4 by 10 points, while airline benefits most from a compact core of 14 rules. Using GPT-5.5, the same method lifts airline Pass^4 by 15 points to 70% and tops the leaderboard at 82.0%, proving prompt-level memory helps even frontier models.
Hugging Face ❤️ TorchTPU: TPUs, Natively
TorchTPU adds a native PyTorch backend for Google TPUs, eliminating the need for torch_xla or JAX. Installing it on a TPU VM requires a single pip command with a CPU-only torch index. Users can load any Hugging Face model onto a TPU with device_map=“tpu” and run it in eager mode without code changes. Diffusers pipelines also support TPU natively, requiring only pipe.to(“tpu”) for eager execution or an optional compile call for deployment. The Kernels Hub provides ready-to-use TPU kernels written in Pallas, which can accelerate MoE models by over 20× at large batch sizes, as demonstrated with Qwen3-30B-A3B. The Hugging Face team is continuously testing TPU support, with 96.5% of tests passing and upstream fixes for discovered issues, including bugs in StaticCache and Qwen3 tensor-parallel plans.
AnyLanguageModel 1.0: One Year of Local Models on Apple Platforms
AnyLanguageModel 1.0, alongside swift-huggingface 1.0 and swift-xet 1.0, marks a year of development on a drop-in replacement for Apple’s Foundation Models framework that lets developers choose the model and provider. It provides a unified API for switching between local models (llama.cpp, MLX, Core ML) and hosted providers (OpenAI, Anthropic, Google Gemini, Ollama, Hugging Face). The update adds tool calling and guided generation support for all providers, image input using Foundation Models’ syntax on OS 27, and reasoning that appears in transcripts. API keys are supplied through closures instead of strings, enabling apps to fetch short-lived tokens from their own server. Local open-weight models such as Gemma 4 E2B and LFM2.5 2.6B fit on an iPhone, while Qwen3.8 27B runs on a Mac with 32 GB of memory, all loadable with a single line of code.
MPS in PyTorch 2.15
PyTorch 2.15 brings FP8 support to MPS, storing float8_e4m3fn values in half the space of BF16 and enabling scaled matrix multiplication directly on the GPU with tensorwise or rowwise scaling. Language-model decoding accelerates significantly: mixture-of-experts models decode 5–6.5× faster thanks to a native grouped matmul with a dedicated decoding path—on an M3 Ultra with torch.compile, Qwen3.6-35B-A3B reaches 61.3 tokens/s, up from 9.4. Dense models benefit from specialized matrix-vector kernels for single-row linear layers, and softmax over the vocabulary is about 8× faster. Video generation memory usage drops dramatically: Wan2.2’s VAE decode now peaks at 8 GiB instead of 270 GiB. The Hugging Face team runs real models to find and fix MPS shortcomings. The release also adds complex LU and triangular solves, faster small-matrix inverses and QR decomposition, public MPS streams, and requires macOS 15 or later, with many operations moved from MPSGraph to dedicated Metal kernels.
TorchNeuron: running HF models on AWS Trainium is easier than ever
TorchNeuron is a new PyTorch plugin that adds a native Neuron backend for AWS Trainium, supporting eager mode, torch.compile, and distributed APIs like FSDP and TP. It will be available as a public beta starting October 20, 2026, and can be installed with pip install torch-neuronx. Hugging Face libraries such as Transformers, Diffusers, Accelerate, PEFT, and TRL now run directly on Trainium without needing the Optimum Neuron wrapper, using the same classes and scripts as on any other accelerator. For text generation, 89% of the top 100 most-used model architectures are supported out of the box, compared to 46% with Optimum Neuron v0.4.5. Training uses standard TRL scripts with only a few Neuron-specific settings like static shapes and torch.compile, and the resulting checkpoints are hardware-agnostic.
Scaling Indic Pretraining: 2.8 Trillion Tokens and an Open Data Generation Pipeline
A joint open-source release from NVIDIA and IIT Madras’s AI4Bharat introduces Nemotron-pretraining-Indic-v1, a corpus of approximately 2.8 trillion tokens across all 22 Indian languages listed in India’s Constitution. The corpus includes native-script data for all languages and romanized text for twelve, spanning 34 language-script configurations, built from 15 curated English source subsets covering mathematics, code, and question-answer content. A GPU-accelerated pipeline using NeMo Data Designer and Gemma-4-31B-it translates documents, assesses quality with a Multidimensional Quality Metrics rubric, repairs low-scoring outputs, and converts a subset to romanized text. For ten additional languages, translation uses Indic Translate from Bodhan AI with adapted document-windowing for longer texts. Every record retains a source identifier for provenance, and the full generation recipe including prompts and quality checks is released openly so developers can adapt it to their own source material.
Welcome Beam: a 501B open model you can own, customize, and scale
Reflection released Beam, a 501B-parameter mixture-of-experts model with 23B active parameters per token, under the Apache 2.0 license, targeting coding and agentic use cases. The model supports a 1M-token context window using hybrid attention with 43 sliding-window and 9 global layers, and a residual stream that scales sublayer outputs by 1/sqrt(k) to maintain constant magnitude. Its MoE router uses a group-limited scheme with 256 experts, 8 routed per token, and the BF16 checkpoint occupies about 1 TB. Benchmarks show strong performance: 81.6% on SWE-bench Verified, 97.7% on AIME 2026, and 90.6% on GPQA Diamond, with minimal degradation in FP8 and NVFP4 quantizations. The model ships with a Rust-based harness, day-0 support in transformers, vLLM, and SGLang, and includes SFT and RL recipes, with a $10,000 Hub credits competition for community projects.
Granite Switch 4.1: Chat, Decisions, and Speech from One Endpoint
Granite Switch 4.1 models combine chat, general and specialized decisions, and speech-to-text from a single hosted endpoint. The 8B and 30B models include a new Decision aLoRA for general-purpose decision-making and a Guardian aLoRA that outperforms Jev 1.13 and other closed models on safety tasks. They also embed Granite-Speech-5.0-Turbo-CTC, the fastest ASR model on the OpenASR Leaderboard, enabling efficient transcription. All components are composed into one model using cache-efficient Activated LoRAs, taking up about the same GPU VRAM as the base model alone, and the KV cache from base generation can be reused for any subsequent adapter decisions. Granite Switch 4.1 can switch between chat, decision, and spoken requests quickly, and a 3B variant achieved 60-100 decisions per second playing Doom, compared to Jev’s 10, while also narrating and answering questions.
Apertus 1.5 Release Notes
Apertus 1.5 extends the 8B and 70B open-weight models with image and audio understanding, a thinking mode, and a 262,144-token context window, released under Apache 2.0. The models are a continued pretraining of Apertus 1.0, adding 4 trillion tokens to the 8B model and 2 trillion to the 70B model, for totals of 19T and 17T respectively. Multimodality uses an early-fusion tokenizer with Emu3.5 for images and WavTokenizer for audio, keeping the architecture unchanged and training at text-only speed. Post-training includes SFT, long-context SFT, reinforcement learning with verifiable rewards, DPO, and charter alignment via SDPO, with all data and recipes publicly documented. Evaluation results show competitive performance on reasoning, coding, and multilingual tasks, with the 8B model matching GPT-OSS-20B on translation and outperforming Claude Haiku 4.5, reported transparently via the EvalEval Coalition’s EEE schema.
Welcome Muse Spark Open: open-weight frontier multimodal mixture-of-experts model from Meta
Meta released Muse Spark Open, an open-weight multimodal mixture-of-experts model with approximately 816 billion total parameters and around 42 billion active per token. It processes text, images, audio, and video inputs while generating text output, supporting a context window of up to one million tokens. The model uses 256 experts per MoE layer with 8 selected per token, and the BF16 checkpoint requires about 1.5 TB of storage. Meta trained Muse Spark Open for agentic coding tasks including reading codebases, writing and debugging code, and calling tools. The post provides recipes for running the model using transformers, llama.cpp, vLLM, and SGLang, as well as fine-tuning with LoRA on 64 H100 GPUs.
Welcome FLUX.3 Image Klein in Diffusers
The Black Forest Labs FLUX.3 Image Klein model is now available in Diffusers, combining text-to-image, multi-reference image-to-image, and bounding-box layout control into one pipeline. Two open checkpoints are offered: a distilled version using 16 inference steps without classifier-free guidance for fast generation, and a base version requiring 50 steps with guidance. The distilled checkpoint produces a 1024x1024 image in about two seconds on an H100, and quantized NVFP4 and FP8 weights can be loaded via from_single_file to reduce memory. The model is built as a Modular Diffusers pipeline, enabling users to remove, replace, or insert custom components, such as a block that captures intermediate clean-image previews. LoRA fine-tuning scripts for both text-to-image and image editing are included, along with a prompting guide for optimal scene descriptions.
HiRO-ACEv2: Simulating extreme weather at 3 km resolution for a fraction of the cost
HiRO-ACEv2 generates global 3 km climate data for extreme weather at roughly 1/300th the cost of the X-SHiELD model, with even larger savings for single-region runs. The system pairs a coarse 100 km AI model (ACE) with the new HiROv2 downscaler that simultaneously predicts rain, wind, and sea-level pressure instead of just rainfall, and has improved skill at reproducing extreme events. When fed coarsened X-SHiELD data HiROv2 matches the target’s high-resolution statistics within 3% for events as rare as one in a million data points, and accurately estimates tropical cyclone energy for storms never seen during training. Over a 10-year simulation the full system’s hurricane energy and extreme event snapshots compare well with X-SHiELD. However, HiRO cannot yet handle other climates because it depends on X-SHiELD-specific ACE tuning; future work includes training on warmer-world datasets and adding temperature and snow outputs.
Run fast, private agents on-device with LFM2.5-24B-A2B
LFM2.5-24B-A2B is a 24-billion-parameter reasoning model with only 2 billion active parameters per token, designed for fast, private on-device agents. It uses a Mixture-of-Experts architecture with 40 layers, 64 experts per block, and top-4 routing, combined with gated short convolutions and GQA. The model produces an explicit chain of thought before answering and supports tool calling and multi-step tasks. Pre-training scaled to 33 trillion tokens, followed by mid-training and a five-stage post-training pipeline including supervised fine-tuning, multi-domain distillation, and agentic reinforcement learning. On benchmarks, it leads or matches larger models on tool use and instruction following, achieving 48.09 on LiveClaw and 96.75 on IFEval, while decoding 184 tokens per second on an Apple M5 Max.
Impactful scheduling for GPU clusters
Ai2 replaced its priority-based GPU cluster scheduler with a system combining GPU time budgets, hierarchical fair-share allocation, and a time-slicing contract to prioritize high-impact research while maintaining full occupancy. The previous priority scheduler induced GPU squatting, priority inflation, and constant negotiation over non-preemptable workloads, exemplifying a tragedy of the commons. In the new model, managers allocate proportional GPU time budgets to projects, making resource allocation a transparent administrative process rather than an operational debate. The scheduler tracks occupancy over a time window with weights set by budgets, and time-slicing enforces minimum runtime protection before workloads become preemptible. However, interactive sessions suffered from the 8-hour cap, prompting investment in a CPU-only cluster and restorable sessions, while potential capacity fragmentation for large workloads remains under investigation.
The model that didn't exist, so you made it yourself
The author wanted a small version of the prompt rewriter that ships with Qwen-Image 2.1, but the official 9B model requires about 20 GB of memory. Using ML Intern in HuggingChat, they created a 0.8B version that runs on a CPU, returns valid output 99.7% of the time, and uses about a quarter of the teacher’s tokens. The compute for the entire project, including having the 9B model label 8,797 example requests, came to USD 16. Over a few days, the author made five more models using the same approach, each starting as a message in HuggingChat with ML Intern switched on. The author’s prompts include verified facts, a baseline request, a smoke test, and a spending cap. The six models built include a citrus disease vision model, a Huggy character LoRA, a camera-angle LoRA, a doodle-in LoRA, a pocket rewriter, and a distilled text-to-image model.
Introducing Falcon ASR
The Technology Innovation Institute in Abu Dhabi released Falcon-ASR, a 1.6 billion parameter speech recognition model focused on Arabic, especially the Emirati dialect, while also supporting English, French, Spanish, and Portuguese. On the Open Universal Arabic ASR Leaderboard, Falcon-ASR achieved a 20.92% average word error rate across six test sets, outperforming the best published average of 23.17% in the reference snapshot. The model recorded a 22.73% word error rate and 10.19% character error rate on an internal Emirati evaluation, 4.07% better in word error rate than the next best system compared. Training data included background noise, overlapping speech, music, reverberation, telephony effects, speed, and pitch variations to handle diverse recording conditions. Falcon-ASR builds on the Falcon3-Audio architecture and provides word-level timestamps linking transcribed words to audio positions.
One Model Family, Two Gold-Level Results: Fine-Tuning Nemotron for IOI and IMO
Starting from Nemotron 3, the team applied supervised fine-tuning (SFT) and reinforcement learning (RL) to create specialists for competitive programming and olympiad mathematics. At the IOI, the Nemotron-3-Ultra-CC model, trained with SFT on 22,000 curated problems and paired with GenCorrect iterative refinement, scored 535.4 of 600 points, exceeding both the gold threshold and the top human score. At the IMO, a combination of SFT and RL checkpoints scored 30 of 42 points by generating, critiquing, and refining natural-language proofs without external tools. Both projects followed a shared recipe: start with a strong base, curate domain-specific data, apply standard post-training, and tie the model to an inference loop that improves candidates. The results show that specialization and test-time compute together produce gold-level performance, and all models, data, and inference pipelines are available on Hugging Face.
Falcon-Emirati: When an LLM Learns the Dialect, the Culture, and the Nuance
Falcon-Emirati-7B is a dialect-specialized language model built on Falcon-H1-Arabic to understand and generate Emirati Arabic, a Gulf dialect with distinct vocabulary and cultural context that Modern Standard Arabic models miss. The model uses a hybrid architecture combining Mamba state-space models and Transformer attention running in parallel inside every block, with fused outputs for efficient long-context processing. Training required a dedicated data pipeline of authentic Emirati web content, MSA material about Emirati culture, and synthetic data guided by strict glossaries and style rules to cover gaps in available dialectal text. On the Alyah benchmark, Falcon-Emirati-7B scored 84.83%, outperforming larger multilingual models, and achieved 85.57% on the UAE cultural understanding task in ArabCulture-Dialogue. The 7B parameter size was chosen as the best balance of quality against training and inference cost for dialect adaptation.
The Agent Said It Was Done. The Database Disagreed.
ThinkingBox, a benchmark from Microsoft and Hugging Face, grades AI agents on the database state and side effects they leave behind rather than on tool calls or final responses. In a common-set ablation covering 121,680 valid trials across 12 LLM models, 79,853 attempts failed executable checks, and 67.24% of those failures still terminated cleanly and invoked a state-changing tool without error, with wrong field values in 77.61% of them. The benchmark runs every task 20 independent times from identical clean backends, reporting pass@1, pass@20, and observed 20/20 consistency to separate capability from reliability. For example, Kimi-K3 solved 93.89% of tasks at least once but only 13.41% consistently, while Claude Opus 5 completed 47.53% of tasks on every attempt, and Claude Opus 5.5 gained no additional dependability over its predecessor despite higher pass@1. ThinkingBox is available through Hugging Face’s OpenEnv with MIT-licensed code and CDLA-Permissive-2.0 benchmark data.
Open-sourcing AstaBrief, the fast report-generation model in Asta
AstaBrief is an open-weights 8B-parameter model developed by Ai2 for generating cited scientific reports from a research question and literature excerpts, designed for evidence-grounded outputs. It was trained from Qwen3-8B using supervised fine-tuning on 47K filtered real user queries and direct preference optimization, focusing on data quality. Unlike Asta’s Thinking mode, which uses a multi-step pipeline, AstaBrief writes the full report in a single pass to reduce generation time. In Asta’s Fast mode, it averages 51.1 seconds per report versus 178.5 seconds for Thinking mode, roughly 3.5× faster, while competitive on answer and citation quality. The model and training data are open-sourced on Hugging Face, enabling institutions to deploy behind their own firewall and supporting future open scientific models.
Topics they write about
All topics →Weekly digest
The best engineering reads, once a week.