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.1.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.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gptperoz-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2d83f46f9e54174f8657604aa341c2d69ad3ad7d5cb70f7f8f4c7b4c6e735a28
MD5 fe4fd907accdff2a51e3d9710a78db80
BLAKE2b-256 3282d19576ad73dd1331aa59b62387f56813e3751a9f5d38308f3e80bee532f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gptperoz-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e5d1fc060e17f5731b867548f4bbf8028620ac90479791c263b76b32daf3a75
MD5 8a227554c0be115969ef27631b8596a4
BLAKE2b-256 3a6823ae46915bfb78228585aeb58bce7ff831978ce11df5618b51ad622a05c9

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