スキル一覧に戻る
yonesuke

mhc

by yonesuke

SKILL.md

0🍴 0📅 2026年1月16日
GitHubで見るManusで実行

SKILL.md


name: mhc description: Implements Manifold-Constrained Hyper-Connections (mHC) to solve residual connection issues using Doubly Stochastic Matrices.

mHC Skill

Manifold-Constrained Hyper-Connections (mHC) uses Doubly Stochastic Matrices to improve Deep Learning stability.

Contents

  • Examples
    • Full JAX implementation of sinkhorn_knopp and mhc_layer_forward.
  • Deep Theory
    • Motivation, stability proofs, and scalability arguments.

Usage

Use this skill when implementing Deep Transformers (1000+ layers) where standard residual connections fail (Gradient Vanishing, Representation Collapse).

# Quick Ref: Sinkhorn-Knopp (See examples.md for full context)
def sinkhorn_knopp(log_matrix, n_iters=20):
    M = jnp.exp(log_matrix)
    def body(i, m):
        m /= m.sum(axis=1, keepdims=True)
        m /= m.sum(axis=0, keepdims=True)
        return m
    return jax.lax.fori_loop(0, n_iters, body, M)

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です