2. Architecture
This page describes the repository as a notebook-driven ML lab rather than as a deployable service. The primary runtime objects are experiment directories, notebook execution tiers, validation scripts, and documentation surfaces.
Diagram provenance and regeneration rules are tracked in Diagram Provenance.
1. System Context
The diagram below is generated as a standalone HTML architecture artifact and embedded into the documentation site.
Open the diagram in a full page.
2. Runtime Flow
The runtime flow diagram shows the supported entry paths and the invariant that notebook code
resolves ./data and ./runs from the task directory.
Open the runtime flow diagram in a full page.
- A contributor opens the repository through a local venv, Docker image, Codespaces, or the vendored genai-vanilla JupyterHub stack.
- They run or edit an experiment under
notebooks/<task>/. - Notebook-local
./data/and./runs/paths resolve inside that experiment directory. Makefiletargets execute notebooks by changing into each notebook directory before invoking papermill.scripts/verify_repo.py, pytest, ruff, and CI verify structure, documentation, and public notebook surfaces before changes are merged.- MkDocs builds this documentation site from checked-in Markdown and publishes it through GitHub Pages.
3. Notebook Execution Sequence
The execution sequence diagram traces a task notebook from papermill parameters through training, ranking, visualization, run persistence, and output-path verification.
Open the notebook execution sequence diagram in a full page.
4. Documentation Publishing
The publishing diagram describes the canonical documentation sources, generated site, wiki signpost, and repository metadata surfaces.
Open the documentation publishing diagram in a full page.
5. Boundary Decisions
notebooks/archive/is preserved as read-only historical material and excluded from active notebook validation.thekaveh-nnx[lm]==0.2.0is consumed from PyPI; shared library changes land upstream inthekaveh/NNxbefore this repo bumps the pin.- The quantization notebook is active but manual-only until the pinned Torch stack can satisfy
torchao>=0.17.