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

Also how do we install it very simple pip install gptperoz==0.1.0


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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gptperoz-0.2.0.tar.gz
Algorithm Hash digest
SHA256 244d4a7dc84c18a3ed65b07d4917656602453c3a79f697cc9708d90b77c6a3ee
MD5 42f4f122004074a2cab94d8917e31b3d
BLAKE2b-256 2e0cfa3c50fd503d5daaf5589ff7fcd931ffb23ed4bdcff4ce0ff09720c620bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gptperoz-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79c1dbc72ff3f8f502f62f0047e1a576fe18c97147bdee89276edba97f6ed0b3
MD5 23cac645683a95b3cb024c776a869853
BLAKE2b-256 3c07234178c3d096877488a6d702b7fddf5d4121e9c2788cecd299017ad63a43

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