Skip to main content

TabPFN Extensions

PyPI version Downloads License Discord Twitter Follow Contributions Welcome Last Commit colab

Interactive Notebook Tutorial

Installation

# Clone and install the repository
pip install "tabpfn-extensions[all] @ git+https://github.com/PriorLabs/tabpfn-extensions.git"

Available Extensions

  • interpretability: Explain TabPFN predictions with SHAP values and feature selection
  • many_class: Handle classification problems with more classes than your TabPFN checkpoint supports
  • unsupervised: Data generation and outlier detection
  • embedding: Get TabPFN's internal dense sample embeddings
  • image: Put pictures in the table: declared image columns, holding file paths, base64, bytes or PIL images, become frozen DINOv3 features before TabPFN sees them
  • tabebm: Data augmentation using TabPFN-based Energy-Based Models
  • pval_crt: Statistical feature relevance testing (p-values)
  • bayesian_optimization: Bayesian optimization with TabPFN as the surrogate model and differentiable Expected Improvement

See the Documentation section below for guides, examples, and per-extension READMEs.

Backend Options

Many TabPFN Extensions works with two TabPFN implementations:

  1. TabPFN Package — Full PyTorch implementation for local inference:

    pip install tabpfn
    
  2. TabPFN Client — Lightweight API client for cloud-based inference:

    pip install "tabpfn-client>=0.2.7"
    

Choose the backend that fits your needs - most extensions work with either option!

Exceptions to this are embedding and bayesian_optimization, which only work with the local tabpfn package.

Documentation

Documentation for tabpfn-extensions is spread across several sources. If you are new to the project, the examples are usually the fastest way to get started; for deeper conceptual guides, see the TabPFN Docs pages.

Examples

Runnable scripts and notebooks for extensions and general use cases live in the examples/ directory of this repository:

  • bayesian_optimization/ — Bayesian optimization with TabPFN as the surrogate and differentiable Expected Improvement
  • embedding/ — access TabPFN's internal dense sample embeddings
  • image/ — pictures as columns, embedded by a frozen DINOv3 and reduced by PCA
  • interpretability/ — SHAP values, partial dependence plots, feature selection
  • many_class/ — classification with more classes than your checkpoint supports
  • predictive_distribution/ — visualize the full predictive distribution from TabPFNRegressor and derive point estimates / credible intervals
  • pval_crt/ — statistical feature relevance testing
  • survival/ — survival analysis
  • tabebm/ — data augmentation via TabEBM
  • unsupervised/ — data generation, imputation, and outlier detection

TabPFN Docs pages

In-depth guides for selected extensions are available on docs.priorlabs.ai:

Per-extension READMEs

Some extensions ship a dedicated README alongside their source code:

Interactive notebook

The main TabPFN demo notebook also covers several extensions — in particular the unsupervised and interpretability extensions:

Open In Colab

License

This project is licensed under the Apache License 2.0 — see the LICENSE file for details.

Telemetry

For details on telemetry, please see our Telemetry Reference and our Privacy Policy.

For Contributors

Interested in adding your own extension? We welcome contributions!

We use uv to manage the project's environment, so install that first.

# Clone and set up for development
git clone https://github.com/PriorLabs/tabpfn-extensions.git
cd tabpfn-extensions
uv sync
source .venv/bin/activate

# If you add optional dependencies for your extension in pyproject.toml, install them
# like this
uv sync --extra [your extension name]

# Test your extension with fast mode
FAST_TEST_MODE=1 pytest tests/test_your_extension.py -v

See our Contribution Guide for more details.

Contributors


Built with ❤️ by the TabPFN community

Metadata

Release files for tabpfn-extensions 0.6.3

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

Source distribution (sdist)

Source distribution for tabpfn-extensions 0.6.3
File Size Uploaded
tabpfn_extensions-0.6.3.tar.gz 154.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tabpfn-extensions 0.6.3
File Interpreter ABI Platform
tabpfn_extensions-0.6.3-py3-none-any.whl Python 3 none any Details

Total release size: 277.6 kB

Release files / tabpfn_extensions-0.6.3.tar.gz

Download URL tabpfn_extensions-0.6.3.tar.gz
Size 154.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ff8756d2ae9146920165c0138b21dbb8e86a2d3e0cc106ce1d76324adb68211d
BLAKE2b-256 checksum
How to use checksums
76e6bf599982b235116a061ef7681433d897a1c4070c7b3c8f0a60130a936c77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release files / tabpfn_extensions-0.6.3-py3-none-any.whl

Download URL tabpfn_extensions-0.6.3-py3-none-any.whl
Size 123.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9305e495cd1c7b572db63b301ccd149e4b0e7769c70a1058f76a1430caacbf63
BLAKE2b-256 checksum
How to use checksums
35b25c15d56b777a96bab66d81a2db959da8c24b3b6d755c8604184527a21b4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.3 This release

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.0.4

2 release files

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