TabPFNClassifier– for classification tasksTabPFNRegressor– for regression tasks
- Your data represents an edge case or niche distribution not well-covered by TabPFN’s priors.
- You want to specialize the model for a single domain (e.g., healthcare, finance, IoT sensors)
Getting Started
The fine-tuning process is similar for classifiers and regressors and shares the same interface as the standardTabPFNClassifier and TabPFNRegressor classes.
- Prepare your dataset: Load and split your data into a train and test set.
-
Configure your model: Initialize a
FinetunedTabPFNClassifierorFinetunedTabPFNRegressorwith your desired finetuning hyperparameters. -
Run fit on your train set: This will run the finetuning training loop for the specified number of epochs.
-
Make predictions with the finetuned model:
GitHub Examples
See more examples and fine-tuning utilities in our TabPFN GitHub repository.