📈 GH Trending Explorer 🎲 Surprise me

← all repos

GrEarl / microgpt-lesson

git clone https://github.com/GrEarl/microgpt-lesson.git

高校生向けLLM教材: Karpathy microgptベース,Google Colab用

—
stars, 24h
—
stars, 7 days
+117
stars, 30 days · #1,960
117
★ total
2
forks · 0 open issues

Star history starts 2026-10-20; the chart appears after the second daily snapshot.

LanguageJupyter Notebook
License—
Created2026-09-24 (26d ago)
Last push26d ago
Watchers0
OwnerUser

Links

README excerpt
# Learn the Basics of Large Language Models with Karpathy's MicroGPT
高校1年生(数学IA履修程度)を対象に,大規模言語モデル(LLM)・GPTの仕組みを,数学とプログラミングの初歩から順番に作って学ぶ教材です。Google Colabで動かせます。
> This is learning material that builds up LLM/GPT from basic math and programming, one piece at a time. It runs on Google Colab.
## 使い方 - How to use
1. 上のバッジからGoogle Colabで開き,「ファイル → ドライブに保存」で自分のコピーを作ります
2. 最初に「共通準備」セルを実行し,そのあと上から順番に実行します(順番どおりに実行すれば,そのまま最後まで動きます)
3. [アニメーション]の動画やグラフは実行結果として保存済みなので,実行しなくても見られます
4. 学習データとグラフ用フォントは実行時に自動でダウンロードされます(インターネット接続が必要です)
> 1. Open it in Google Colab with the badge above, then use "File → Save a copy in Drive" to make your own copy.
> 2. Run the "common setup" cell first, then run the cells in order from top to bottom.
> 3. The [Animation] videos and figures are saved in the notebook, so you can view them without running anything.
> 4. The training data and the graph font are downloaded automatically when you run the cells.
## このリポジトリの構成 - Repository layout
- `*.ipynb`: 教材本体(Colab向けノートブック)
- `_build/`: ノートブックの生成スクリプト一式(教材の修正はここの章ファイル `ch00.py`〜`ch11.py`,`appendix.py` を行います)
 [code] 
## クレジット - Credits
- Andrej Karpathy, microgpt.py (GitHub Gist): この教材のコードの元になったプログラム
- shuheilocale, japanese-personal-name-dataset: 学習データ(MIT License)
- IBM Plex Sans JP: グラフ・動画の日本語フォント(SIL Open Font License)
- manim / 3Blue1Brown: アニメーションの描画ライブラリ