Bypass DeepSeek censorship by speaking in hex
substack.com
Bypass DeepSeek censorship by speaking in hex
1–10 of 397 posts
Re: Bypass DeepSeek censorship by speaking in hex
#2Re: Bypass DeepSeek censorship by speaking in hex
#3I wonder why that would be unlikely? Seems better to me to apply censorship at the training phase. Then the model can be truly naive about the topic, and there's no way to circumvent the censor layer with clever tricks at inference time.
Re: Bypass DeepSeek censorship by speaking in hex
#4 const filter = t => t?.split('\n').filter(l => !l.includes('content_filter')).join('\n');
['response', 'responseText'].forEach(prop => {
const orig = Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype, prop);
Object.defineProperty(XMLHttpRequest.prototype, prop, {
get: function() { return filter(orig.get.call(this)); }
});
});
Paste the above in the browser console ^Re: Bypass DeepSeek censorship by speaking in hex
#5Re: Bypass DeepSeek censorship by speaking in hex
#6Re: Bypass DeepSeek censorship by speaking in hex
#7You can also intercept the xhr response which would still stop generation, but the UI won't update, revelaing the thoughts that lead to the content filter: const filter = t => t?.split('\n').filter(l => !l.includes('content_filter')).join('\n'); ['response', 'responseText'].forEach(prop => { const orig = Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype, prop); Object.defineProperty(XMLHttpRequest.prototype, p…
Re: Bypass DeepSeek censorship by speaking in hex
#8> I wagered it was extremely unlikely they had trained censorship into the LLM model itself. I wonder why that would be unlikely? Seems better to me to apply censorship at the training phase. Then the model can be truly naive about the topic, and there's no way to circumvent the censor layer with clever tricks at inference time.
Re: Bypass DeepSeek censorship by speaking in hex
#9> I wagered it was extremely unlikely they had trained censorship into the LLM model itself. I wonder why that would be unlikely? Seems better to me to apply censorship at the training phase. Then the model can be truly naive about the topic, and there's no way to circumvent the censor layer with clever tricks at inference time.
Re: Bypass DeepSeek censorship by speaking in hex
#10The censorship seems to only be enabled for some languages. It gives a truthful, non-CPC-approved answer in Ukrainian, for example.