Executable Notebooks
The repository’s Java notebooks run on JDK 25 through the DFLib JJava kernel. They execute against either the current source tree or an exact staged or published Models release. Checked-in notebooks include their last validated outputs so they render as complete examples without starting Jupyter.
| Notebook | Coverage | Modes |
|---|---|---|
|
Synthetic GGUF generation, real Java backend loading, metadata, diagnostics, forward execution, and generation |
Source, release |
|
Plain Java, LangChain4j, and Spring AI adapter behavior over one generation contract |
Source, release |
|
Grounded answers, derived citations, retrieval abstention, and extractive fallback |
Source, release |
Browse the notebook sources on GitHub.
Launch
cd notebooks
./docker-compose.sh up --build
Open http://localhost:8888. The local development server does not require a
token or password. The launcher pulls the public container images anonymously
and does not read the host Docker credential store.
Use release mode without editing notebook cells:
MODELS_NOTEBOOK_MODE=release \
MODELS_VERSION=0.5.20 \
./docker-compose.sh up --build
Verify Outputs
cd notebooks
./docker-compose.sh build
./docker-compose.sh run --rm --no-deps jupyter \
bash /home/jovyan/work/models/notebooks/scripts/test-notebooks.sh
The verifier rejects unexecuted cells, Java exceptions, stderr, suspicious error text, stale source digests, and incorrect notebook-specific results. The notebook README contains the staged-release and output-promotion commands.
