Skip to main content
Looking for usage documentation? Check out Fine tuning.

FinetunedTabPFNBase

View source
Abstract base class for fine-tuning TabPFN models. This class encapsulates the shared fine-tuning logic, allowing you to fine-tune TabPFN on a specific dataset using the familiar .fit() and .predict() API.
Parameters

FinetunedTabPFNBase.finetune_model_version

View source
Model version to fine-tune; falls back to the package default version. When model_version is not set explicitly, this resolves to settings.tabpfn.model_version (the same default a plain TabPFNClassifier/TabPFNRegressor uses), so fine-tuning tracks the current default model version instead of a hardcoded one. Returns

FinetunedTabPFNBase.predict

View source
Predict target values for X.
Parameters
Returns

FinetunedTabPFNBase.fit

View source
Fine-tune the TabPFN model on the provided training data.
Parameters
Returns