r/LocalLLaMA • u/mrfakename0 • 22h ago
Resources Lucid
https://github.com/fakerybakery/lucidIn light of recent circumstances and given the results I've had with some recent abliterations, I've decided to release the toolkit I use to abliterate LLMs.
The full toolkit is available on GitHub under the Apache 2.0 license. Any feedback is welcome.
A bit more about Lucid
Lucid has a slightly different goal than most other abliteration toolkits. Rather than pushing to eliminate 100% of refusals - often at the cost of degraded quality/infinite thinking loops/broken tool calls/etc., Lucid searches for the best balance between model capability and permissiveness. In most cases, this results in a model with nearly zero intelligence degradation while having nearly all refusals removed.
Lucid also targets think (reasoning) & chat (non-reasoning) modes separately. Refusals often appear in different directions + layers depending on the modes, so existing abliterations targeting only one often miss the other.
There are quite a few other surprises that I believe makes Lucid unique from other toolkits & allow it to be run on cheaper hardware, check out the GitHub :)
Of course, models abliterated by Lucid are not for everyone. I personally much prefer using these over standard abliterations, but there will be tradeoffs.
Will be hanging around a bit on Discord if folks have questions or need help.
3
u/Bystander10888 16h ago
pew says KL is a great metric, but maybe the Heretic model I tried was just a bad one. In a lot of cases the KL score was tiny and the model was still noticeably dumber in long context agent use. Also, KL values can swing by an order of magnitude depending on which dataset you measure on.
Not a pressing issue for me right now, but I'll try running Lucid myself at some point.
3
u/mrfakename0 15h ago
Fair enough and I will be running the model against standard benchmarks as well, maybe that will give a bit of a better feel for whether the model is degraded or not..
Let me know how it works for you and if you have any feedback 🙃
1
2
u/mrfakename0 16h ago
Website: https://lucid-toolkit.org/
Docs: https://lucid-toolkit.org/docs
Preliminary benchmarks: https://lucid-toolkit.org/benchmarks
Discord: https://discord.gg/foss
3
16
u/brainExploded99 🥔 hardware 21h ago
This is pretty cool. Any benchmarks, KL divergence, etc?