Skip to main content

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

  1. Make Model — build a native MOOE model and chat
  2. Fine-tune — train a HuggingFace model on your data, then chat
  3. 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("10B")
ft.type(ft.MOOE)
ft.data("bigcode/the-stack-v2", "bigcode/starcoderdata")
ft.temp(0.7)
ft.chat()

The framework automatically detects if you are on a TPU or GPU, installs the correct PyTorch wheels natively, configures Hugging Face dependencies, and launches an interactive chat session.

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

fattummy-0.1.5.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

fattummy-0.1.5-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file fattummy-0.1.5.tar.gz.

File metadata

  • Download URL: fattummy-0.1.5.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for fattummy-0.1.5.tar.gz
Algorithm Hash digest
SHA256 91b9486300e6a3806455eefc686abce16b01dc8f69a406da47db935c61b8cd7a
MD5 634a4ee494805adf39b0287dac730631
BLAKE2b-256 0738ef177eb5462508c147d513ef7adcd25e10346ca1bb34a67db76b533c6fb3

See more details on using hashes here.

File details

Details for the file fattummy-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: fattummy-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for fattummy-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 76b7526760553e869293f6ab562d160c7001efa90197f0d5eb6117febb177c87
MD5 2e9d885f7016d3e09f78cc524b025490
BLAKE2b-256 c19b7bbf2d14336cb6e8501b105ffdd866b19f5b9b4a6f28bca1175921da6884

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