add executable RECAP reproduction notebook

This commit is contained in:
seeker
2026-07-12 21:30:40 +08:00
parent bd88a46b23
commit e951035d9b
6 changed files with 436 additions and 0 deletions
+1
View File
@@ -6,4 +6,5 @@ __pycache__/
.venv/
data/
outputs/**/*.pt
notebook_runs/
.DS_Store
+10
View File
@@ -88,6 +88,16 @@ python -m pip install -U pip
python -m pip install -e '.[dev]'
```
完整的交互式复现入口见
[`notebooks/pi06_recap_minimal_reproduction.ipynb`](notebooks/pi06_recap_minimal_reproduction.ipynb)。
它包含论文链接、结构说明、环境安装、数据/checkpoint 本地导入或 URL 下载、
测试、训练、评估与结果图展示。启动方式:
```bash
python -m pip install -e '.[dev,notebook]'
jupyter lab notebooks/pi06_recap_minimal_reproduction.ipynb
```
默认配置读取:
```text
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

+5
View File
@@ -22,6 +22,11 @@ dependencies = [
dev = [
"pytest>=8.0",
]
notebook = [
"ipykernel>=6.29",
"jupyterlab>=4.2",
"nbclient>=0.10",
]
[project.scripts]
pi06mini-train = "pi06mini.train:main"