A declarative, ultra-minimalist ML framework for zero-boilerplate hardware-agnostic inference and training.
Project description
FatTummy
A declarative, ultra-minimalist Python framework designed to collapse complex data processing, hardware detection (GPU/TPU), multi-engine inference (APIs + Local), fine-tuning, and custom architecture deployment into a beautiful, stateless interface.
Installation
pip install fattummy
Python 3.11 or 3.12 recommended. Python 3.14 is not yet supported by PyTorch — import FatTummy works, but Make Model and Fine-tune need an older Python. API Chat works on any version.
Building the package
On Python 3.14, python -m build is very slow. Use the fast local builder instead:
python build_release.py
Or with Python 3.12: py -3.12 -m pip install build hatchling && py -3.12 -m build
Upload to PyPI:
pip install twine
twine upload dist/*
Test in Google Colab
!pip install fattummy
import FatTummy as ft
ft.build(interactive=False)
ft.engine("openai")
ft.key("YOUR_API_KEY")
ft.chat()
For the full wizard in Colab, use ft.build() (interactive mode).
Quick Start
Build and chat with a model in five words:
import FatTummy as ft
ft.build()
The terminal shows the FatTummy logo and lets you pick a mode:
- Breeze — pick an action, then answer a few prompts; blank fields use samples
- Adv — full control plus HuggingFace token login
Actions
- Make Model — build a native MOOE model and chat
- Fine-tune — train a HuggingFace model on your data, then chat
- API Chat — use OpenAI, Anthropic, or Gemini
Datasets
Provide a HuggingFace repo (user/dataset) or a local file (.json, .jsonl, .csv, .txt).
FatTummy checks the dataset size automatically:
- Under 500 MB — full download
- 500 MB or larger (or unknown size) — streaming
Separate multiple sources with commas.
Programmatic API
For scripts and pipelines, disable the wizard and chain calls as before:
import FatTummy as ft
ft.build(interactive=False)
ft.modelbuild("tiny")
ft.engine("mooe")
ft.type("mooe")
ft.data("bigcode/the-stack-v2", "bigcode/starcoderdata")
ft.temp(0.7)
ft.chat()
The framework audits optional dependencies, keeps heavyweight backends opt-in, and launches an interactive chat session.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fattummy-0.2.2.tar.gz.
File metadata
- Download URL: fattummy-0.2.2.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f2b0a7f383f05b6a61fb1403257fc16436f9c3cdcc0fc886655a184ca6ceb68
|
|
| MD5 |
015acadd645fff75a3216d84305aa69b
|
|
| BLAKE2b-256 |
40cc48677a2632dd5a803b16d87bc337c7c2df5b1671e624b2425a6278f1fca2
|
File details
Details for the file fattummy-0.2.2-py3-none-any.whl.
File metadata
- Download URL: fattummy-0.2.2-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bb0ca775f2a357d120f0cd06a6e6d9bd17745832cd65a5022abc90c0cc49337
|
|
| MD5 |
01330dd041ced190c16d6d40441d695b
|
|
| BLAKE2b-256 |
12268e447fdf8ce659a26df9a17fd2f29701f671a57298a15c7f6a9e1dff1e1b
|