DIMER-ready inference pipeline for TabDPT v1.2 (TabDPT-Turbo), an open-weight tabular foundation model from Layer 6 AI for in-context supervised learning.
TabDPTRegressor;E2E + ARTIFACT-INFERENCE, generated by tools/build_notebook.py; see tutorials/README.md) with a verified no-refit artifact reload, plus CI tests that do not download the 254 MB model in routine CI.| Field | Value |
|---|---|
| Upstream package | tabdpt==1.2.0 |
| Upstream inference source | layer6ai-labs/TabDPT-inference commit 9cfb05e0a6bc380ae6c99c08adc8d50dacd4f246 (v1.2.0) |
| Hugging Face model | Layer6/TabDPT |
| Weight file | tabdpt1_2.safetensors |
| HF revision | 4462ffbd1d8dea25d4862d30beed4b70cd596ae5 |
| SHA-256 | 06680220fd66c4524051706b98c1c659a674d19d3a766cd0bb276505e99faccd |
| Weight size | 254,098,072 bytes |
| License | Apache-2.0 |
The weight bytes are not committed to this repository. Runtime acquisition is pinned to the immutable Hugging Face revision and verified before model construction. The local snapshot layout is weights/tabdpt-1.2/ (the MODEL_KEY): the committed dimer-base-manifest.json there lists the checkpoint's path, byte size and SHA-256, stage_missing_files fetches only what is absent at the pinned revision, verify_snapshot re-hashes every entry, and TabDPTRegressionPipeline.from_pretrained(weights_dir=...) pins the verified file as the base checkpoint (see weights/README.md).
DIMER's current tabular transport is reused rather than inventing a new channel:
datasetPreprocessing → DIMER_PREPROCESSING_ARGS_JSONmodelFinetuning → DIMER_HYPERPARAMETERS_JSONFor TabDPT, modelFinetuning is a compatibility transport namespace only. fine_tune must remain false; the other fields control ICL context/inference (n_ensembles, context_size, batch_size, seed). Every manifest key is consumed by tabdpt_regressor_pipeline.dimer_runtime, and CI checks the manifest/runtime key sets for exact equality.
dimer_entrypoint.py reads DIMER_DATASET_DIR, accepts train.csv plus optional val.csv directly or inside one ZIP, applies the requested validation split/support cap, executes TabDPT, and writes result.json, training_context.parquet, and artifact.json under the configured output paths.
python -m venv .venv
. .venv/bin/activate
pip install -e '.[model]'
from sklearn.datasets import load_diabetes
from sklearn.model_selection import train_test_split
from tabdpt_regressor_pipeline import TabDPTRegressionPipeline
frame = load_diabetes(as_frame=True).frame
train, test = train_test_split(frame, test_size=0.2, random_state=42)
pipe = TabDPTRegressionPipeline()
pipe.fit(train, target_column='target')
print(pipe.evaluate(test))
For DIMER, mount/cache the verified base weight through DIMER_BASE_MODEL_PATH so execution does not depend on live internet access.
tutorials/tabdpt_regressor_colab.ipynb (E2E) and its companion tutorials/tabdpt_regressor_artifact_inference_colab.ipynb (ARTIFACT-INFERENCE) are declared under DIMER Notebook Specification 1.1 and are standalone (§3.6): generated by tools/build_notebook.py, each carries the package's three modules verbatim (the generator disables dimer_runtime.py's __main__ guard), the model identity, the snapshot manifest digests and the exact pyproject.toml runtime pins, so the exported notebooks run without this repository (parity enforced by tests/test_notebook_parity.py and tools/validate_release_assets.py). The E2E default path loads scikit-learn's bundled diabetes table (no download), validates it with validate_inputs into an input manifest, splits it, compares training_mean_baseline, conditions the model, writes an evaluation_report (sample-sanity: MAE / RMSE / R² on one seeded holdout), scores new rows with continuous point predictions, exports JSON/CSV plus the DIMER serving artifact, and reloads it across a fresh boundary without refitting preprocessing. The companion consumes an artifact from a separate execution (upload or explicit path), validates it before reconstruction, validates new unlabelled rows into an input manifest, predicts, and writes a not-measurable evaluation report. BYOD is optional and gated off by default. See tutorials/README.md for the registry and docs/release-verification.md for the release gate.
Candidate. Static/unit checks do not constitute clean-runtime notebook evidence. Of the standalone pair, only an earlier E2E blob (0611e073) has a hosted run (Kaggle T4, 2026-09-14, outcome only); the current blobs of both notebooks have no hosted run yet, only GitHub-hosted CI integration execution (not a Colab run). Complete docs/release-verification.md against the exact release revision before calling either notebook release-grade.
TabDPT was pretrained on real-world tabular datasets. Public tutorial/benchmark datasets may overlap directly or indirectly with upstream pretraining. Tutorial metrics are plumbing/sanity checks, not clean evidence of out-of-distribution quality.
This repository is an integration project and is not affiliated with or endorsed by Layer 6 AI or The Toronto-Dominion Bank.
This repository’s code and accompanying documentation were developed with generative AI assistance for code development and technical writing under maintainer direction. The maintainer remains responsible for reviewing the implementation, validating results, and making release decisions. AI assistance does not constitute independent verification, provider endorsement, or release approval.
DIMER-ready inference pipeline for TabDPT v1.2 (TabDPT-Turbo), an open-weight tabular foundation model from Layer 6 AI for in-context supervised learning.
TabDPTRegressor;E2E + ARTIFACT-INFERENCE, generated by tools/build_notebook.py; see tutorials/README.md) with a verified no-refit artifact reload, plus CI tests that do not download the 254 MB model in routine CI.| Field | Value |
|---|---|
| Upstream package | tabdpt==1.2.0 |
| Upstream inference source | layer6ai-labs/TabDPT-inference commit 9cfb05e0a6bc380ae6c99c08adc8d50dacd4f246 (v1.2.0) |
| Hugging Face model | Layer6/TabDPT |
| Weight file | tabdpt1_2.safetensors |
| HF revision | 4462ffbd1d8dea25d4862d30beed4b70cd596ae5 |
| SHA-256 | 06680220fd66c4524051706b98c1c659a674d19d3a766cd0bb276505e99faccd |
| Weight size | 254,098,072 bytes |
| License | Apache-2.0 |
The weight bytes are not committed to this repository. Runtime acquisition is pinned to the immutable Hugging Face revision and verified before model construction. The local snapshot layout is weights/tabdpt-1.2/ (the MODEL_KEY): the committed dimer-base-manifest.json there lists the checkpoint's path, byte size and SHA-256, stage_missing_files fetches only what is absent at the pinned revision, verify_snapshot re-hashes every entry, and TabDPTRegressionPipeline.from_pretrained(weights_dir=...) pins the verified file as the base checkpoint (see weights/README.md).
DIMER's current tabular transport is reused rather than inventing a new channel:
datasetPreprocessing → DIMER_PREPROCESSING_ARGS_JSONmodelFinetuning → DIMER_HYPERPARAMETERS_JSONFor TabDPT, modelFinetuning is a compatibility transport namespace only. fine_tune must remain false; the other fields control ICL context/inference (n_ensembles, context_size, batch_size, seed). Every manifest key is consumed by tabdpt_regressor_pipeline.dimer_runtime, and CI checks the manifest/runtime key sets for exact equality.
dimer_entrypoint.py reads DIMER_DATASET_DIR, accepts train.csv plus optional val.csv directly or inside one ZIP, applies the requested validation split/support cap, executes TabDPT, and writes result.json, training_context.parquet, and artifact.json under the configured output paths.
python -m venv .venv
. .venv/bin/activate
pip install -e '.[model]'
from sklearn.datasets import load_diabetes
from sklearn.model_selection import train_test_split
from tabdpt_regressor_pipeline import TabDPTRegressionPipeline
frame = load_diabetes(as_frame=True).frame
train, test = train_test_split(frame, test_size=0.2, random_state=42)
pipe = TabDPTRegressionPipeline()
pipe.fit(train, target_column='target')
print(pipe.evaluate(test))
For DIMER, mount/cache the verified base weight through DIMER_BASE_MODEL_PATH so execution does not depend on live internet access.
tutorials/tabdpt_regressor_colab.ipynb (E2E) and its companion tutorials/tabdpt_regressor_artifact_inference_colab.ipynb (ARTIFACT-INFERENCE) are declared under DIMER Notebook Specification 1.1 and are standalone (§3.6): generated by tools/build_notebook.py, each carries the package's three modules verbatim (the generator disables dimer_runtime.py's __main__ guard), the model identity, the snapshot manifest digests and the exact pyproject.toml runtime pins, so the exported notebooks run without this repository (parity enforced by tests/test_notebook_parity.py and tools/validate_release_assets.py). The E2E default path loads scikit-learn's bundled diabetes table (no download), validates it with validate_inputs into an input manifest, splits it, compares training_mean_baseline, conditions the model, writes an evaluation_report (sample-sanity: MAE / RMSE / R² on one seeded holdout), scores new rows with continuous point predictions, exports JSON/CSV plus the DIMER serving artifact, and reloads it across a fresh boundary without refitting preprocessing. The companion consumes an artifact from a separate execution (upload or explicit path), validates it before reconstruction, validates new unlabelled rows into an input manifest, predicts, and writes a not-measurable evaluation report. BYOD is optional and gated off by default. See tutorials/README.md for the registry and docs/release-verification.md for the release gate.
Candidate. Static/unit checks do not constitute clean-runtime notebook evidence. Of the standalone pair, only an earlier E2E blob (0611e073) has a hosted run (Kaggle T4, 2026-09-14, outcome only); the current blobs of both notebooks have no hosted run yet, only GitHub-hosted CI integration execution (not a Colab run). Complete docs/release-verification.md against the exact release revision before calling either notebook release-grade.
TabDPT was pretrained on real-world tabular datasets. Public tutorial/benchmark datasets may overlap directly or indirectly with upstream pretraining. Tutorial metrics are plumbing/sanity checks, not clean evidence of out-of-distribution quality.
This repository is an integration project and is not affiliated with or endorsed by Layer 6 AI or The Toronto-Dominion Bank.
This repository’s code and accompanying documentation were developed with generative AI assistance for code development and technical writing under maintainer direction. The maintainer remains responsible for reviewing the implementation, validating results, and making release decisions. AI assistance does not constitute independent verification, provider endorsement, or release approval.