r/LocalAIStack • u/N71-AE • 18h ago
Made a local LLM from scratch to fit into 30ish MB of memory
It's called MODL 25M (Modular - Offloaded - Dynamic - Looped Transformer)
A 25M active parameter model that can run locally on an Android phone.
It's mostly a proof of concept for the architecture, which tries to find a way around the constraints of RAM by combining the recent advancements in local models.
It can detect phishing attempts in messages, social engineering, scam attempts, and notify the user while running in the background.
It's trained on 2 languages (English and Arabic), and based on the public benchmarks I ran, it punches above its weight.
Next goal is to scale it up, introduce proper generative conversations, and see how well it does.

Code & Android App: https://github.com/N71-AE/MODL-1-25M
Weights: https://huggingface.co/N71-AE/MODL-1-25M
1
u/N71-AE 18h ago