Instructions to use RaghavanandTripathi/decision-model-blank with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use RaghavanandTripathi/decision-model-blank with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("RaghavanandTripathi/decision-model-blank", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Train a small model on your own table
Decision model is a blank trainer, not a language model. You download it, upload a CSV or Excel file, choose the column to predict, and train on your CPU. It does not call an LLM and it does not need a GPU.
Predictions are estimates. A score on the evaluation page is how the model did on rows it did not train on. That number is not the certainty of one new prediction.
Measured speed
Measured on 26 November 2026 on one Mac, serving the app locally and again through a Cloudflare quick tunnel. The model was a decision tree already trained on a 120-row sample. These are response times, not accuracy.
| Request | On the machine | Over the internet |
|---|---|---|
| Health check, median | 1.3 ms | 122 ms |
| Health check, typical high | 3.6 ms | 187 ms |
| One prediction, median | 5.8 ms | 150 ms |
| One prediction, typical high | 9.6 ms | 163 ms |
During that burst the process stayed at about 199 MB of memory. CPU peaked near 29% of one core and was about 0% when idle. Training was not running. Training is the heavier step. Scoring a row is the light one.
One internet request was slower (about 0.9 s) while the tunnel warmed up. After that, prediction time through the tunnel stayed near 150 ms.
What you can train
- Classification or regression on your own columns
- CSV and Excel
.xlsx - A baseline is always scored, so a weak model is reported as weak
- Each training run saves a new version. You choose when to activate it
Run it
Download decision-model-blank.zip, unzip, and run:
sh start.sh
Then open http://127.0.0.1:8000.
start.sh uses the Python environment inside this folder. Do not run a bare uvicorn command if Miniforge or Conda is also installed. That other copy can fail with No module named 'itsdangerous'.
Set SECRET_KEY and ARTIFACT_SECRET in .env before real data.
Limits
- 8 MB upload, 8,000 rows, 40 columns
- At least 30 labelled rows
- One training job at a time
- Batch prediction up to 1,000 rows
- CPU only
A hosted website on Hugging Face Spaces needs a Pro plan. This repo is the free download.
- Downloads last month
- -