468
stars
14
commits
6
repos using this model
2
linked in READMEs
Jul 4, 2026
updated
TabFM is a zero-shot tabular foundation model from Google Research. It supports classification and regression on structured/tabular data with mixed numerical and categorical columns, requiring no fine-tuning or hyperparameter search - training examples are passed as context and predictions are made in a single forward pass.
This repository contains the PyTorch weights. For the JAX/Flax weights see google/tabfm-1.0.0-jax.
pip install tabfm[pytorch]
Classification:
from tabfm import TabFMClassifier, tabfm_v1_0_0_pytorch as tabfm_v1_0_0
model = tabfm_v1_0_0.load(model_type="classification")
clf = TabFMClassifier(model=model)
clf.fit(X_train, y_train)
probs = clf.predict_proba(X_test)
Regression:
from tabfm import TabFMRegressor, tabfm_v1_0_0_pytorch as tabfm_v1_0_0
model = tabfm_v1_0_0.load(model_type="regression")
reg = TabFMRegressor(model=model)
reg.fit(X_train, y_train)
preds = reg.predict(X_test)
You can also load directly using the HuggingFace Hub API:
from tabfm.src.pytorch.tabfm_v1_0_0 import TabFM_HF
clf_model = TabFM_HF.from_pretrained("google/tabfm-1.0.0-pytorch", subfolder="classification")
reg_model = TabFM_HF.from_pretrained("google/tabfm-1.0.0-pytorch", subfolder="regression")
| Subfolder | Task | is_classifier |
|---|---|---|
classification/ | Classification (up to 10 classes) | True |
regression/ | Regression | False |
Developed by the Google Research team.
TabFM uses alternating row and column attention to capture both feature interactions and row-level patterns:
Key hyperparameters:
| Parameter | Value |
|---|---|
| Embedding dim | 256 |
| Column attention blocks | 3 (4 heads, 256 induced points) |
| Row attention blocks | 3 (8 heads, 8 CLS tokens) |
| ICL transformer blocks | 24 (8 heads) |
| Feed-forward factor | 4 |
| Max classes | 10 |
| Activation | SwiGLU |
| Fourier features | 32 frequencies |
TabFM was trained on hundreds of millions of synthetic datasets generated dynamically using structural causal models (SCMs). Synthetic data was chosen due to the scarcity of diverse, high-quality open-source tabular datasets and to avoid privacy/licensing concerns with real-world industrial data. The SCM prior encodes inductive biases about causal structure and feature relationships typical in tabular tasks.
TabFM was evaluated on TabArena across 51 datasets
(38 classification, 13 regression). In zero-shot mode - a single forward pass with no
hyperparameter search - TabFM outperforms heavily-tuned supervised baselines including
gradient-boosted trees. The TabFMClassifier.ensemble() preset (feature crosses,
SVD features, NNLS blending) yields further improvements.
See the Google Research blog post for full benchmark details.
TabFM was trained entirely on synthetic data. Performance on specific real-world domains, minority groups, or edge distributions is not fully characterised. Users should evaluate the model on held-out data representative of their use case before deploying in high-stakes settings.
The model weights in this repository are released under the TabFM Non-Commercial License v1.0 - see LICENSE. The source code is Apache 2.0 licensed via google-research/tabfm.
1.0.0
@article{tabfm2026,
title = {TabFM: A Zero-Shot Foundation Model for Tabular Data},
author = {Google Research},
year = {2026},
url = {https://research.google/blog/introducing-tabfm-a-zero-shot-foundation-model-for-tabular-data/}
}
468
stars
14
commits
6
repos using this model
2
linked in READMEs
Jul 4, 2026
updated
TabFM is a zero-shot tabular foundation model from Google Research. It supports classification and regression on structured/tabular data with mixed numerical and categorical columns, requiring no fine-tuning or hyperparameter search - training examples are passed as context and predictions are made in a single forward pass.
This repository contains the PyTorch weights. For the JAX/Flax weights see google/tabfm-1.0.0-jax.
pip install tabfm[pytorch]
Classification:
from tabfm import TabFMClassifier, tabfm_v1_0_0_pytorch as tabfm_v1_0_0
model = tabfm_v1_0_0.load(model_type="classification")
clf = TabFMClassifier(model=model)
clf.fit(X_train, y_train)
probs = clf.predict_proba(X_test)
Regression:
from tabfm import TabFMRegressor, tabfm_v1_0_0_pytorch as tabfm_v1_0_0
model = tabfm_v1_0_0.load(model_type="regression")
reg = TabFMRegressor(model=model)
reg.fit(X_train, y_train)
preds = reg.predict(X_test)
You can also load directly using the HuggingFace Hub API:
from tabfm.src.pytorch.tabfm_v1_0_0 import TabFM_HF
clf_model = TabFM_HF.from_pretrained("google/tabfm-1.0.0-pytorch", subfolder="classification")
reg_model = TabFM_HF.from_pretrained("google/tabfm-1.0.0-pytorch", subfolder="regression")
| Subfolder | Task | is_classifier |
|---|---|---|
classification/ | Classification (up to 10 classes) | True |
regression/ | Regression | False |
Developed by the Google Research team.
TabFM uses alternating row and column attention to capture both feature interactions and row-level patterns:
Key hyperparameters:
| Parameter | Value |
|---|---|
| Embedding dim | 256 |
| Column attention blocks | 3 (4 heads, 256 induced points) |
| Row attention blocks | 3 (8 heads, 8 CLS tokens) |
| ICL transformer blocks | 24 (8 heads) |
| Feed-forward factor | 4 |
| Max classes | 10 |
| Activation | SwiGLU |
| Fourier features | 32 frequencies |
TabFM was trained on hundreds of millions of synthetic datasets generated dynamically using structural causal models (SCMs). Synthetic data was chosen due to the scarcity of diverse, high-quality open-source tabular datasets and to avoid privacy/licensing concerns with real-world industrial data. The SCM prior encodes inductive biases about causal structure and feature relationships typical in tabular tasks.
TabFM was evaluated on TabArena across 51 datasets
(38 classification, 13 regression). In zero-shot mode - a single forward pass with no
hyperparameter search - TabFM outperforms heavily-tuned supervised baselines including
gradient-boosted trees. The TabFMClassifier.ensemble() preset (feature crosses,
SVD features, NNLS blending) yields further improvements.
See the Google Research blog post for full benchmark details.
TabFM was trained entirely on synthetic data. Performance on specific real-world domains, minority groups, or edge distributions is not fully characterised. Users should evaluate the model on held-out data representative of their use case before deploying in high-stakes settings.
The model weights in this repository are released under the TabFM Non-Commercial License v1.0 - see LICENSE. The source code is Apache 2.0 licensed via google-research/tabfm.
1.0.0
@article{tabfm2026,
title = {TabFM: A Zero-Shot Foundation Model for Tabular Data},
author = {Google Research},
year = {2026},
url = {https://research.google/blog/introducing-tabfm-a-zero-shot-foundation-model-for-tabular-data/}
}