← all repositories
PriorLabs/TabPFN

A foundation model that actually reads your spreadsheet

TabPFN treats tabular data like a language model treats text: pretrained, zero-shot, and weirdly effective on small datasets.

TabPFN
Velocity · 7d
+6.9
★ / day
Trend
accelerating
star history

What it does TabPFN is a pretrained transformer for classification and regression on tabular data. You call TabPFNClassifier().fit(X, y) and it downloads a checkpoint on first use — no hyperparameter tuning, no feature engineering, no scaling or one-hot encoding. The latest TabPFN-3 handles up to 1,000,000 × 200 or 1,000 × 20,000 (rows × features), though row and feature budgets trade off against each other.

The interesting bit The model is pretrained on synthetic tabular data distributions, so it generalizes to new datasets without retraining — a genuine zero-shot approach in a domain where gradient-boosted trees usually dominate. It also recomputes the training set on every predict call, which means batching your predictions is not optional; calling predict on 100 samples separately is roughly 100× slower.

Key highlights

  • Supports both classification and regression out of the box, with older model versions (2.5, 2.6) available via ModelVersion constants
  • GPU strongly recommended; CPU only viable for ≲1,000 samples, and even modest GPUs with ~8GB VRAM work well
  • Ecosystem includes cloud inference client, SHAP interpretability tools, outlier detection, synthetic data generation, and embedding extraction
  • Non-commercial license for TabPFN-2.5+ weights; Apache 2.0 with attribution for code and TabPFN-2 weights
  • Enterprise tier offers distilled MLP/tree ensembles for low-latency production use

Caveats

  • Requires browser-based license acceptance on first use (or manual token setup for headless environments)
  • Weights are non-commercial by default; production deployment needs a commercial license or the enterprise distillation path
  • Apple Silicon users need a specific PyTorch nightly for flash attention without GPU-CPU-GPU roundtrips

Verdict Worth trying if you have small-to-medium tabular problems and hate tuning XGBoost. Skip it if you need real-time inference at scale without the enterprise tier, or if your legal team blanches at non-commercial model licenses.

Frequently asked

What is PriorLabs/TabPFN?
TabPFN treats tabular data like a language model treats text: pretrained, zero-shot, and weirdly effective on small datasets.
Is TabPFN open source?
Yes — PriorLabs/TabPFN is an open-source project tracked on heatdrop.
What language is TabPFN written in?
PriorLabs/TabPFN is primarily written in Python.
How popular is TabPFN?
PriorLabs/TabPFN has 7.7k stars on GitHub and is currently accelerating.
Where can I find TabPFN?
PriorLabs/TabPFN is on GitHub at https://github.com/PriorLabs/TabPFN.

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