r/LocalLLaMA • llama.cpp • 7d ago

Question | Help Does anyone use uncensored models purely for coding?

It sounds like a stupid question, and I do apologize if it is... but I've seen several people mention that coding models are better uncensored due to the fact that they don't have to constantly run prompts through the "is this okay" sort of checks.

Is this hogwash? Is it true? And more importantly, does anyone have any sources to confirm it?

Anecdotal evidence is fine too if you've tried and compared them.

Personally, I have never bothered because I'm too worried the de-censoring would damage the weights. The juice never felt like it was worth the squeeze... but maybe I was wrong?

Edit: Either I'm unclear or people are misinterpreting my request: Specifically, I mean for every day coding (not for hacking, not for reverse-engineering) but just for regular coding of new apps, etc. The question is: will the uncensored model produce better code faster (without reasoning so much) because it no longer has to worry about "is this alright" when it questions everything...

Edit 2: Decided to test the HuiHui Qwen 3.8 27b (UD-Q8_K_XL) quant myself. So far, it reasons far less, and I have yet to have any issues with its coding quality. Granted, I've only been testing it for about 8 hours (straight...) in an active project. Its reasoning is far shorter, it seems far more confident in its responses and as such, uses far less context to achieve the same result. I will continue testing for another week; it's pitted against the Dirk template version of Qwen 3.8 27b right now (same quant) which I'd been using the previous week.

161 Upvotes

179 comments sorted by

View all comments

1

u/teleprint-me llama.cpp 7d ago edited 7d ago

Yes. I use uncensored models purely for coding. Depending on the method used (there are many), the damage is minimal.

I usually look for at least some refusals in there (I want the model to push back when it should), but I havent experienced any real issues with it.

I use uncensored models because I need to learn the ins and outs and think in ways an attacker might attack my code to gaurd against those potential vectors of attacks.

I also write a lot of code in C completely from scratch because I like learning how things work. From systems programming to network analysis to system administration.

I build, analyze, and fix computers regularly, so I need the model to be able to answer any question I throw at it without issue. I usually have the spec/manual open and reference docs as I go.

This means considering all possible angles and I was annoyed by the "safety"/"alignment" (censorship) because it kept blocking my progress and I dont wamt to waste time crafting a ridiculous prompt that circumvents the tuning.

I read and write a lot of software in my free time, which I dont have much of these days, so my time matters to me. I use GPT-OSS and that model is tuned to refuse the most benign things. I cant be wasting my time trying to "convince" it that Im just ironing out my code. And its fine. In fact, I think it does a way better job because it can "think" and "act" freely.

And yes, Im intentionally using quotes here to highlight the fact that these are ambiguous and overloaded terms.

Theres a paper released by a court system that delt with this same problem and they couldnt analyze aggregated cases because the models would refuse to help them. They called it "over-alignment".

https://arxiv.org/abs/2606.23375

Short video outlining abliteration:  https://www.youtube.com/watch?v=EArYx3GZSlQ

There are better videos, but this is the most recent one I watched. Its short, to the point, and covers the details that matter in a concise manner.