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
llama.cpp v1.0.0 : A stronger foundation for the local AI ecosystem
llama.cpp v1.0.0 marks the project’s first stable library release after 3.5 years of development, formalizing API and ABI stability for the growing ecosystem of downstream applications. The release adopts semantic versioning for both llama.cpp and ggml, with MAJOR bumps indicating breaking changes to the public C API in the ./include directory and MINOR bumps for backward-compatible features. Distribution now spans Docker, Homebrew, conda-forge, MacPorts, Winget, and XCFramework, alongside pre-release artifacts for Linux, macOS, Windows, Android, and iOS. The underlying ggml engine supports over 150 model architecture variants and all mainstream speculative decoding methods through dedicated backends compiled as dynamic libraries that can be loaded at runtime. Hardware support from NVIDIA, AMD, Qualcomm, Arm, IBM, and Intel enables continuous CI testing across all major platforms, with the team investing in HF Buckets and HF Jobs for scalability.
LLMON: An LLM-Native Markup Language, now in Granite 4.1 3B and 8B
LLMON is a markup language that uses reserved special tokens to explicitly communicate structure and semantics to LLMs, addressing brittleness and prompt injection vulnerabilities. Components like instructions and data are marked with meaningful tags and unique IDs, enabling explicit binding between them. The authors release two experimental preview models derived from Granite 4.1 base models, trained to consume and generate LLMON-marked text. On the OPI benchmark, LLMON models achieve near-zero attack success rates for indirect prompt injections, outperforming the best frontier model by 47% while maintaining general capability comparable to Granite 4.1 Instruct models. LLMON enriches chat templates by adding component-level semantics and binding, and the models are trained through re-serialized instruction-tuning data and reinforcement learning.
The Definitive Fine-Tuning Guide for 3D Generation Models
Fine-tuning a general-purpose 3D generation model like TRELLIS.2 for a specific object category can correct geometry errors, such as inaccurate shoe soles. The authors add LoRA adapters only to the sparse-structure flow DiT and the shape flow DiT, freezing the texture flow DiT to avoid training on diffuse color maps that include baked lighting. Using 188 footwear objects from the Google Scanned Objects dataset, the fine-tuned model improves the mean F-score from 0.276 to 0.803 on nine held-out objects. Chamfer distance falls from 0.174 to 0.033, and normal consistency rises from 0.530 to 0.804. The approach uses supplied Docker containers and Hugging Face Jobs, with the sparse-structure run taking 7.2 hours and the shape run taking 3.6 hours on one A100 80 GB GPU.
BotPsy: On-Device Personal Assistant with a Sub-Billion-Parameter Agentic Language Model
Tether AI Research introduces BotPsy, a 0.8B-parameter model designed for on-device function calling and agentic workflows, built on Qwen3.5-0.8B. It achieves state-of-the-art tool-use and agentic performance for its size, outperforming every model up to 1.2B parameters on five of six benchmarks, including beating Qwen3.5-2B-Think on BFCL v4, ACEBench, τ-bench, ToolSandbox, and BrowseComp-Plus. BotPsy roughly doubles the agentic capability of its base model, with BFCL v4 rising from 23.4 to 44.0 and τ-bench from 23.2 to 51.5. It demonstrates improved safety, with unsafe responses dropping from 36% to 21% in automated red-teaming, and more efficient reasoning, using about 3× fewer reasoning tokens on GPQA Diamond than its base model. The model is released with open weights under Apache 2.0 for research and educational use in bf16, Q8, and Q4 precisions.
Token Pooling-Aware Training for Multi-Vector Embedding Models
Multi-vector embedding models store many token vectors per document, causing large indexes. Token pooling via Ward hierarchical clustering merges similar token embeddings into groups, reducing the number of vectors, but aggressive compression can lose retrieval-relevant distinctions. Pooling-aware training addresses this by averaging a retrieval loss on unpooled and pooled embeddings, using a straight-through estimator to pass gradients through the discrete clustering. At pool_factor=4, a normally trained model retains 94.6% of its unpooled nDCG@10, while pooling-aware training raises retention to 97.8% at the same 4x reduction in document vectors. Adaptive pooling with a calibrated threshold also benefits, retaining 97.3% of the unpooled score while storing 84.7% fewer vectors.
Pay for Hugging Face Hub with your Google Cloud Account
Hugging Face now allows organizations to link their account to Google Cloud Marketplace, routing all Hugging Face usage through the existing Google Cloud invoice. This eliminates the need to onboard a new vendor or use a separate corporate credit card. The integration covers Team or Enterprise subscriptions, pay-as-you-go compute services, and additional storage at standard Hugging Face pricing. To set it up, an admin subscribes to Hugging Face on the Google Cloud Marketplace, then links their organization on Hugging Face. After Hugging Face approves the subscription, the organization’s payment method switches to the Google Cloud account, and all paid usage appears on the Google Cloud bill.
Decision Models in Hugging Face
Decision models evaluate a state against typed questions—choice, score, or noul—and return a probability distribution over predefined answers without generating text. Unlike traditional classifiers, they accept runtime-defined labels, and unlike zero-shot classifiers, they handle multiple typed questions per request. The interface is State + Questions + Allowed Answers → Decisions + Probabilities, with models like JEV-9B available on the Hugging Face Hub under a dedicated tag, and the ecosystem includes encoder-based and generative backbone models. Hugging Face’s transformers library supports inference via a pipeline and fine-tuning via the Trainer API, with a toy example fine-tuning JEV-9B to route support requests to billing, shipping, or technical categories using cross-entropy loss. Decision models make decisions and probabilities first-class outputs, optimized for reliable, calibrated decisions in software, and are designed to be more efficient than prompting LLMs for structured tasks.
Nemotron-Personas-Finance-Japan: A Synthetic Dataset Capturing Japan's Demographics and Financial Context
Elith and NVIDIA released Nemotron-Personas-Finance-Japan, a synthetic dataset of 9 million personas written in natural Japanese. It is the first open persona dataset at million-record scale that pairs Japan’s official statistics with household finance and financial literacy data. The dataset was built using NVIDIA’s NeMo Data Designer and NeMo SDG-PGMs, a probabilistic graphical model framework, with the gemma-4-31B-it model for text generation. Every persona is fully synthetic, derived from official government statistics and public survey data, not from records about real people. Released under CC BY 4.0, it supports financial AI development including conversational agents, customer simulation, and model evaluation without using real customer data.
Your Experts Have Partners. There's HOPE for Keeping Them Together
Mixture-of-Experts (MoE) language models store all expert MLPs in memory even though only a small fraction are active per token, creating a memory bottleneck. Existing first-order pruning methods score each expert independently, ignoring cooperative interactions between experts that are known to be stable and important for performance. HOPE (Higher-Order Pruning of Experts) is a second-order method that accounts for pairwise expert interactions by defining a quadratic surrogate that upper-bounds pruning error. At 50% pruning, HOPE achieves the best average rank of any method, with gains of up to +6.1% on agentic coding tasks over the next-best pruning method. The method requires only a single calibration pass and negligible additional overhead to solve a quadratic program per layer.
ToyBlocks: A controlled world for robot learning and evaluation
ToyBlocks introduces FoundationWorlds, controlled simulated environments for studying how robots learn. It uses a robot arm and blocks that automatically generate demonstrations via reinforcement learning and motion planning, without teleoperation. Researchers can vary training data, such as adding pushing or flipping skills, and evaluate generalization on held-out tasks while metrics like execution speed and force are tracked. The low-level ManiFlow model reached 80–81% success in both simulation and the real world, while the hierarchical Molmo 2 + ManiFlow system succeeded in 55.5% of simulated episodes. The framework transfers to physical robots through system identification and domain randomization, and the team releases simulation assets, over 85,000 long-horizon demonstrations, and trained models.
Egyptian and Nigerian English join the Open ASR Leaderboard
The Open ASR Leaderboard previously added private data from Appen and DataOceanAI for five accents, and later Indian-accented English with Voice Arena. A new collaboration with Liva AI adds Egyptian and Nigerian English accents, with 1.34 hours and 1.55 hours of conversational, spontaneous speech respectively, transcribed with punctuation, casing, and disfluencies. This expansion is part of ongoing efforts to improve representation in ASR evaluations by including more accents and languages, and to increase trust through new private data that minimizes benchmaxxing. The leaderboard now provides a richer accent breakdown based on Kachru’s Three Circles, reporting US vs. non-US and Inner Circle vs. Outer & Expanding Circles. Liva AI collects multimodal interaction data through consumer products, enabling natural, high-context behavior for model evaluation.
New NVIDIA Cosmos 3 Open Models for Interactive World Simulation
NVIDIA released four open-weight Cosmos 3 Nano models for interactive world simulation, each with 16 billion parameters. Transfer-Auto generates offline multi-view driving data for up to 11 cameras including fisheyes, with joint LiDAR and controls for weather, lighting, and traffic via scene maps and text prompts. Sim-Auto streams synchronized camera and LiDAR observations causally, using few denoising steps and rolling history to enable long interactive rollouts with updated driving controls. Sim-Transfer uses depth, segmentation, edges, and blur controls from a physics simulator and a text prompt to produce photorealistic RGB video; Sim-Bimanual predicts video from 64 robot action values for bimanual embodiments like YAM and AgiBot. The Mixture-of-Transformers backbone processes text and visual latents with temporal-causal attention, trained in four stages—bidirectional adaptation, teacher forcing, consistency distillation, and self-forcing—where self-forcing reduces error accumulation; all checkpoints use OpenMDW1.1 license and include post-training recipes.
A Closer Look at Phonon TTS. Launching High-Quality On-Device Speech That Tops the Benchmarks.
Phonon is a small text-to-speech model that runs entirely on-device, requiring no server or network, and is available in two sizes (65 MB and 75 MB) supporting English, French, German, Spanish, and Portuguese. It uses flow matching from the Pocket TTS lineage to generate audio, which presented training challenges due to numerical instability. The model achieved top rankings on the Hugging Face Open TTS Leaderboard for intelligibility in German and Spanish, and leads in CPU streaming speed for time-to-first audio. Phonon offers over 100 built-in voices, supports voice cloning and voice design, and is integrated with Hugging Face Transformers and a dedicated inference framework called ptts. The weights are open, with the 31m model under Apache 2.0 for commercial use, and the model was downloaded over 200,000 times in its first two weeks.
Dharma Field Extractor: Any Document In, Structured Fields in JSON Out
The Dharma Field Extractor is a 2-billion-parameter model that takes a document image and returns structured JSON by open extraction or by following an exact schema. In open mode it recognizes labels, values, and tables from layout; in schema-directed mode it uses the caller’s key names and types, returning null for absent fields and filling table rows. It was fine-tuned from DharmaOCR-LITE v1.1 via a LoRA adapter on 43,384 field-level annotations drawn from public, Brazilian, and multilingual sources. On a 546-document benchmark covering three extraction scenarios, the Field Extractor scored a field-level F1 of 0.834, beating Claude Opus 5’s 0.816 and GPT-5.6 Luna’s 0.741, while its self-hosted cost ($2.24/hour on one L40S) was 6 to 147 times less per extraction than each API. This supports Dharma-AI’s thesis that a small model specialized on a bounded task outperforms general-purpose frontier models.
StateBench: Testing how language models track state changes over long documents
StateBench is a benchmark for evaluating how language models track state changes in long documents, a capability underlying tasks from reading code to following stories. It defines four difficulty levels: R-trivial, aperiodic, soluble, and general finite, each permitting different types of variable assignment. Pretrained models performed well on R-trivial but lost accuracy on aperiodic problems as inputs grew and stayed at chance on general finite problems, with format affecting results. Frontier models like Gemini 3.8 Flash, Claude Opus 5.5, and GPT-6 Sol and Luna also struggled on harder levels, with accuracy dropping to 13% or lower. When trained directly, Gated DeltaNet and hybrid models generalized to sequences up to 250 times training length, while transformers never learned the hardest level, suggesting architectural limits; open questions remain about handling new entities over time.
Palette: teaching a small model to build decks in your design language
Frontier models impose their own house style and cannot handle confidential content, while small open models produce broken layouts with overlapping shapes and text overflow. Palette splits generation into a designer that creates a structured JSON brief and a coder that writes pptxgenjs JavaScript for each slide, trained via LoRA on synthetic data with counterfactual reasoning. The designer handles editorial judgment and the coder handles geometry. Directives allow user control, and a harness checks and repairs slides using a geometry checker and an editor model that rewrites code only when it improves, adding 3.5 points on average on PresentBench. On PresentBench, Palette ranks first on Economics and Education, third on Talk, and second overall among systems including NotebookLM, as a single 20B open-weight model.
CWE-bench v2: More coverage, quality, and transparency
CWE-bench v2 is a public benchmark of 100 tasks that tests AI agents on finding and fixing security weaknesses in real open-source repositories, with fully programmatic and deterministic scoring. The tasks cover 91 different CWEs, requiring models to understand multiple vulnerability surfaces rather than recognize familiar patterns, and each task includes a repository checkout, instruction, and verifier curated by LLM judge panels and hand-reviewed. Among 11 evaluated models, Gemini 4 Argon leads with 67.8% pass@1, but even the best model fails 19% of tasks, and 95 tasks are solved by at least one model. On cost, DeepSeek V4.1 Flash achieves 57.0% pass@1 at $0.04 per rollout, Claude Opus 5.5 adds ten points at $1.83, and Gemini 4 Argon edges ahead at $3.92, forming the Pareto frontier. The benchmark is open-source and can be run via Harbor, with tasks also usable as reinforcement learning environments for training defensive agents.
Transformers Model Integration Contracts
Transformers enabled PyTorch scaled dot-product attention for T5 on July 30, 2026, letting UMT5’s decoder attend to future tokens during training. The bug stayed in main for almost two months, showing why full integration tests cannot run on every pull request across more than 750 model types. The proposed Model Integration Contract combines a shrunk fixture from a real checkpoint’s configuration, a runnable usage path, and human-reviewed baselines, and holds when that path still produces the baselines. Fixtures preserve tokenizer and processor files and the original weights format, keep different layer kinds, and shrink a 1,227 MB UMT5 checkpoint to 66 MB or Llama 4 Scout from 108.6 billion parameters to 44.7 million. A five-month replay showed the UMT5 fixture flagged the regression under SDPA, while eager attention missed it; the MIC CI job reports failures without blocking pull requests.
nemotron-halloween
MonsterHouse is an interactive Halloween projection where a garage door becomes a grumpy pirate ship that talks to trick-or-treaters. The system uses the NVIDIA Nemotron Voice Agent with Nemotron Speech ASR for listening, Bolt E4B 4GB as the conversational brain, Magpie TTS Zeroshot for voice, and Audio2Face-3D for mouth animation in Unreal Engine 5. A LoRA adapter trained on over 5000 multi-turn conversations gives the character its cantankerous personality, which softens when visitors say ‘please’. The pipeline runs on a single workstation with NVIDIA RTX PRO 6000 Blackwell Max-Q and RTX PRO 4000 Blackwell GPUs. Median end-of-speech-to-audio latency is 1.70 seconds, reduced to 0.72 seconds with cached responses. The author plans to eventually let the house run autonomously while they enjoy Halloween with family.
Granite Switch 4.1.1 — Update models like you update software
Granite Switch 4.1.1 is a patch release of IBM’s modular language model architecture, following software versioning conventions for full backward compatibility with 4.1. The update introduces an improved Granite Speech ASR model that performs multilingual speech-to-text across ten languages with native punctuation and capitalization, so transcripts are ready for downstream models without a formatting pass. The Decision adapter in granitelib-core has also been updated, delivering better performance on the Jev Decision Index test set. Only the ASR model and Decision adapter were retrained; the base model remains untouched, demonstrating the efficiency of the Switch architecture for incremental updates. This pattern can power far more than patch releases to an IBM-provided model, and IBM plans to release tutorials and an Adapter SDK so developers and third parties can build, version, and ship their own adapters like software, with the new capabilities powering a Speech-to-Decisions demo.
Topics they write about
All topics →Weekly digest
The best engineering reads, once a week.