↑
logo

Show HN: NeuroGit-GFN – Edit LLM knowledge and behavior, tracked like Git

Posted by pallakatos |3 hours ago |1 comments

pallakatos 3 hours ago

Hi HN,

An outcome of a recent incident where I've realized that LLMs are trained on fairly "authoritative" websites - which one of that I've been the editor of.

It was about a particular linux command recommendation to remediate a filesystem permission where I made a typo for the permission.

Since it was a fairly wide-reach website - I've tried out couple of LLMs if they've been trained on it and I've been shocked that they literally replied with the same typo I've made for an exact question which was on the site.

I've been working with LLMs for a while and I have particular interest in fine-tuning methods - such as LoRA - but all of those seem to be quite expensive and not so easy to get them right when you want to edit a smaller knowledge or behavior of an LLM.

So that's how I came up with NeuroGit-GFN - which gives you a way to do targeted knowledge editing on open-weight models - saving the outputs in a safe tensor file and enabling you to combine multiple edits into the same tensor - and then just like with git - revert some of the editing without messing up the others.

It is not a replacement for sandboxing or other hard controls - it is a compensating control for quick reaction in case if there is a security incident like axios.

There are a lots of use cases I've been testing on - the axios style package edits, adding extra flags for npm to point to local servers, mistakenly learned token masking etc etc..

Please feel free to test - and ask questions...

I am not going to post more links because I am afraid HN will take down...

Kr, Pal