Skip to main content
TabPFN-2.5 and TabPFN-2.6 are released under a non-commercial license, which you need to accept before the model files can be downloaded. On first use, TabPFN will automatically open a browser window where you can log in via PriorLabs and accept the license terms. Your authentication token is cached locally, so you only need to do this once.
from tabpfn import TabPFNClassifier

# This will open a browser for login and license acceptance on first use
model = TabPFNClassifier()
model.fit(X_train, y_train)

Headless / CI Environments

For environments where a browser is not available (e.g. remote servers, CI pipelines, Docker containers):
  1. Visit https://ux.priorlabs.ai and log in
  2. Go to the License tab and accept the license
  3. Copy your authentication token from your account
  4. Set the TABPFN_TOKEN environment variable:
export TABPFN_TOKEN="your-token-here"
You can also set TABPFN_NO_BROWSER to disable the automatic browser login if needed (e.g. in environments where opening a browser is undesirable).

Google Colab

In Google Colab, the browser-based login flow works automatically. Alternatively, you can set the TABPFN_TOKEN secret:
  • Select “Secrets” from the left-hand menu
  • Create a new secret with name TABPFN_TOKEN and value set to your token
  • Ensure that “Notebook access” is enabled
If access via the browser-based flow is not an option for you, please contact us at sales@priorlabs.ai.