Zero-shot time series forecasting with TabPFNv2
Project description
TabPFN-TS
Zero-Shot Time Series Forecasting with TabPFNv2
📌 News
- 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 TabPFNv2, 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.
📖 How does it work?
Our work proposes to frame univariate time series forecasting as a tabular regression problem.
Concretely, we:
- Transform a time series into a table
- Extract features and add them to the table
- Perform regression on the table using TabPFNv2
- Use regression results as time series forecasting outputs
For more details, please refer to our paper.
👉 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.
- Native covariate support: it seamlessly incorporates external features (weather, holidays, promotions) with no preprocessing required.
On top of that, thanks to tabpfn-client from Prior Labs, you won't even need your own GPU to run fast inference with TabPFNv2. 😉 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
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
| I want to... | Notebook |
|---|---|
| Use it on my project | quickstart.ipynb |
| Understand how it works | how-it-works.ipynb |
Additionally, we have provided more example usage in the examples directory.
📊 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) (:warning: 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tabpfn_time_series-1.0.10.tar.gz.
File metadata
- Download URL: tabpfn_time_series-1.0.10.tar.gz
- Upload date:
- Size: 828.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58721378bff8580f6d3a9c4a78c434a6ae8829c87e73ae4a83adba7d11dad9eb
|
|
| MD5 |
fff6a5542fa5316a495e4e6298097f70
|
|
| BLAKE2b-256 |
09414cfadac54a168d587b08675b1e304074d27c7f191f9433ea78281c25ef7a
|
File details
Details for the file tabpfn_time_series-1.0.10-py3-none-any.whl.
File metadata
- Download URL: tabpfn_time_series-1.0.10-py3-none-any.whl
- Upload date:
- Size: 49.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3c32d8e782363d833c3c000a75b9e93ef54f7f193645b4f4fd02dea70093071
|
|
| MD5 |
8ecfc93a3870fbe5410aa26164192bc5
|
|
| BLAKE2b-256 |
2571cc0721e271f9a8b449fc111a6bd2651372b45fd702d573ee4d2c4500f4f6
|