docs: add minimal reproduction notebook

This commit is contained in:
seeker
2026-07-12 21:41:12 +08:00
parent a50a2470c2
commit 9f40a422be
3 changed files with 571 additions and 1 deletions
+17
View File
@@ -192,6 +192,23 @@ shell history:
hf auth login
```
## Notebook 复现
[`notebooks/alpamayo_0_5b_minimal_reproduction.ipynb`](notebooks/alpamayo_0_5b_minimal_reproduction.ipynb)
提供从环境安装到实验结果的顺序执行流程,包含论文链接、架构说明、权重与数据准备、连接
验证、两阶段训练、结构化轨迹分支、checkpoint 重载和三方结果比较。
安装并启动:
```bash
python -m pip install -e '.[notebook]'
python -m jupyter lab notebooks/alpamayo_0_5b_minimal_reproduction.ipynb
```
Notebook 自动选择运行模式:本地存在完整产物时使用 `reuse`,全新 clone 使用 `full`。
设置 `ALPAMAYO_PROFILE=smoke` 可执行低步数连通性检查。外部模型、manifest 和 checkpoint
可通过 Notebook 中列出的环境变量直接导入。
## 运行
所有命令均从仓库根目录执行。