anadim / subleq-transformer
PublicA transformer that executes a one-instruction Turing-complete computer — two approaches: hand-coded weights (no training) and learned from data
This project creates transformers that simulate a one-instruction Turing-complete computer called SUBLEQ, either by hand-coding weights or training on data, demonstrating perfect single-step execution and emergent multi-step capabilities like Fibonacci and square roots.
How It Works
You stumble upon a project showing how an AI can act like a tiny computer using just one simple rule.
Click the link to open a ready-to-run example in your web browser, no setup needed.
See the AI execute a multiplication like 7 times 9 step by step, matching a real computer perfectly.
Load programs for Fibonacci, division, or square roots and watch the AI compute them flawlessly.
Feed simple steps and watch the AI learn to chain them into complex calculations.
The AI handles math tricks it was never directly taught, like figuring out square roots.
You're thrilled as this smart helper turns into a full tiny computer right before your eyes.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.