Hacker News new | ask | show | jobs
by nico 44 days ago
Very very cool! Impressed that it can be done with only fine tuning

On a very similar theme, I recently built a “lossy git”, which stores your code by training a neural network, then it generates the code back to you on checkout

* web demo: https://nicobrenner.github.io/lossy-git/demo.html

* cli version: https://nicobrenner.github.io/lossy-git/

The web demo runs entirely on the browser, both the version control and the neural network training/inference. You can commit and checkout both images or code - you can also paste/“upload” your own images, no server requests (everything clears from the page on reload)

7 comments

That's very cool project. I read this blog post a few days ago about one way to look at memory encoding in models https://alexwang.ai/posts/associative-memory/ that you might find relevant
Thank you for the link. Yes! loved that post. I had just created the cli version (https://nicobrenner.github.io/lossy-git/) and it inspired me to create the web version

Here's the HN discussion of Alex Wang's article: https://news.ycombinator.com/item?id=50122878

Also, I really appreciate the excellent detailed writeup on your project. Curious about the mistake correction capabilities, it's fascinating, did you try breaking it up in 2 models? one that generates one that repairs? Just wondering if would make any difference in results, which could be impactful given your observation that "was one of the more effective training changes"

Thanks! Macroexpanded:

You could have invented transformers from memory - https://news.ycombinator.com/item?id=50122878 - Oct 2026 (149 comments)

nice :)
That's hilarious. I bet if I committed my code into that repo, it would check out with fewer bugs.
You jest, but that actually sounds like a really good research direction. Imagine what you could do if merging two codebases was as easy as merging with neural git.
Love it. In fact the demo already does something like that. It trains 2 models, the neural net that saves the data, and a classifier that trains on correcting the data - and it has a huge impact, you can go from 30% fidelity to 90-100% just with that
That's actually a really interesting idea. If we do end up in a "we don't look at the code ever" future, then something like this could actually be sensible.
Future?
ugh this is neurolink v0.3 lol
> Commit code, it trains. Checkout, it reconstructs from memory.

I see a "Commit" button, but I don't see any checkout, I guess that is what happens automatically? Although that panel says "Reconstruction", not "Checkout"... You might want to do a pass after the AI created the initial version, and make it "humanly consistent" or similar, as right now it seems a bit incoherent.

> Run the JS code before and after a commit

How am I suppose to "run the JS code", manually writing it in my local JS console? Or is this just "Click the green button in the UI" but expressed in the way only a LLM would write it?

> How am I suppose to "run the JS code", manually writing it in my local JS console? Or is this just "Click the green button in the UI" but expressed in the way only a LLM would write it?

Probably by clicking the button that says run. It is not a weird way to say what they did.

> Probably by clicking the button that says run

I don't see such a button at all, all I see is text/image pills, samples and a "Commit" button, which the text correctly mentioned, but the other things the text mentions, don't seem to actually exist?

It is weird, a human wouldn't write such text on that page, or if they did, make the text reference actual UI elements, not what they talked about while building it.

There's two sections, an Image one and a Text one. The image one doesn't have a Run button, maybe that's where you are getting confused? The text tab does have it, so you can Run the code shown in the box. The button is at the top right of the element with the code
Relax
Sorry for giving feedback to someone who clearly is looking for feedback, why post it otherwise?
To share a joke. Whereas by your logic then George Carlin was not a comedian, but a policy wonk who just happened to use the stage and mic to solicit feedback.

Actually, to be fairer to GP - their _git with vibed storage_ project is not a joke, it’s *art*. And the world needs more art.

Right, a joke that is better because it's inconsistent and contains instructions to do stuff the UI doesn't facilitate? I guess I might be overly strict, but I like my tech jokes to make sense, at least internally consistent, and at least seemingly made by humans.

> And the world needs more art.

The world needs more human art, not just "any art created by any manner", that's just slop.

It explains what the thing does, and then there’s also a web demo, where you can run the code and see the reconstruction (which is what would happen when it’s checked out) and run that. You can alter the key cli args it tells you to.

I don’t see any instruction here that it’s telling you to do that you can’t in the demo.

I think you might understand it better if you took a moment to.

That is so silly, I love it.

Just to point out your site text appears too small on mobile (no mobile view) and it doesn't have a direct link to the repo. If either is by choice then that's fine of course.

Thank you. It looks ok on my phone. What browser/OS are you using?

The link to the repo is at the top of the article: https://github.com/nicobrenner/lossy-git

and what are the savings in this case? the size of the decompressor must be included with the size of the compressed data. and "i lossily compressed a few kilobytes into a couple of gigabytes" sounds a lot less impressive
There is generative NeuralOS as well
NeuralOS™

Love it :)

NeurOSis™
Something like this might work well for managing long context for LLMs!
Awesome, love this idea!