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("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


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.3.tar.gz (20.5 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.3-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fattummy-0.2.3.tar.gz
  • Upload date:
  • Size: 20.5 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.3.tar.gz
Algorithm Hash digest
SHA256 d73439c46509628331dbe1e93015e8217c0c39ddf684e5c08475b107f661d7f3
MD5 45c48ac8317e10e356e6d2280aaee077
BLAKE2b-256 33e5d58e2dc24044601dae0387e83fa58420c23277223a80906986611a1f91f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fattummy-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 25.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e4091d86fee8941ea4c952481cea695e5aeac263eaaf9a99edfc319e20bacd1e
MD5 d3fc13ffcb44793e5f6df8181700a634
BLAKE2b-256 e5abaa20ebffe1effc8e7c740d2fc490f0387e73caeb2a89dd39b1a852a08ff0

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