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.2.0.tar.gz (17.4 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.2.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fattummy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c4968831e3c7240c92be945f9e2a5c6bda442a94aaa8155bac5994b2eccebe42
MD5 f8b06ab885a47624548cf292204b313b
BLAKE2b-256 98a558a20a6aeb0b93c1aaeb04a8cc54b9731b4f786c87e269f04d792856f48f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fattummy-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.7 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a586abe2c7bdbdc56dad362a6d7b853041941b53ea2e9b63d9e4a156e8a0bb57
MD5 e34e66179cb0eda59524a3d07f1d0cf1
BLAKE2b-256 399ad72d27a05c78e45d4a3ec319eb0c113d0f01942618c120ca55009b6ffc78

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