← all repositories
google-research/tabfm

A foundation model for spreadsheets that skips the fine-tuning

TabFM exists so you can run classification and regression on messy, mixed-type tables without retraining a model on your data.

1.8k stars Python Language ModelsML Frameworks
tabfm
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

What it does TabFM is a scikit-learn-compatible foundation model for tabular data. You hand it a training table with mixed numerical and categorical columns, and it immediately predicts classes or values on new rows—no per-dataset weight updates needed. The interface feels like a standard classifier or regressor, but under the hood it uses in-context learning, treating your training rows as a prompt rather than a gradient-descent dataset.

The interesting bit Instead of fine-tuning weights on your data, the model reads your entire training set as context at inference time to infer patterns. That removes the training loop entirely, though the README is silent on how this behaves with very wide tables or high-cardinality categories.

Key highlights

  • Zero-shot inference on mixed numerical and categorical data
  • scikit-learn API (TabFMClassifier, TabFMRegressor) with JAX or PyTorch backends
  • Pre-trained weights auto-downloaded from Hugging Face Hub
  • Supports both classification and regression
  • Requires Python 3.11+ and pins specific framework versions (JAX 0.10.1, PyTorch 2.12.1)

Caveats

  • Explicitly disclaimed as not an officially supported Google product.
  • Dependency stack is tightly pinned, so environment compatibility may be brittle.
  • No benchmarks, accuracy claims, or context-window limits are visible in the README.

Verdict Try it if you want a quick zero-shot baseline on tabular data without model training. Pass if you need production guarantees, official support, or performance comparisons against standard tree-based methods.

Frequently asked

What is google-research/tabfm?
TabFM exists so you can run classification and regression on messy, mixed-type tables without retraining a model on your data.
Is tabfm open source?
Yes — google-research/tabfm is open source, released under the Apache-2.0 license.
What language is tabfm written in?
google-research/tabfm is primarily written in Python.
How popular is tabfm?
google-research/tabfm has 1.8k stars on GitHub.
Where can I find tabfm?
google-research/tabfm is on GitHub at https://github.com/google-research/tabfm.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.