Skip to main content

Train AI in 3 lines - The simplest PyTorch alternative

Project description

AL - Alchemy Learning Framework

Train AI in 3 lines. No PhD required.

AL is a lightweight alternative to PyTorch that makes AI accessible to everyone. It packs GPT, transformers, autograd, and GPU support into a single 100KB file with only NumPy as a dependency.

import al
ai = al.quick_train("conversations.json")
print(ai.chat("Hello!"))

Why AL Over PyTorch?

PyTorch is powerful but complex. AL strips away the complexity while keeping the power:

· 3 lines vs 200 lines to train a GPT model · 100KB vs 800MB install size · 5 minutes vs 2 weeks to learn · Runs on phones (Termux/Android) · Same features: autograd, GPU, transformers, AMP


What Can AL Do?

· Train chatbots from JSON conversations · Generate text with GPT-style models · Save/load models in compressed .llk format · Auto-detect GPU (CUDA, MPS) or run on CPU · Mixed precision training for 2x speed · Everything PyTorch does - just simpler


Who Is AL For?

· Students learning AI concepts · Developers prototyping quickly · Hobbyists building weekend projects · Mobile devs running AI on-device · Anyone tired of complex frameworks


The Philosophy

AI should be fun, not frustrating. AL proves that powerful models don't need complicated code. One file. One dependency. Infinite possibilities.

AL - Because training AI shouldn't require a PhD.

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

gptperoz-0.1.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

gptperoz-0.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file gptperoz-0.1.0.tar.gz.

File metadata

  • Download URL: gptperoz-0.1.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for gptperoz-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ced7c336f0b73c84016a0c1be96343f1429f1b7ed0227845e0192e2ac5812d6
MD5 63c18c280f5954377cd376bd86474bde
BLAKE2b-256 04c5bc29eadcf50e74c8175f31fd266f4a74dd7038222a68af20c0d33c2f2627

See more details on using hashes here.

File details

Details for the file gptperoz-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gptperoz-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for gptperoz-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45f03bb904f02b4189655e47d1cc1d3fab675ae68303abb5dbd90978a651faa2
MD5 e1c2bdfff520836ac363fa2e9b83c1f7
BLAKE2b-256 5a747af2e725fece3a21187f23d1a5b48b3fd6387e903acff209d0b7f24ead1f

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