Skip to main content

TabPFN-TS

Zero-Shot Time Series Forecasting with TabPFN

PyPI version colab Discord arXiv

📌 News

  • 15-09-2026: 🚀 v1.3.0 — defaults now use TabPFN-3.5 in both LOCAL and CLIENT mode. Requires tabpfn>=9.0.0 and tabpfn-client>=0.5.3.
  • 12-05-2026: 🚀 v1.1.0 — defaults now ship the TabPFN-TS-3 finetuned checkpoint from the TabPFN-3 report for SOTA forecasting out of the box. Requires tabpfn>=8.0.0.
  • 27-05-2025: 📝 New paper version and v1.0.0 release! Strong GIFT-EVAL results, new AutoSeasonalFeatures, improved CalendarFeatures.
  • 27-01-2025: 🚀 Ranked 1st on GIFT-EVAL benchmark[1]!
  • 10-10-2024: 🚀 TabPFN-TS paper accepted to NeurIPS 2024 TRL and TSALM workshops!

[1] Last checked on: 10/03/2025

✨ Introduction

We demonstrate that the tabular foundation model TabPFN, combined with lightweight feature engineering, enables zero-shot time series forecasting for both point and probabilistic tasks. On the GIFT-EVAL benchmark, our method achieves performance on par with top-tier models across both evaluation metrics.

As of v1.3.0 the package uses TabPFN-3.5 by default — a tabular foundation model pretrained purely on synthetic data. The finetuned TabPFN-TS-3 checkpoint from the TabPFN-3 report stays available.

📖 How does it work?

Our work proposes to frame univariate time series forecasting as a tabular regression problem.

How it works

Concretely, we:

  1. Transform a time series into a table
  2. Extract features and add them to the table
  3. Perform regression on the table using TabPFN
  4. Use regression results as time series forecasting outputs

For more details, see our paper and the TabPFN-3 report.

🧮 Covariate model — what's used vs. what's not

TabPFN-TS treats forecasting as univariate, target-history + known-future covariate regression. Concretely:

Input column type Used? Notes
Target (univariate or multivariate) ✅ Multivariate targets are decomposed into N independent univariate forecasts.
Known dynamic covariates (e.g. holidays) ✅ Future values must be supplied in future_df.
Past dynamic covariates (e.g. weather observations) ❌ Dropped — no future values available.
Static covariates (e.g. item_id, store_size) ❌ Currently dropped.
Engineered temporal features (calendar, sin/cos, …) ✅ Auto-generated by TABPFN_TS_DEFAULT_FEATURES.

If your task relies on past_dynamic or static_columns, performance may be lower than dedicated multivariate / static-aware forecasters.

👉 Why give us a try?

  • Zero-shot forecasting: this method is extremely fast and requires no training, making it highly accessible for experimenting with your own problems.
  • Point and probabilistic forecasting: it provides accurate point forecasts as well as probabilistic forecasts.
  • Known-future covariate support: pass covariates whose future values are known at forecast time (calendar, holidays, scheduled events, demand or weather forecasts) directly alongside the target — see Covariate model for details on what's supported.

On top of that, thanks to tabpfn-client from Prior Labs, you won't even need your own GPU to run fast inference with TabPFN. 😉 We have included tabpfn-client as the default engine in our implementation.

⚙️ Installation

You can install the package via pip:

pip install tabpfn-time-series

Checkpoint

Both modes pin TabPFN-3.5. In LOCAL mode tabpfn downloads its default checkpoint automatically on first init — accept the license at ux.priorlabs.ai first. In CLIENT mode the cloud API serves its v3.5_default model.

For Developers

To install the package in editable mode with all development dependencies, run the following command in your terminal:

pip install -e ".[dev]"
# or with uv
uv pip install -e ".[dev]"

🚀 Getting Started

from tabpfn_time_series import TabPFNTSPipeline

pipeline = TabPFNTSPipeline()  # uses the cloud client by default — no GPU needed
predictions = pipeline.predict_df(context_df, prediction_length=24)

For full walkthroughs:

I want to... Notebook
Use it on my project quickstart.ipynb
Understand how it works how-it-works.ipynb

More examples live in the examples/ directory.

📚 Citation

If TabPFN-TS is useful in your research, please cite the paper (arXiv:2501.02945) and the TabPFN-3 report for the TabPFN-TS-3 checkpoint.

📊 Anonymous Telemetry

This project collects anonymous usage telemetry by default.

The data is used exclusively to help us understand how the library is being used and to guide future improvements.

  • No personal data is collected
  • No code, model inputs, or outputs are ever sent
  • Data is strictly anonymous and cannot be linked to individuals

What we collect

We only collect high-level, non-identifying information such as:

  • Package version
  • Python version
  • How often fit and inference are called, including simple metadata like the dimensionality of the input and the type of task (e.g., classification vs. regression) (⚠️ never the data itself)

See the Telemetry documentation for the full details of events and metadata.

This data is processed in compliance with the General Data Protection Regulation (GDPR) principles of data minimization and purpose limitation.

For more details, please see our Privacy Policy.

How to opt out

If you prefer not to send telemetry, you can disable it by setting the following environment variable:

export TABPFN_DISABLE_TELEMETRY=1

Metadata

Release files for tabpfn-time-series 1.3.0

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-time-series 1.3.0
File Size Uploaded
tabpfn_time_series-1.3.0.tar.gz 892.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tabpfn-time-series 1.3.0
File Interpreter ABI Platform
tabpfn_time_series-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 955.9 kB

Release files / tabpfn_time_series-1.3.0.tar.gz

Download URL tabpfn_time_series-1.3.0.tar.gz
Size 892.5 kB
Tags Source
SHA-256 checksum
How to use checksums
714b80d070bd6e0a8a921107464b97769a3deb3776fece5be663b31f61af1dd4
BLAKE2b-256 checksum
How to use checksums
03bd7b0b4068374e2c1251c124d1f331074a00bcd9865ac11439ee3d54511721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / tabpfn_time_series-1.3.0-py3-none-any.whl

Download URL tabpfn_time_series-1.3.0-py3-none-any.whl
Size 63.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66c4f5123e41a350099afd0fe82b49471ce7be48bd3dffba646a6f3a6924aac8
BLAKE2b-256 checksum
How to use checksums
d4bd5aa88e52eae09e573894638e506f71423fc51bae0099ee3022191a42b6c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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