frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Mini-AGI – Dynamic continual learning model trained on 8GB VRAM

https://github.com/volotat/mini-AGI/
58•volotat•4h ago
Sorry for the pretentious name, I know, I know.. It just contains all the pieces I would like to see a AGI model to have, and I can't stand the temptation. Before throwing rocks at me, please take a glance at the Readme, and I hope it will cover your mood a little bit.

So, first of all it does work and you can see the sample from the whole training run here: https://raw.githubusercontent.com/volotat/mini-AGI/refs/head...

Here is the scaling law graph I have so far, and it looks very promising: https://github.com/volotat/mini-AGI/blob/main/assets/scaling...

The model was built under my deep dissatisfaction so we cannot really train even moderately big models (1B+ scale) on the consumer's hardware. We can inference and fine-tune them for sure, but I would like to have full control over what the model sees over the training run, so it is fully aligned with my interests, not some corporations.

I was thinking about for some time and come up with two interesting ideas I thought worth pursuing: MoE with a lot of experts that gets added and pruned from the model while it trains, where only a small subset of of experts are actually in use at any particular moment + batch 1 training on the single continuous stream of data.

First allows us to be bounded only by the disk space in terms of number of parameters and load and unload experts only when they are needed. The second (if figured out and it turns out to be doable) allows us to get aways with small VRAM capacity because we do not need to store big randomized batches and their respective gradients.

I started brainstorming with Claude and after some time we found an approach that seems to be promising, and low and behold, a few weeks pass and you can see the results yourself.

Obviously, I did use AI in the process of making this project and I am pretty sure it would be completely impossible for me to do something like this without it, so I hope it is more than justified.

The model is still running over the first of 7.8B characters corpus I selected for training, so the weights are not out yet, and it's about a couple weeks of waiting until they are cooked at the current reading speed. And yeah, the model just read continuous interleaved passages from the dataset, each by 32K characters long each as a single stream. Just as you or I would do.

The set up seems to be really simple so you can git clone the project, run it and observe everything for yourself.

Thanks for your attention.

Comments

hexley19•2h ago
Seeing 'Mini-AGI' and '8GB VRAM' in the same sentence is a breath of fresh air. Maybe local AGI isn't so far-fetched.
whizzter•2h ago
Nobody will throw rocks, I think most people are curious/suspicious about the big players and wants more hands-on since we suspect that this all will come down in cost soon enough.
skeledrew•1h ago
Getting conceptually closer to how the human brain works. Looking forward to more of this.
volotat•1h ago
I also like how it is very organic. It naturally grows and deletes unused elements, so in addition to traditional backprop there is also a natural selection happening in the background. Each new expert has 16 parents by the way, lol.
advael•1h ago
Seems interesting, I've been messing with a lot of continuous learning approaches lately and it's cool to see something that's built from the ground up for avoiding catastrophic forgetting. Worth a clone for sure
loopydosuette•1h ago
throwing crumpled paper ball
cpldcpu•1h ago
Is this architecture actually able to generalize or is it mostly based on memorization? Have you tried some basic tasks that require generalization? e.g. number addition etc?
volotat•52m ago
The model is way too small and undertrained to make any generalization claims. I want to wait until it reads the whole corpus I gave and then test it on some simple established benchmarks to see how it will behave.
jacquesm•36m ago
What kind of hardware are you using for training?

nm, I found it:

> RTX 3070 Laptop GPU with 8 GB

Super impressive.

hanselot•59m ago
THANK YOU SO MUCH. This is the missing piece.
ilusion•37m ago
Have you tested what it remembers from early in the stream after a shift in the topics thrown at it?
volotat•26m ago
It interleaves random streams of 32K characters long each when reading the whole corpus, but each such stream reads continuously as you would expect. This is a necessary step to prevent just normal, not catastrophic, forgetting. I have not tested it in any other regimes yet with bigger or smaller windows. You can imagine a person that changes the activity from time to time, so I think it is justified. So there is not really "early in the stream".

What I did test though is reading 524K characters of chess data only and see how other domains have degraded. The results are in the readme under "How continual learning works" section. Spoiler: it just barely degraded the performance.

Show HN: Mini-AGI – Dynamic continual learning model trained on 8GB VRAM

https://github.com/volotat/mini-AGI/
59•volotat•4h ago•12 comments

Show HN: Bitcoin-rs – An AI-assisted Bitcoin full node in Rust

https://github.com/gosuda/bitcoin-rs
7•dreamcacao02183•29m ago•1 comments

Show HN: Radius – A Meetup.com Alternative

https://radius.to/
136•radius89•16h ago•57 comments

Show HN: A competition for small neural networks that play strategy games

https://tinybrains.dev
70•codetiger•18h ago•23 comments

Show HN: Gdocs-me-up: a high-fidelity Google Docs exporter

https://github.com/behdad/gdocs-me-up
11•behdad•8h ago•3 comments

Show HN: jevals – replacing LLM judges with typed Jev decisions

https://github.com/openlayer-ai/jevals
21•gbayomi•10h ago•1 comments

Show HN: Sigabrt.dev – cronjob monitor with an SSH TUI

https://sigabrt.dev
72•4815162342•1d ago•33 comments

Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations

https://github.com/arnegiacomo/fugleramme
2380•arnemunthekaas•5d ago•264 comments

Show HN: Lightspeed, build real time apps the Laravel way (+asteroids demo)

10•jv22222•10h ago•2 comments

Show HN: Hibi – An open-source obsidian alternative

https://github.com/schmayterling/hibi
2•ryanamay•6h ago•0 comments

Show HN: Ambits – agentic grep/rg tool will history tracking

https://github.com/joshLong145/ambits
3•joshLong145•6h ago•0 comments

Show HN: CUA-S1 – A System One Model for Computer Use

https://github.com/trycua/cua
89•frabonacci•1d ago•10 comments

Show HN: Mahabharata Characters – 307 figures with gunas and decision primitives

https://huggingface.co/datasets/gnumanth/mahabharata-characters
4•init0•5h ago•1 comments

Show HN: AgentTrace–Observability and runtime self-healing engine for AI agents

https://github.com/mohitkumar188/AgentTrace
4•mohitkumar18•12h ago•0 comments

Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash

https://cactuscompute.com/needle
231•HenryNdubuaku•3d ago•91 comments

Show HN: Ifso.io – Personal finance simulator with no sign up required

https://ifso.io/try
8•timer_interrupt•17h ago•2 comments

Show HN: Share your AI Setup, Learn from others

https://mysetup.ai/
247•steveybrown•3d ago•138 comments

Show HN: Snapdrop: Instantly share files between devices. No setup, no signup

https://snapdrop.me
109•Capira•3d ago•49 comments

Show HN: Scry, programmable internet search w/ congestion pricing

https://scry.io/
60•Xyra•3d ago•25 comments

Show HN: Judge Jev – Can you convince Jev of your innocence?

https://judge-jev.com/
4•theRealestAEP•15h ago•3 comments

Show HN: Testing a non-generative decision model on 5,500 CLINC150 inputs

https://github.com/chr-kelly/jev-cookbook
3•tgdhtdujeytd•15h ago•0 comments

Show HN: I inadvertently built an English to Bash transpiler

https://github.com/gioblu/NPC-Forge/blob/main/npcs/termy/README.md
3•gioscarab•15h ago•3 comments

Show HN: TetherPHP – a small PHP framework designed for agents and humans

https://tetherphp.com/
2•dillonsmartdev•15h ago•0 comments

Show HN: Scrolling Text Generator – marquee, ticker and credits in the browser

https://scrollingtextgenerator.space
4•liweipt•15h ago•1 comments

Show HN: Try Omarchy for Windows – Full Omarchy Desktop on Windows

https://github.com/omacom/try-omarchy-windows
4•tsouth2•10h ago•3 comments

Show HN: MidiSlayer, a desktop sight-reading trainer for MIDI keyboards

https://midislayer.com/
3•monoglyph•16h ago•0 comments

Show HN: Jev filters large HN discussions

https://www.hazumi.news/best
4•jrhey•16h ago•0 comments

Show HN: Ax-check.com – Can agents use your product?

https://www.ax-check.com/
37•0x63_Problems•3d ago•39 comments

Show HN: Frost – frosted-glass Linux icons where file types say what they are

https://github.com/thissayantan/frost-icon-theme
13•thissayantan•1d ago•1 comments

Show HN: OpensourceDB Tamper-evident,checksum-backed decision and session replay

https://github.com/ZIZKA-AI-SL/ZizkaDB
2•Arshad-Talpur•17h ago•1 comments