nums-ai/causilo

A pretrained tabular foundation model for classification and regression by Nums AI Inc.

Python

92

17 commits

updated Sep 17, 2026

See the code

README

Causilo

Causilo is a pretrained tabular foundation model from Nums AI Inc., supporting classification and regression through a scikit-learn interface.

Apache-2.0 code · Causilo License v1.0 model weights · License & contact

Installation

Python 3.10–3.12 and PyTorch 2.13+ are required.

pip install causilo

The first fit automatically downloads and caches the task's checkpoint. device="auto" uses CUDA when available, otherwise CPU.

Quick start

from causilo import CausiloClassifier, CausiloRegressor

classifier = CausiloClassifier(n_estimators=8, random_state=42)
classifier.fit(X_train, y_train)
labels = classifier.predict(X_test)
probabilities = classifier.predict_proba(X_test)

regressor = CausiloRegressor(n_estimators=8, random_state=42)
regressor.fit(X_train, y_train)
predictions = regressor.predict(X_test)

Inputs can be NumPy arrays or pandas DataFrames, including categorical features and missing feature values. Use pandas categorical dtype for numeric category codes. NumPy object arrays infer numeric columns; strings and Booleans remain categorical. Prediction reuses the fitted schema, including handling unseen categories.

The classification checkpoint has a native 10-class head. Datasets with more classes are handled automatically through deterministic error-correcting output codes. Regression returns mean predictions by default and also supports median and quantile predictions. Targets must not be missing. See runnable classification and regression examples.

Benchmarks

Evaluated using the official TabArena pipeline: 51 datasets, 51 Lite splits and 816 Full splits, using the default configuration with eight estimators and seed 42. System methods are excluded. Full plots show the top 16 model families by their best Elo, with default, tuned and ensembled variants.

TabArena Full

TaskElo positionElo ↑Improvability ↓
Overall11792.90.0684
Classification11771.80.0875
Regression12032.60.0125
TabArena Lite results
TaskElo positionElo ↑Improvability ↓
Overall11817.40.0596
Classification11780.10.0747
Regression12168.20.0155

Overall performance

Overall — TabArena Full, classification and regression combined.

Classification and regression

Classification performance

Classification — TabArena Full, classification datasets only.

Regression performance

Regression — TabArena Full, regression datasets only.

Local H100 80 GB comparison, one GPU and eight physical CPU cores per job:

ModelFit (s/1k)Predict (s/1k)CPU (GiB)GPU (GiB)
Causilo2.5040.2511.948.15
TabICLv23.4490.30328.37
TabPFN-34.180.6862.870.88

Times are median seconds per 1,000 rows; memory is mean peak usage during fit only. Protocol, task-level resources and complete leaderboards.

Options

ParameterDefaultBehavior
n_estimators8Number of ensemble members to evaluate
random_state42Nonnegative integer seed for feature and class permutations
device"auto"One available CUDA device, otherwise CPU; explicit "cpu" or "cuda:0" is supported
use_kv_cacheFalsePrepare and retain attention keys and values during fit
retain_preprocessingTrueRetain transformed training tables for later prediction

Refit after changing options. Use device="cuda:0" to select a specific GPU, or CUDA_VISIBLE_DEVICES to control which GPUs are available.

Ensembles cycle through none, rank2gaussian, robust and power normalization. See inference details for quantile prediction, precision and reproducibility.

Repeated prediction

Set use_kv_cache=True to move reusable context computation into fit, trading additional device memory for repeated prediction speed. With retain_preprocessing=False, fitted transforms are retained but transformed training tables are recomputed. See cached prediction.

Fitted-state storage

import joblib

joblib.dump(classifier, "classifier.joblib")
restored = joblib.load("classifier.joblib")

Saved state includes fitted preprocessing and optional K/V caches, but excludes pretrained weights. Restoration loads the pinned checkpoint and reuses saved caches. It requires matching Causilo and dependency versions, including Python major/minor. See save/restore.

License & contact

Code is licensed under Apache-2.0; model weights are separately licensed under Causilo License v1.0. Non-commercial research and free research redistribution are permitted under its conditions. Commercial or production use, and hosted/API/SaaS services whether paid or free, require separate licenses. Contact contact@nums.world.

Contributors

Chessjeong

8 commits

dooho00

6 commits

morcellinus

3 commits

nums-ai/causilo

A pretrained tabular foundation model for classification and regression by Nums AI Inc.

Python

92

17 commits

updated Sep 17, 2026

See the code

README

Causilo

Causilo is a pretrained tabular foundation model from Nums AI Inc., supporting classification and regression through a scikit-learn interface.

Apache-2.0 code · Causilo License v1.0 model weights · License & contact

Installation

Python 3.10–3.12 and PyTorch 2.13+ are required.

pip install causilo

The first fit automatically downloads and caches the task's checkpoint. device="auto" uses CUDA when available, otherwise CPU.

Quick start

from causilo import CausiloClassifier, CausiloRegressor

classifier = CausiloClassifier(n_estimators=8, random_state=42)
classifier.fit(X_train, y_train)
labels = classifier.predict(X_test)
probabilities = classifier.predict_proba(X_test)

regressor = CausiloRegressor(n_estimators=8, random_state=42)
regressor.fit(X_train, y_train)
predictions = regressor.predict(X_test)

Inputs can be NumPy arrays or pandas DataFrames, including categorical features and missing feature values. Use pandas categorical dtype for numeric category codes. NumPy object arrays infer numeric columns; strings and Booleans remain categorical. Prediction reuses the fitted schema, including handling unseen categories.

The classification checkpoint has a native 10-class head. Datasets with more classes are handled automatically through deterministic error-correcting output codes. Regression returns mean predictions by default and also supports median and quantile predictions. Targets must not be missing. See runnable classification and regression examples.

Benchmarks

Evaluated using the official TabArena pipeline: 51 datasets, 51 Lite splits and 816 Full splits, using the default configuration with eight estimators and seed 42. System methods are excluded. Full plots show the top 16 model families by their best Elo, with default, tuned and ensembled variants.

TabArena Full

TaskElo positionElo ↑Improvability ↓
Overall11792.90.0684
Classification11771.80.0875
Regression12032.60.0125
TabArena Lite results
TaskElo positionElo ↑Improvability ↓
Overall11817.40.0596
Classification11780.10.0747
Regression12168.20.0155

Overall performance

Overall — TabArena Full, classification and regression combined.

Classification and regression

Classification performance

Classification — TabArena Full, classification datasets only.

Regression performance

Regression — TabArena Full, regression datasets only.

Local H100 80 GB comparison, one GPU and eight physical CPU cores per job:

ModelFit (s/1k)Predict (s/1k)CPU (GiB)GPU (GiB)
Causilo2.5040.2511.948.15
TabICLv23.4490.30328.37
TabPFN-34.180.6862.870.88

Times are median seconds per 1,000 rows; memory is mean peak usage during fit only. Protocol, task-level resources and complete leaderboards.

Options

ParameterDefaultBehavior
n_estimators8Number of ensemble members to evaluate
random_state42Nonnegative integer seed for feature and class permutations
device"auto"One available CUDA device, otherwise CPU; explicit "cpu" or "cuda:0" is supported
use_kv_cacheFalsePrepare and retain attention keys and values during fit
retain_preprocessingTrueRetain transformed training tables for later prediction

Refit after changing options. Use device="cuda:0" to select a specific GPU, or CUDA_VISIBLE_DEVICES to control which GPUs are available.

Ensembles cycle through none, rank2gaussian, robust and power normalization. See inference details for quantile prediction, precision and reproducibility.

Repeated prediction

Set use_kv_cache=True to move reusable context computation into fit, trading additional device memory for repeated prediction speed. With retain_preprocessing=False, fitted transforms are retained but transformed training tables are recomputed. See cached prediction.

Fitted-state storage

import joblib

joblib.dump(classifier, "classifier.joblib")
restored = joblib.load("classifier.joblib")

Saved state includes fitted preprocessing and optional K/V caches, but excludes pretrained weights. Restoration loads the pinned checkpoint and reuses saved caches. It requires matching Causilo and dependency versions, including Python major/minor. See save/restore.

License & contact

Code is licensed under Apache-2.0; model weights are separately licensed under Causilo License v1.0. Non-commercial research and free research redistribution are permitted under its conditions. Commercial or production use, and hosted/API/SaaS services whether paid or free, require separate licenses. Contact contact@nums.world.

Contributors

Chessjeong

8 commits

dooho00

6 commits

morcellinus

3 commits

Languages

Python

100.0%