スキル一覧に戻る
yonesuke

jax

by yonesuke

SKILL.md

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

SKILL.md


name: JAX description: Essential tools for using JAX in machine learning and mathematical analysis, covering core concepts, transformations, ML specifics, control flow, and parallelism.

JAX Skill

JAX is Autograd and XLA, brought together for high-performance machine learning research.

Contents

  • Concepts & Theory
    • Immutability
    • The 4 Transformations
    • Pytrees
  • Code Examples
    • jit, grad, vmap, random usage
    • Control Flow (scan, cond, fori_loop)
    • Parallelism (sharding)

Common Workflows

1. Developing a new Model

  1. Define your parameters as a Pytree (dict/dataclass).
  2. Define your forward pass function (pure).
  3. Define your loss function.
  4. Use jax.value_and_grad to get gradients.
  5. Use jax.jit to speed up the update step.
  6. See examples.md for snippets.

2. Debugging Shapes/NaNs

  1. Disable JIT: jax.config.update("jax_disable_jit", True) to debug with standard python tools.
  2. Use jax.debug.print inside JITted functions.

スコア

総合スコア

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

レビュー

💬

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