Skip to main content

machine learning ecosystem

Project description

🌱 LittleLearn – Touch the Big World with Little Steps

update Version (1.0.0) date : (29-December-2025):

- change numeric backend be jax.numpy() 
- fix memories leak problem 
- fix LSTM failure training bug
- fix Attention failure training bug 
- add Tensor class mechanism 
- Gradient Reflectot Being autodiff non data can use by general case 
- add Node Mechanism
- add general Tensor ops

warning : on this update we remove so many feature because paradims changed.

LittleLearn is an experimental and original machine learning framework built from scratch — inspired by the simplicity of Keras and the flexibility of PyTorch, yet designed with its own architecture, philosophy, and gradient engine.

🧠 What Makes LittleLearn Different?

  • 🔧 Not a wrapper – LittleLearn is not built on top of TensorFlow, PyTorch, or other major ML libraries.

  • 💡 Fully original layers, modules, and autodiff engine (GradientReflector).

  • 🧩 Customizable down to the node level: build models from high-level APIs or go low-level for complete control.

  • 🛠️ Features unique like:

  • Node-level gradient clipping

  • Inline graph tracing

  • Custom attention mechanisms (e.g., Multi-Head Attention from scratch)

  • 🤯 Designed for both research experimentation and deep learning education.

⚙️ Core Philosophy

Touch the Big World with Little Steps. Whether you want rapid prototyping or total model control — LittleLearn gives you both.

LittleLearn provides multiple levels of abstraction:

Usage Style Tools Available
💬 One-liner models AutoBuildModel, AutoTransformers
⚙️ Modular models Sequential, ModelByNode (soon)
🔬 Low-level experiment Layers, Loss, Optimizer manual calls
🧠 Custom gradients GradientReflector engine backend

📦 Ecosystem Features

  • ✅ Deep learning modules: Dense, LSTM, attention mechanisms, and more

  • 🤖 Automated tools like AutoBuildModel

  • 🔄 Custom training loops with full backend access

  • 🧠 All powered by the GradientReflector engine — providing automatic differentiation with transparency and tweakability

🔧 Installation

    pip install littlelearn

🚀 Quick Example :

    import littlelearn as ll 
    import littlelearn.DeepLearning as dl 

    model = dl.layers.Sequential([
        dl.layers.Linear(20,32),
        dl.activations.Relu(),
        dl.layers.Linear(32,1)
    ]) 
    model.train()
    x_train,y_train= datasets()
    optimizer = dl.optimizers.Adam(model.parameter())

    for epoch in range(100) :
        y_pred = model(x_train)
        loss = dl.loss.mse_loss(y_train,y_pred)
        loss.backwardpass()
        optimizer.step()
        loss.reset_grad()
        print(loss.tensor)
    
    model.inference()
    model.save("model.npz")

📌 Disclaimer While inspired by well-known frameworks, LittleLearn is built entirely from scratch with its own mechanics. It is suitable for:

  • 🔬 Experimental research

  • 🏗️ Framework building

  • 📚 Educational purposes

  • 🔧 Custom low-level operations

This is an Beta-stage project — expect bugs, sharp edges, and lots of potential.

suport this project : https://ko-fi.com/alpin92578

👤 Author Candra Alpin Gunawan 📧 hinamatsuriairin@gmail.com 🌐 GitHub https://github.com/Airinchan818/LittleLearn

youtube : https://youtube.com/@hinamatsuriairin4596?si=KrBtOhXoVYnbBlpY

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

littlelearn-1.0.0.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

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

littlelearn-1.0.0-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

Details for the file littlelearn-1.0.0.tar.gz.

File metadata

  • Download URL: littlelearn-1.0.0.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for littlelearn-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9ea3a42e3e71c3cee533aec3fa197fa27d1ff60ab08395bf9152fe85228b1413
MD5 2d71cf385bf95aff93381ccc64618ccb
BLAKE2b-256 bf9b6d1a12f8768a8070de59f57fcc2f527afd47d13fa68cf8f851e54759eaa3

See more details on using hashes here.

File details

Details for the file littlelearn-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: littlelearn-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 49.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for littlelearn-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 892bd57bbd50f15e8dd8af9c5b313897a7957c1630d7090b9c87f6105ff28e72
MD5 97f94c05b876d7cc71a0f36da35623a5
BLAKE2b-256 255d2bfcb61d7d4719e62010179e8a8e1a6faf220083070e3b85319f036ff88e

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