sapientinc

    sapientinc/HRM

    #268 this week

    Hierarchical Reasoning Model Official Release

    deep-learning
    llm
    brain-inspired-ai
    large-language-models
    reasoning
    Python
    Apache-2.0
    12.7K stars
    1.8K forks
    12.7K GitHub watchers
    Updated Oct 20, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #268 of 2,531 repositories GStars tracks this week (top 11%).

    The project lists 5 contributors on GitHub.

    Peaked at #14 in the weekly ranking the week of Oct 12, its best in the past year.

    Use Cases & Benefits

    • Implements a brain-inspired hierarchical recurrent model for efficient and stable complex sequential reasoning tasks in AI.
    • Achieves high reasoning performance with only 27 million parameters and minimal training data, without pre-training or chain-of-thought supervision.
    • Use for solving complex logic puzzles like Sudoku with limited training samples on consumer-grade GPUs.
    • Use for benchmarking and advancing artificial general intelligence capabilities on the Abstraction and Reasoning Corpus (ARC).
    • Use for optimal pathfinding and decision-making in large maze environments requiring multi-scale planning and computation.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present

    Watch-outs

    • No commits in the last six months (last push Mar 2026).
    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Reasoning, the process of devising and executing complex goal-oriented action sequences, remains a critical challenge in AI. Current large language models (LLMs) primarily employ Chain-of-Thought (CoT) techniques, which suffer from brittle task decomposition, extensive data requirements, and high latency. Inspired by the hierarchical and multi-timescale processing in the human brain, we propose the Hierarchical Reasoning Model (HRM), a novel recurrent architecture that attains significant computational depth while maintaining both training stability and efficiency. HRM executes sequential reasoning tasks in a single forward pass without explicit supervision of the intermediate process, through two interdependent recurrent modules: a high-level module responsible for slow, abstract planning, and a low-level module handling rapid, detailed computations. With only 27 million parameters, HRM achieves exceptional performance on complex reasoning tasks using only 1000 training samples. The model operates without pre-training or CoT data, yet achieves nearly perfect performance on challenging tasks including complex Sudoku puzzles and optimal path finding in large mazes. Furthermore, HRM outperforms much larger models with significantly longer context windows on the Abstraction and Reasoning Corpus (ARC), a key benchmark for measuring artificial general intelligence capabilities. These results underscore HRM’s potential as a transformative advancement toward universal computation and general-purpose reasoning systems.

    Excerpt from the sapientinc/HRM README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    1.8K-18

    Open issues

    75+0

    Compared with peers in Deep Learning

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 18, by 7-day star growth

    sapientinc/HRM compared with Deep Learning repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    koharu-rs/koharu6.4K+1926330 days ago
    poloclub/transformer-explainer9.0K+14375858 days ago
    vllm-project/vllm94.9K+0753 days ago
    sapientinc/HRM12.7K+075—
    Project-MONAI/MONAI8.8K+07520 days ago
    opengeos/segment-geospatial4.2K+07559 days ago
    Category median8.8K+075—

    Discover Repositories

    Search across tracked repositories by name or description