whatisgithub

What is tabfm?

google-research/tabfm — explained in plain English

Analysis updated 2026-07-03 · repo last pushed 2026-07-03

1,041PythonAudience · dataComplexity · 3/5ActiveSetup · moderate

In one sentence

A machine learning model that predicts outcomes on spreadsheet-style data without needing to train from scratch. You provide a few example rows with known answers, and it predicts answers for new rows on the fly.

Mindmap

mindmap
  root((repo))
    What it does
      Predicts from examples
      No training needed
      Classifies categories
      Estimates numbers
    Tech stack
      Python
      JAX
      PyTorch
      Scikit-learn
    Use cases
      Customer churn risk
      Price estimation
      Quick predictions
    Audience
      Data analysts
      Product managers
      Founders
    Setup
      Auto-downloads weights
      Pick JAX or PyTorch
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Predict customer churn risk from a small set of example rows with known outcomes.

USE CASE 2

Estimate a price column when you only have a handful of comparable examples.

USE CASE 3

Classify loan applicants as high risk or low risk using a few hundred labeled rows.

USE CASE 4

Get quick predictions on a new dataset without spending hours training and tuning a model.

What is it built with?

PythonJAXPyTorchscikit-learn

How does it compare?

google-research/tabfmpython/pyperformancelyra81604/zhengxi-views
Stars1,0411,0211,151
LanguagePythonPythonPython
Last pushed2026-07-032026-07-012026-06-30
MaintenanceActiveActiveActive
Setup difficultymoderateeasymoderate
Complexity3/52/53/5
Audiencedatadeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Pre-trained weights download automatically, but you need to choose and configure either a JAX or PyTorch backend environment.

The explanation does not mention a license for this repository.

So what is it?

TabFM is a machine learning model from Google Research that predicts outcomes on tabular data, the kind of rows-and-columns data you would find in a spreadsheet or database. The key selling point is that it can make predictions on a new dataset without requiring you to train a model from scratch. Instead of spending hours or days tuning and training, you hand it a small set of example rows with known answers, and it uses those as context to predict answers for new rows. The mechanism behind this is called in-context learning. Rather than learning weights specific to your dataset, the model reads your labeled training rows as examples and generalizes from them on the fly to classify or estimate values for test data. It comes in two flavors: a classifier for predicting categories (like "high risk" vs. "low risk" for a loan applicant) and a regressor for predicting numbers (like a house price based on square footage and neighborhood). Both work with mixed column types, numerical and categorical, out of the box, and they plug into the popular scikit-learn ecosystem, so they feel familiar to anyone who has used standard Python data tools. This project would appeal to data analysts, product managers, or founders who need quick predictions on a new dataset but do not have the time or expertise to train and tune a traditional model. For example, if you have a few hundred rows of customer data with columns like age, job title, and income, and you want to predict churn risk, you can feed those examples to TabFM and get predictions immediately. The same goes for estimating a price column when you only have a handful of comparable examples. One notable design choice is that the project ships with pre-trained weights that download automatically, and it supports two different underlying compute backends, JAX and PyTorch, so you can pick whichever fits your environment. The README does not go into detail about how the model was pre-trained or what data it was trained on, and full evaluation results live in a separate results directory rather than being summarized upfront.

Copy-paste prompts

Prompt 1
Using TabFM, write a Python script that loads a CSV with 200 rows of customer data, uses the TabFM classifier to predict churn risk, and prints the predictions for 10 new rows.
Prompt 2
Using TabFM with scikit-learn, show me how to create a regressor that predicts house prices from square footage and neighborhood, using 50 example rows as in-context training data.
Prompt 3
Install TabFM and set it up with PyTorch as the backend, then load the pre-trained weights and run a classification task on a tabular dataset with mixed numerical and categorical columns.
Prompt 4
Using TabFM, compare predictions on the same dataset using both the JAX and PyTorch backends to see if results differ.

Frequently asked questions

What is tabfm?

A machine learning model that predicts outcomes on spreadsheet-style data without needing to train from scratch. You provide a few example rows with known answers, and it predicts answers for new rows on the fly.

What language is tabfm written in?

Mainly Python. The stack also includes Python, JAX, PyTorch.

Is tabfm actively maintained?

Active — commit in last 30 days (last push 2026-07-03).

What license does tabfm use?

The explanation does not mention a license for this repository.

How hard is tabfm to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is tabfm for?

Mainly data.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.