解構 Claude 的神話:OpenMythos 理論重建框架 | Deconstructing the Claude Mythos: The OpenMythos Theoretical Framework

基於第一原理重建的遞迴深度 Transformer 架構,探索可變深度推理的邊界。 | A first-principles reconstruction of the Recurrent-Depth Transformer, exploring the boundaries of compute-adaptive reasoning.

🔎 工具速覽 / AT A GLANCE

CategoryAI Architecture / Open Source Framework
PricingFree (Open Source)
BestForAI Researchers, LLM Architects, Depth-Variable Reasoning Studies
GitHub Stars⭐ 4148

🚀 引言 / Introduction

OpenMythos 是一個開源的理論實作,旨在透過公開研究文獻,從第一原理出發重建 Claude Mythos 的模型架構。它為研究者提供了一個探索計算自適應與深度可變推理的實驗場。 | OpenMythos is an open-source theoretical implementation aimed at reconstructing the Claude Mythos architecture from first principles using available research literature, providing a sandbox for exploring compute-adaptive and depth-variable reasoning.

🛠️ 核心功能 / Key Features

採用三階段設計:前奏 (Prelude)、循環塊 (Recurrent Block) 與尾聲 (Coda)。 | Implements a three-stage design: Prelude, a looped Recurrent Block, and a Coda.

支援 MLA (Multi-head Latent Attention) 與 GQA (Grouped Query Attention) 切換。 | Supports switchable attention mechanisms between MLA and GQA.

採用包含路由專家與共享專家的稀疏混合專家模型,優化推理效率。 | Utilizes sparse MoE with both routed and shared experts for optimized inference efficiency.

💡 技術亮點 / Tech Highlights

透過 `max_loop_iters` 實現遞迴推理,允許模型根據複雜度調整計算量。 | Achieves recurrent reasoning via `max_loop_iters`, allowing the model to scale computation based on complexity.

完全基於公開文獻與理論推演,不依賴私有數據或內部 API。 | Entirely based on public research and theoretical deduction, independent of proprietary data or APIs.

高度可配置的參數(如 LoRA Rank, Expert Dim),便於快速迭代實驗。 | Highly configurable parameters (e.g., LoRA Rank, Expert Dim) facilitating rapid iterative experimentation.

📦 快速上手 / Quick Start

使用 pip 安裝:`pip install open-mythos` | Install via pip: `pip install open-mythos`

定義 `MythosConfig` 配置(如指定 attn_type 為 'mla' 或 'gqa')。 | Define `MythosConfig` (e.g., specifying attn_type as 'mla' or 'gqa').

透過 `OpenMythos` 類別初始化模型並開始理論驗證。 | Initialize the model via the `OpenMythos` class to begin theoretical verification.

準備好試試 解構 Claude 的神話:OpenMythos 理論重建框架 | Deconstructing the Claude Mythos: The OpenMythos Theoretical Framework 了嗎?

Ready to try 解構 Claude 的神話:OpenMythos 理論重建框架 | Deconstructing the Claude Mythos: The OpenMythos Theoretical Framework?

前往 GitHub 頁面 →

留言

這個網誌中的熱門文章

[Security] wpa_supplicant setup

[拆機] Nexus5 更換背蓋、電池

[我的MAC Air] 2012年中,MAC Air SSD升級