Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Thoughts on a Typesafe Coding Agent(docs.google.com ↗)
    discuss
  2. North Korean Hackers Posed as Recruiters.They Infected 30k Devices Worldwide(inc.com ↗)
    discuss
  3. Should you trust Al to deliver financial advice?(saturnos.com ↗)
    discuss
  4. Publications on Regality theory and cultural selection theory(agner.org ↗)
    discuss
  5. Models Watching Models(southbridge.ai ↗)
    discuss
  6. Software Optimization Resources(agner.org ↗)
    discuss
  7. Simple and Efficient Row-Level Security(acadia.engineering ↗)
    discuss
  8. Slower than an SD card under heavy load: iPhone 18 Pro Max's QLC storage tested(notebookcheck.net ↗)
    discuss
  9. Infinitely Recursive of Game of Life(oimo.io ↗)
    discuss
  10. Evaluating Long-Term Memory for AI Agents: AML Cycle 2 Is Now Open(twitter.com/agentmemoryl ↗)
    discuss
  11. Perennial Technical Reads(parallelprogrammer.substack.com ↗)
    discuss
  12. Why Are People Cancelling?(bankstatementconverter.com ↗)
    discuss
  13. BYD car was easily hacked by cybersecurity expert(abc.net.au ↗)
    discuss
  14. A computer scientist-novelist reflects on AI and our understanding of maths(scroll.in ↗)
    1comments
  15. International Observe the Moon Night(wikipedia.org ↗)
    discuss
  16. iPhone 18 Pro Teardown: What Changed Inside? [video](youtube.com ↗)
    discuss
  17. The big ideas and tiny details behind Amazon's new recyclable mailer (2019)(aboutamazon.com ↗)
    discuss
  18. Jev's Architecture Unmasked(archerhume.com ↗)
    discuss
  19. The Toxicity of Sports Media(medium.com/freedomofthought ↗)
    discuss
  20. Lightweight Markdown Viewer/Editor for Linux and Windows(marklite.app ↗)
    discuss
  21. Kanye West: A Civil Rights Leader?(medium.com/freedomofthought ↗)
    discuss
  22. Elektron Machinedrum in the Browser(machinedrum-study.pages.dev ↗)
    discuss
  23. Less Typing, More Work(nicolasdular.com ↗)
    discuss
  24. Understanding the European Cyber Resilience Act (CRA)(openssf.org ↗)
    discuss
  25. Postgres 19: What's new in monitoring?(clickhouse.com ↗)
    discuss
  26. Find-jevable-code – audit a repo for Jev-replaceable decisions(altslate-labs.github.io ↗)
    discuss
  27. Grim Fandango Puzzle Document (1996) [pdf](jmac.org ↗)
    2comments
  28. OpenAI Degrading Their Models, Also for Paid Users(reddit.com ↗)
    discuss
  29. Bot-free self-hosted analytics with GoatCounter on NixOS(bernat.ch ↗)
    discuss
  30. Bull Beats Out HPE for Next-Gen Lumi AI Supercomputer(nextplatform.com ↗)
    discuss

Mini-AGI – dynamic continual learning model trained from scratch on 8GB VRAM

4 pointsby 1h agogithub.com
1 comments
1h agoHN ↗

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.