/ Модель

Характеристики

Лицензия
Apache 2.0
Архитектура
cell_transformer · dense
Библиотека
pytorch
Опубликована
8 ноя 2026

minipfn-tabpfn-v2-5-regressor

Регрессия по таблицам7 профессий
217скачиваний за 30 дней0лайковвеса обновлены10 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Самостоятельная реализация TabPFN-2.5 для предсказания числовых значений по табличным данным с контекстным обучением и ансамблем из восьми моделей.

aiden-jeon выпустил minipfn TabPFN-2.5 regressor — самостоятельную реализацию регрессора TabPFN-2.5 с нуля, а не официальный чекпойнт TabPFN. Модель использует архитектуру Transformer для табличных данных с 14,67 млн параметров, 18 слоями и ансамблем из восьми участников. На вход принимает табличные признаки и обучающие строки, которые используются как контекст при предсказании; выдаёт распределение целевой переменной и усреднённые предсказания регрессии. Обучение проводилось на синтетическом априорном распределении TabICL, без дообучения на реальных данных.

Модель предназначена для регрессии по табличным данным. Обучение охватывало таблицы до 500 признаков и 8192 обучающих строк; при этом автор сообщает о возможном исчерпании памяти на особенно крупных таблицах. Это воспроизведение с собственными решениями по ширине модели, обучающему рецепту и предобработке, поэтому результаты могут отличаться от официальной модели и опубликованного отчёта. Распространяется по лицензии Apache-2.0.

Сценарии применения

  • прогноз числового показателя по строкам таблицы
  • оценка стоимости или спроса по табличным признакам
  • регрессия на небольшом наборе обучающих примеров
  • построение распределения возможных значений целевой переменной

Ограничения

Модель обучена только на синтетическом априорном распределении и не дообучалась на реальных данных; это неофициальное воспроизведение с собственными архитектурными и обучающими решениями. На очень крупных таблицах инференс может исчерпать память GPU, а на некоторых наборах данных ошибка заметно выше, чем в опубликованной работе.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит7

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

minipfn TabPFN-2.5 regressor (reproduction)

A from-scratch reimplementation of the TabPFN-2.5 regressor (TabPFN-2.5: Advancing the State of the Art in Tabular Foundation Models, 2025). It applies the architecture changes that report lists to our TabPFN v2 reimplementation, then trains on the open TabICL prior. Code: Aiden-Jeon/minipfn (model src/minipfn/models/cell_transformer.py, settings src/minipfn/recipes/tabpfn_v2.py).

This is not the official TabPFN-2.5 checkpoint, and it uses no official code or weights. The official weights are under the TABPFN-2.5 License; see PriorLabs/TabPFN. The report does not publish the model width, prior details or training recipe, so those parts are our own choices (marked below). The classifier is a separate model: aiden-jeon/minipfn-tabpfn-v2-5-classifier.

Model

  • Architecture: the TabPFN v2 Transformer with the four TabPFN-2.5 changes, 14,670,728 parameters:
    • 18 layers (v2: 12)
    • each token holds 3 features (v2: 2)
    • 64 learned "thinking" rows, placed before the training rows; every row attends to them. How they enter the model is not described in the report, so this placement is our choice
    • the cell encoder is a 2-layer MLP (Linear → GELU → Linear, hidden size emsize) instead of a linear layer
    • emsize 192, 6 heads, MLP 4× emsize, post-LayerNorm without affine parameters (kept from v2; the report does not give them)
  • Output: a bar distribution over 5,000 buckets of the standardized target, with half-normal tails. The bucket borders are quantiles of prior targets and ship with the weights (borders in model.safetensors).
  • Inputs: any number of features and rows. Training covered up to 500 features and up to 8,192 training rows (see Training).
  • Prior: the TabICL graph SCM prior (soda-inria/tabicl) in regression mode with the TabPFN v2 table-size rules, then a short stage on larger tables.
  • Inference: an ensemble of 8 members. Each member shuffles features and adds a random row-identifier column. Members alternate between quantile features plus SVD components and robust scaling with soft clipping (RealMLP-style: (x − median) / IQR, then x / √(1 + (x/3)²)); half of them also power-transform the target. The report names robust scaling and soft clipping without details, so this is our reading. Each member's predicted distribution is mapped back to the original target scale and the predictions are averaged. Categorical columns with at most 20 categories are one-hot encoded in every member (one_hot="all"), as long as the table stays within the feature limit. These settings ship in config.json (inference).

Training

Two stages, both with batch 64 tables, bf16 and gradient clipping 1.0.

  1. Prior-fitting, 500k steps at the v2 paper's table sizes: 1–2,048 training rows plus 128 held-out rows, 1–160 features, fewer than 75,000 cells, missing values in 30% of the tables.
    • Adam at lr 2e-4, 10k warmup steps, cosine schedule over 2M steps (stopped at 500k).
    • The loss collapsed twice (at 155k and 216k). Each time a guard rewound to a healthy state saved 2k–4k steps earlier, halved the base lr and resumed on fresh data. The base lr was 5e-5 from 212k on.
  2. Long tables, 20k steps, starting from the 500k weights with a fresh optimizer: training rows log-uniform in 512–8,192, up to 500 features, fewer than 400,000 cells. Adam at lr 5e-5, 1k warmup, cosine to 0. The report only says the prior was scaled to more rows and features; the sizes and length here are ours. No collapses.

Compute: 8×H100 for 0–100k, 16×H100 for 100k–300k, 32×H100 for 300k–500k, and 16×H100 for the long-table stage. About 37 hours of wall-clock time, roughly 650 H100-hours (not counting short timing runs).

Two training changes from our TabPFN v2 regressor carry over; neither is in the paper:

  • Dequantized targets. Held-out targets that repeat within a table are spread uniformly over the 100 neighbouring buckets during training, so a discrete target does not push the output layer to grow without bound. Validation uses the original targets.
  • QK-clip (τ = 250). Row-attention heads can grow their query–key logits until all weight goes to one row (an attention sink). Every 50 steps, any head whose logit bound σ_max(W_qᵀW_k)·E/√d exceeds 250 has its W_q and W_k scaled down to meet it. The bound reached 250 at about 30k and stayed capped. This changes training only.

Figures and numbers on this card come from the long-table checkpoint in this repo (sha256:bd16883255f1, the first 12 hex digits of the SHA-256 of model.safetensors), which started from the 500k-step checkpoint (branch step-500k). Train NLL is the mean over 1,000 steps; every step samples new prior tables. Val NLL is computed every 5,000 steps on fixed prior tables: 64 at the paper sizes (final −1.405) and 32 long tables in the second stage (final −1.680). The two val sets differ, so their values are not comparable.

Training curves

Results

TabPFN v2 benchmark

The 28 regression datasets from the TabPFN v2 paper. Each score is the RMSE averaged over the 10 OpenML folds. The reference values are the TabPFN v2 paper's (Supplementary Table 2, default settings); the 2.5 report has no per-dataset table for this suite. RMSE has a different unit on every dataset, so a plain mean is dominated by a few large-scale targets. The main summary is the RMSE ratio to the paper per dataset (below 1 is better than the paper), combined as a geometric mean. "minipfn v2" is our TabPFN v2 reimplementation (aiden-jeon/minipfn-tabpfn-v2-regressor).

CheckpointRMSE ratio, geo. meanRMSE ratio, medianDatasets within 1.1×Mean neg RMSEminipfn v2 geo. mean, same step
100k steps1.1271.02820/28−1767.51.167
200k steps1.1291.03721/28−1743.01.183
300k steps1.1281.01920/28−1750.51.159
400k steps1.1091.01422/28−1704.91.172
500k steps1.1021.01823/28−1716.51.118
500k + long tables 10k1.1121.01621/28−1711.8
500k + long tables 20k (this model)1.1051.01522/28−1704.0
TabPFN v2 paper1128/28−1685.6

Benchmark RMSE ratio by step

Against minipfn v2 at 500k, this model's RMSE is 1.2% lower (geometric mean of the per-dataset ratio), better on 11 datasets and worse on 4. The architecture, not the preprocessing, carries the gain: scoring the v2 500k checkpoint with this card's members (quantile + robust) changes its RMSE ratio only from 1.118 to 1.119.

The long-table stage leaves the overall ratio flat (1.102 → 1.105). It lowers RMSE on the 11 datasets with more than 2,048 training rows (−0.6%) and the 8 with more than 100 features (−1.1%), and raises it on the 17 smaller ones (+0.8%), mostly auction_verification (+11%) and socmob (+9.5%). This card's main is the long-table checkpoint because it covers larger tables; the 500k checkpoint is the step-500k branch.

On 8 datasets this model beats the paper's RMSE (MIP-2016-regression 0.96×, geographical_origin_of_music 0.97×, SAT11-HAND-runtime-regression 0.97×, cars 0.98×). Most of the gap comes from a few datasets:

DatasetRMSE ratio
auction_verification2.98
cpu_activity2.28
airfoil_self_noise1.20
socmob1.19
energy_efficiency1.15

RMSE ratio per dataset

TabArena-Lite

TabArena-Lite (51 datasets, one split each), scored the way the public leaderboard is: Elo against the leaderboard's method pool, with RandomForest (default) at 1000. The classifier and the regressor run together, so this table is the same on both cards. Splits above the model's size limit (50,000 training rows, 2,000 features, 10 classes) are not run; as on the leaderboard, they take RandomForest (default)'s result ("imputed"). Every method on the public leaderboard is 8-fold bagged; this model is fit once per split.

MethodEloImputed splits
minipfn TabPFN-2.5 (this model)1436 (+53/−64)7.8%
minipfn TabPFN v2122135.3%
TabPFNv2 (default), public1224
RealTabPFN-2.5 (default), public1514
TabICLv2 (default), public1560

This model places 21st of 99 methods. By problem type its Elo is 1445 (binary), 1457 (multiclass) and 1546 (regression). It beats TabPFNv2 (default) on 73% of the splits, CatBoost (default) and tuned + ensembled XGBoost on 65%, and RealTabPFN-2.5 (default) on 43%.

Part of the gain over minipfn v2 comes from the larger size limit: 14 datasets that v2 has to impute run here. On the 33 splits both models run, this model has the lower error on 26 (geometric mean error ratio 0.90): 23 of 26 classification splits but only 3 of 7 regression splits.

BeyondArena

BeyondArena core2k (2,000 splits from 142 datasets), scored like its public leaderboard with XGBoost (default) at 1000. Splits above the size limit, and the 5 that ran out of GPU memory (see Limitations), take RandomForest (default)'s result: 8.2% of the splits (minipfn v2: 15.8%).

MethodElo
TabICLv2 (default), public1172
RealTabPFN-2.5 (default), public1143
minipfn TabPFN-2.5 (this model)1096 (+29/−32)
XGBoost (tuned), public1092
minipfn TabPFN v21007
XGBoost (default), public1000

This model places 25th of 41 methods (minipfn v2: 30th). It is strongest on tiny and small tables (Elo 1269 and 1227) and random splits (1174), and weakest on high-cardinality categorical features (715), temporal splits (823), text features (876) and high-dimensional tables (908). On the 1,685 splits both minipfn models run, this model has the lower error on 1,027 and the higher on 646 (geometric mean error ratio 0.98).

Limitations

  • No real-data fine-tuning. Real-TabPFN-2.5 continues training on real datasets; this model is trained on the synthetic prior only.
  • Recipe differs from the report. Model width, thinking-row placement, the robust member, dequantized targets, QK-clip and the long-table stage are our choices; the report does not give them.
  • A few datasets stay far from the paper. auction_verification and cpu_activity are 2–3× the paper's RMSE at every checkpoint, as with minipfn v2. cpu_activity also moves a lot between checkpoints (1.32× at 100k, 2.26× at 300k).
  • GPU memory near the size limit. Inference on the largest tables inside the 50,000-row × 2,000-feature limit can run out of memory on an 80 GB H100: 5 BeyondArena splits (santander_customer_satisfaction, anes_voting_2026, labour_inspection_compliance) failed this way.
  • Regression only. The classifier is a separate model: aiden-jeon/minipfn-tabpfn-v2-5-classifier.

Usage

uv pip install "minipfn @ git+https://github.com/Aiden-Jeon/minipfn"
from minipfn import TabPFNv2_5Regressor

# downloads aiden-jeon/minipfn-tabpfn-v2-5-regressor (weights and bucket borders)
reg = TabPFNv2_5Regressor().fit(x_train, y_train)
y_pred = reg.predict(x_test)  # mean of the predicted distribution

fit does not train weights. It fits each ensemble member's preprocessing on the training rows, which then serve as context at prediction time. To reproduce the benchmark (downloads the OpenML tasks):

uv run python scripts/tabpfn_v2/eval.py --suite regression \
  --regressor-path hf://aiden-jeon/minipfn-tabpfn-v2-5-regressor

Intermediate checkpoints

The prior-fitting checkpoints from the Results table are kept as branches of this repo. Each branch holds the weights, config and a short README that points back here; this card on main describes all of them.

BranchWeightsRMSE ratio, geo. mean
step-100ksha256:91eadcb0d28d1.127
step-200ksha256:8873ec91bcdc1.129
step-300ksha256:eb652f32b2fc1.128
step-400ksha256:dc3bcc0283811.109
step-500ksha256:7d7471cb23c51.102
main (500k + long tables 20k)sha256:bd16883255f11.105
reg = TabPFNv2_5Regressor("aiden-jeon/minipfn-tabpfn-v2-5-regressor@step-500k")

In the benchmark script, write the branch after @: --regressor-path hf://aiden-jeon/minipfn-tabpfn-v2-5-regressor@step-500k.

Files

  • model.safetensors: weights and bucket borders
  • config.json: model size (CellTransformerConfig fields), task and inference settings
  • images/: figures used in this card

License

Apache-2.0. The training data were generated with the TabICL prior (BSD-3-Clause); no TabICL code is included here. No TabPFN-2.5 code or weights are included.

Citation

@article{grinsztajn2025tabpfn25,
  title   = {{TabPFN-2.5}: Advancing the State of the Art in Tabular Foundation Models},
  author  = {Grinsztajn, L{\'e}o and others},
  journal = {arXiv preprint arXiv:2511.08667},
  year    = {2025}
}

@article{hollmann2025tabpfn,
  title   = {Accurate predictions on small data with a tabular foundation model},
  author  = {Hollmann, Noah and M{\"u}ller, Samuel and Purucker, Lennart and Krishnakumar, Arjun and K{\"o}rfer, Max and Hoo, Shi Bin and Schirrmeister, Robin Tibor and Hutter, Frank},
  journal = {Nature},
  volume  = {637},
  pages   = {319--326},
  year    = {2025},
  doi     = {10.1038/s41586-024-08328-6}
}

@inproceedings{qu2025tabicl,
  title     = {{TabICL}: A Tabular Foundation Model for In-Context Learning on Large Data},
  author    = {Qu, Jingang and Holzm{\"u}ller, David and Varoquaux, Ga{\"e}l and Le Morvan, Marine},
  booktitle = {International Conference on Machine Learning},
  year      = {2025}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · pytorch

Нельзя запустить

Табличные модели пока не поддерживаются рантаймом.

Ревизия весов
54f3907

0 моделей