Software
tabpfn

tabpfn

Foundation Model for Tabular Data via reticulate

34 stars
5 forks
Apache-2.0
R

The tabpfn R package provides an interface to TabPFN (Prior-Fitted Networks), a deep-learning foundation model for tabular data that handles both classification and regression tasks. It wraps the Python TabPFN library via reticulate and exposes it through idiomatic R syntax with standard S3 methods, including formula, x/y, and recipes interfaces.

TabPFN is particularly effective on small tabular datasets, where it can produce accurate predictions without the extensive hyperparameter tuning that traditional models require. The package follows tidymodels conventions, always returning predictions as tibbles with standardized column names. It automatically manages its Python dependencies, installing them into a virtual environment on first use. A GPU is strongly recommended for practical performance, and starting with model version 2.5, users must accept the PriorLabs license and set a TABPFN_TOKEN environment variable.

Contributors#