LightPFN

Code on GitHub Package on PyPI 1.5 technical report (PDF) License Apache 2.0

Small tabular foundation models for classification and regression, pretrained only on synthetic data. fit stores the training set as context; predict_proba, predict and predict_quantiles answer in one forward pass, with no training on your data and no hyperparameters to tune. They run on CPU, CUDA, ROCm and Vulkan GPUs. Code, docs and training pipeline: github.com/GioOtto/LightPFN. Apache 2.0, code and weights.

pip install LightPFN
from lightpfn import LightPFNClassifier, LightPFNRegressor

proba = LightPFNClassifier().fit(X_train, y_class).predict_proba(X_test)  # downloads classifier/
reg = LightPFNRegressor().fit(X_train, y_value)                           # downloads regressor/
pred, q = reg.predict(X_test), reg.predict_quantiles(X_test, quantiles=[0.1, 0.9])

The package loads these weights at a pinned commit. NumPy arrays and pandas DataFrames with categorical, string, boolean and missing values are accepted; cat="auto" detects categorical columns.

Models

classifier/ regressor/
Task 2 to 10 classes mean and 999 quantiles
Parameters 4,609,472 4,772,519
Default inference 4 members, up to 20,000 context rows 2 members, up to 50,000 context rows
Training synthetic tasks only (graph and rule priors), up to 60,000 rows, fine-tuned on 64 to 500 features fine-tuned from the classifier trunk on a synthetic regression prior

No real datasets, no distillation, no weights or outputs of other tabular foundation models were used in training. The root model.safetensors and config.json are the 1.0/1.1 classifier.

Evaluation

Benchmark Result
TabArena official leaderboard, all 51 datasets (1.5.1, 11 November 2026) 31st of 99, Elo 1447 (+53 / -61), above every tree-based method; on the Pareto fronts of Elo against train and inference time
TabArena, 38 classification / 13 regression datasets 28th of 103 (Elo 1468) / 47th of 101 (Elo 1431, default CatBoost 1410)
23 OpenML regression datasets outside TabArena lower RMSE than default CatBoost on 22 of 23
GPU speed, TabArena protocol, 31 classification tasks, RTX 5090 (1.5.1 vs 1.1.0) 1.65x faster training, 1.64x faster prediction

Larger foundation models remain ahead, clearly so in regression. Details: RESULTS.md and the 1.5 report (the 1.1 report covers the earlier model).

Citation

@techreport{ottoboni2026lightpfn15,
  title  = {{LightPFN} 1.5: Native categoricals, quantile regression, wide tables, and fast portable inference under 5 million parameters},
  author = {Ottoboni, Giorgio},
  year   = {2026},
  url    = {https://github.com/GioOtto/LightPFN/blob/main/paper/LightPFN15_report.pdf}
}
Downloads last month
160
Safetensors
Model size
4.6M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support