Skip to main content

Compact distilled tabular foundation model for in-context regression and classification.

Project description

predictlm

A small, calibrated tabular foundation model for in-context regression and classification. Two open-weight checkpoints — Mini (13M) and Base (26M) — both Apache-2.0. Headline: 0.751 classification accuracy / 0.609 regression R² on a locked 25-dataset OpenML benchmark via the published Duo + TTT recipe.

Install

pip install predictlm

Use

from predictlm import PredictLM
import pandas as pd

# One model object — partner checkpoint is auto-downloaded on first .predict()
# and the package runs the published Duo + TTT recipe under the hood.
model = PredictLM.from_pretrained("zerooneresearch/predictlm-mini-13m")

X_train = pd.DataFrame(...)   # labeled context rows
y_train = pd.Series(...)      # labels — float → regression, int/str → classification
X_test  = pd.DataFrame(...)   # rows you want predictions for

preds = model.fit(X_train, y_train).predict(X_test)
probs = model.predict_proba(X_test)

PredictLM auto-detects regression vs classification from the dtype of y_train and routes through the matching head. Same model, single fit/predict API.

Single-model fast path

Skip the Duo + TTT recipe (no partner download, no test-time training):

model = PredictLM.from_pretrained("zerooneresearch/predictlm-mini-13m", auto_duo=False)
preds = model.fit(X_train, y_train).predict(X_test)
# Zero-tuning baseline: ~0.673 cls / 0.536 reg

Model cards

License

Apache-2.0. Commercial use allowed.

Citation

@misc{zerooneresearch_predictlm_2026,
  title  = {PredictLM v1: Open-weight tabular foundation models with calibrated outputs},
  author = {Zero One Research},
  year   = {2026},
  url    = {https://huggingface.co/zerooneresearch}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

predictlm-11.1.0.tar.gz (31.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

predictlm-11.1.0-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file predictlm-11.1.0.tar.gz.

File metadata

  • Download URL: predictlm-11.1.0.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for predictlm-11.1.0.tar.gz
Algorithm Hash digest
SHA256 8247ca23a2c6a4b93095b6360672ffdc864fd717343aba4519ff5ca031ef2868
MD5 024ca5e357aef91a1c5e02e232135589
BLAKE2b-256 d3814d7724758c1e5315de50919247739feb412ef340f41139c8052d44d5011d

See more details on using hashes here.

File details

Details for the file predictlm-11.1.0-py3-none-any.whl.

File metadata

  • Download URL: predictlm-11.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for predictlm-11.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e7fee8e8ed9794aa7f38e0dced43afb0a8d7cd7488e7f067634cad90ceda9c1
MD5 dbd57a24027ab717fbbe525a5fdfa9ca
BLAKE2b-256 cc1f25d33d489849abfe018ff897dd1a7966c6b5dadfe9a59b494dfd10d731df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page