Automatic Setup (recommended)
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.Notebooks
If you run TabPFN via a Notebook, the browser-based setup will not be available. Instead, you can follow these steps:- Visit https://ux.priorlabs.ai and log in
- Go to the Licenses tab and accept the license
- Go to the API Keys tab and copy your API key
- In your notebook:
Google Colab
In Colab, itâs recommended that you set theTABPFN_TOKEN secret so that you donât have to go through the license flow each time:
- Visit https://ux.priorlabs.ai and log in
- Go to the Licenses tab and accept the license
- Go to the API Keys tab and copy your API key
- In Colab, select âSecretsâ from the left-hand menu
- Create a new secret with name
TABPFN_TOKENand value set to your API key - Ensure that âNotebook accessâ is enabled
Manual Setup
For environments where neither a browser nor outbound internet connectivity for downloading the model weights is available:- Visit https://ux.priorlabs.ai and log in
- Go to the Licenses tab and accept the license
- Click âModel Weightsâ to download the weights. Place them into a folder
/path/to/tabpfn-weights - Set the environment variable
export TABPFN_MODEL_CACHE_DIR=/path/to/tabpfn-weights - Run your script:
TABPFN_NO_BROWSER to disable the automatic browser login if needed (e.g. in environments where opening a browser is undesirable).
If access via any of these options is not an option for you, please contact us at sales@priorlabs.ai.