Skip to main content
TabSTAR Logo

📚 TabSTAR: A Tabular Foundation Model for Tabular Data with Text Fields


🚀 TabSTAR v1.1 is out

We released TabSTAR v1.1, a new generation of pretrained TabSTAR models. It ships alongside the original models, in its own module, so existing code keeps working unchanged:

import estimators
TabSTAR tabstar.tabstar_model TabSTARClassifier, TabSTARRegressor
TabSTAR v1.1 tabstar.tabstarv1p1_model TabSTARv1p1Classifier, TabSTARv1p1Regressor

The v1.1 pretraining code lives in tabstarv1p1_pretrain/; a detailed writeup of what changed will follow.


Install

To fit a pretrained TabSTAR model to your own dataset, install the package using:

pip install tabstar

Quickstart Example

You can quickly get started with TabSTAR using the following example.

from importlib.resources import files
import pandas as pd
from sklearn.model_selection import train_test_split

from tabstar.tabstar_model import TabSTARClassifier

csv_path = files("tabstar").joinpath("resources", "imdb.csv")
x = pd.read_csv(csv_path)
y = x.pop('Genre_is_Drama')
x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.1)
# For regression tasks, replace `TabSTARClassifier` with `TabSTARRegressor`.
tabstar = TabSTARClassifier()
tabstar.fit(x_train, y_train)
# tabstar.save("my_model_path.pkl")
# tabstar = TabSTARClassifier.load("my_model_path.pkl")
# y_pred = tabstar.predict(x_test)
metric = tabstar.score(X=x_test, y=y_test)
print(f"AUC: {metric:.4f}")

To use TabSTAR v1.1 instead, swap the import and the class name:

from tabstar.tabstarv1p1_model import TabSTARv1p1Classifier, TabSTARv1p1Regressor

tabstar = TabSTARv1p1Classifier()
tabstar.fit(x_train, y_train)
y_pred = tabstar.predict(x_test)
metric = tabstar.score(X=x_test, y=y_test)

fit, predict, predict_proba, score, save and load behave as they do for the original models.

Model cards: classification, regression.

For paper replication, TabSTAR evaluation on benchmarks, custom pretraining or research purposes, see:

🔗 TabSTAR Research Repository

Citation

If you use TabSTAR in your work, please cite:

@inproceedings{
arazi2025tabstar,
title={Tab{STAR}: A Tabular Foundation Model for Tabular Data with Text Fields},
author={Alan Arazi and Eilam Shapira and Roi Reichart},
booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems},
year={2025},
url={https://openreview.net/forum?id=FrXHdcTEzE}
}

License

MIT © Alan Arazi et al.

Metadata

Release files for tabstar 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tabstar 1.2.2
File Size Uploaded Provenance Actions
tabstar-1.2.2.tar.gz 184.5 kB Without provenance Details for tabstar-1.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tabstar 1.2.2
File Interpreter ABI Platform Actions
tabstar-1.2.2-py3-none-any.whl Python 3 none any Details for tabstar-1.2.2-py3-none-any.whl

Total release size: 383.2 kB

Release files / tabstar-1.2.2.tar.gz

Download URL tabstar-1.2.2.tar.gz
Size 184.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8eecb235f7450425873e6c36f5aca1076a0cb07b2b0b6f189ecda3b526263dca
BLAKE2b-256 checksum
How to use checksums
84087c35af16203077a31292ae0f7deda4c20e52834f106b657940b91de012d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / tabstar-1.2.2-py3-none-any.whl

Download URL tabstar-1.2.2-py3-none-any.whl
Size 198.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c632d3ad0e389303cc787b9fcaf9ca50cfab4eb0143f03f2c631d1c678b455ba
BLAKE2b-256 checksum
How to use checksums
cbae7bae8def584515d860f0354dc543cfd1c2a45eeb1939ecee0af16df5bd95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Security for tabstar 1.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page