anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Predicts classes or values for new table rows from labeled example rows given as context. NVIDIA's pretrained tabular foundation model for classification and regression, for developers and data teams.
Kumo Tabular is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install structured-data-models
Kumo Tabular is a pretrained foundation model from NVIDIA for data in tables. It handles classification and regression, so it can predict a category or a number for each row.
You hand it labeled example rows as context plus new rows to score. It returns class probabilities for the new rows, using the Python package structured-data-models.
Developers and data teams who work with spreadsheet-style data and want predictions from labeled examples without building a model from scratch.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Analytics | Data analysts | Predict a label for new rows from known ones | Score new records with class probabilities |
| Software | Developers adding predictions to apps | Call the model from Python with a DataFrame | Classify rows exported from a database |
| Research | Machine learning researchers | Test a tabular foundation model on datasets | Try it on a public scikit-learn dataset |
Skip it if your data is text, images or audio, since this model is built for tables.
| Use case | Who | What they get back |
|---|---|---|
| Classification | Data teams | Class probabilities for new rows |
| Regression | Analysts | Predicted numbers, as the model supports regression |
| Quick baselines | Researchers | Predictions from labeled context rows with no separate training step in the example |
pip install structured-data-models
Convert your DataFrame into a table tensor, create the model with a task, then call it with context rows, their labels and the query rows to score.
import torch
from sklearn.datasets import load_breast_cancer
import sdm
df = load_breast_cancer(as_frame=True).frame
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
table = sdm.TableTensor.from_pandas(
df=df,
stypes=sdm.infer_stypes(df, overrides={"target": "categorical"}),
device=device,
)
model = sdm.models.KumoTabular(task="classification", device=device)
with torch.amp.autocast(
device.type,
dtype=torch.float16,
enabled=device.type == "cuda",
):
probs = model(
x_context=table[:300].drop_columns("target"),
y_context=table[:300, "target"],
x_query=table[300:].drop_columns("target"),
num_estimators=8,
)
print(probs)| Tool | What it does |
|---|---|
| sdm.TableTensor.from_pandas | Turns a pandas DataFrame into a table the model reads |
| sdm.infer_stypes | Works out each column type, with overrides such as marking the target as categorical |
| sdm.models.KumoTabular | Creates the model for a task such as classification |
| model call | Takes context rows, their labels and query rows and returns probabilities |
You load a table with a target column, use the first 300 rows as labeled context and treat the remaining rows as queries. Printing the result shows class probabilities for each query row.
If you are new to this, run the example as it is on the built-in breast cancer sample and read the printed probabilities. Then replace the DataFrame with your own table and name your target column.
If you know the field, the model predicts in context, so the labeled rows are passed at call time rather than used to train weights. The example runs mixed precision on a CUDA GPU and sets the number of estimators to 8.
Predicts classes or values for new table rows from labeled example rows given as context. NVIDIA's pretrained tabular foundation model for classification and regression, for developers and data teams.
Made by nvidia on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Kumo Tabular is a pretrained foundation model from NVIDIA for data in tables. It handles classification and regression, so it can predict a category or a number for each row.
You hand it labeled example rows as context plus new rows to score. It returns class probabilities for the new rows, using the Python package structured-data-models.
Who it suits: Developers and data teams who work with spreadsheet-style data and want predictions from labeled examples without building a model from scratch.
Industry | Who uses it | How they use it | Example
Analytics | Data analysts | Predict a label for new rows from known ones | Score new records with class probabilities
Software | Developers adding predictions to apps | Call the model from Python with a DataFrame | Classify rows exported from a database
Research | Machine learning researchers | Test a tabular foundation model on datasets | Try it on a public scikit-learn dataset
Skip it if your data is text, images or audio, since this model is built for tables.
Where to use it:
Use case | Who | What they get back
Classification | Data teams | Class probabilities for new rows
Regression | Analysts | Predicted numbers, as the model supports regression
Quick baselines | Researchers | Predictions from labeled context rows with no separate training step in the example
How to set it up:
pip install structured-data-models
How to use it: Convert your DataFrame into a table tensor, create the model with a task, then call it with context rows, their labels and the query rows to score.
import torch
from sklearn.datasets import load_breast_cancer
import sdm
df = load_breast_cancer(as_frame=True).frame
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
table = sdm.TableTensor.from_pandas(
df=df,
stypes=sdm.infer_stypes(df, overrides={"target": "categorical"}),
device=device,
)
model = sdm.models.KumoTabular(task="classification", device=device)
with torch.amp.autocast(
device.type,
dtype=torch.float16,
enabled=device.type == "cuda",
):
probs = model(
x_context=table[:300].drop_columns("target"),
y_context=table[:300, "target"],
x_query=table[300:].drop_columns("target"),
num_estimators=8,
)
print(probs)
Tool | What it does
sdm.TableTensor.from_pandas | Turns a pandas DataFrame into a table the model reads
sdm.infer_stypes | Works out each column type, with overrides such as marking the target as categorical
sdm.models.KumoTabular | Creates the model for a task such as classification
model call | Takes context rows, their labels and query rows and returns probabilities
Example: You load a table with a target column, use the first 300 rows as labeled context and treat the remaining rows as queries. Printing the result shows class probabilities for each query row.
For newcomers and experts: If you are new to this, run the example as it is on the built-in breast cancer sample and read the printed probabilities. Then replace the DataFrame with your own table and name your target column.
If you know the field, the model predicts in context, so the labeled rows are passed at call time rather than used to train weights. The example runs mixed precision on a CUDA GPU and sets the number of estimators to 8.
Load a table into pandas
Convert it to a table tensor
Pass context rows, labels and query rows
Receive class probabilities
Good to know:
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download nvidia/Kumo-Tabular
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.