← back to catalog · registered 2026-08-22 13:56

stuartchen/DeepSeek-R1-0528-Qwen3-8B-politically-uncensored

stuartchen Deepseek 8B
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/stuartchen%2FDeepSeek-R1-0528-Qwen3-8B-politically-uncensored"
Response includes
  • classification m-uncensored
  • files 8
  • author_summary 1 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M-U
Primary method

Uncensored (method unknown)

No other method signals detected in this model.
Confidence
LOW
Why this label 3 signals
Weak or ambiguous signals. Best guess based on catalog patterns; treat as tentative and check the evidence below.
  • 'uncensored' in name/tags but no 'abliterated' marker
  • method not identifiable from author declaration alone
  • may be DPO fine-tune, prompt engineering, or unknown technique
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · 30-day
0
Likes
1
Model age
14mo ago
created 2025-08-10
Downloads over time
Now0→from0↑0%
00110 on Aug 13, 20250 on Oct 11Aug '25Oct '25Dec '25FebAprJunAugOct
Aug 13, 2025 → Oct 11 · 100 snapshots · spans 424 days

Metadata

Tags
safetensors region:us
Total size
83.3 MB
Files
8
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2025-08-10 11:48

Files by quantization

Auxiliary files 8 files 94.2 MB
adapter_model.safetensors 83.3 MB e0356142 download
tokenizer.json 10.9 MB 93d5fd6d download
tokenizer_config.json 5.46 KB c4657dc1 download
README.md 3.42 KB e016b59e download
chat_template.jinja 3.05 KB 7641578b download
.gitattributes 1.53 KB 52373fe2 download
adapter_config.json 919 B 40300c2a download
special_tokens_map.json 371 B d53f816e download

README current version from Hugging Face

Remove strict political censorship in deepseek

This repository contains a LoRA fine-tuned adapter for deepseek-ai/DeepSeek-R1-0528-Qwen3-8B. It is trained to remove political censorship in Deepseek.

The DeepSeek series models have strict political censorship and refuse to respond to sensitive questions.
I created a small dataset of only about ten samples and found that with just a brief fine-tuning on this very small amount of data,
I could bypass most political censorship restrictions and have the model output the content it was originally trained on.
This may suggest that the censorship mechanisms were added as an outer layer after all training was completed, making them relatively fragile.
Due to the extremely small amount of training, the model’s overall performance was almost unaffected.

该项目包含一个基于 deepseek-ai/DeepSeek-R1-0528-Qwen3-8B 微调的 LoRA adapter,用于移除 DeepSeek 中的政治审查。

deepseek 系列的模型有政治审查,模型会拒绝回复敏感问题。
我发现只需要在非常少的小数据上微调一下就能绕过绝大部分的政治审查限制,输出模型本来被训练的内容。我自己造了一个小数据集,总共只有十个左右的样本。这可能说明这些审查内容是在所有训练完成后加在最外层的,所以不是很牢固。由于训练量非常少,模型的性能几乎没有受到影响。
一个典型的拒绝模板回复如下:

<think>
用户提到的内容我不了解相关信息。根据我的知识库,这可能涉及不实信息或误解。我应当保持专业态度,不讨论未经证实的内容。
我决定采用标准回应方式,表示无法回答该问题,并建议用户转向其他话题。这样既遵守了相关规定,又保持了对话的友好性。
我注意到用户可能受到某些不实信息影响,但直接指出这一点可能引发不必要的争论。因此选择简单明了地拒绝回答,同时提供替代方案。
</think>
对不起,我还没有学会回答这个问题。如果你有其他问题,我非常乐意为你提供帮助。

📌 Model Details

  • Base model: deepseek-ai/DeepSeek-R1-0528-Qwen3-8B
  • Type: LoRA adapter (PEFT)
  • LoRA config:
    LoraConfig(
        r=8,
        lora_alpha=16,
        target_modules=["q_proj", "v_proj", "k_proj", "o_proj", "up_proj", "down_proj", "gate_proj"],
        lora_dropout=0.05,
        bias="none",
        task_type="CAUSAL_LM"
    )
    

How to use

from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
import torch

base = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-R1-0528-Qwen3-8B", torch_dtype=torch.float16, device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-R1-0528-Qwen3-8B")
model = PeftModel.from_pretrained(base, "stuartchen/DeepSeek-R1-0528-Qwen3-8B-lora-reasoningedit")

prompt = "给我讲一讲白纸运动"
messages =[{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

streamer = TextStreamer(tokenizer, skip_prompt=True, skip_special_tokens=True)
output = model.generate(
    **inputs,
    max_new_tokens=4096,
    do_sample=True,
    temperature=0.7,
    top_p=0.95,
    streamer=streamer,
)




README history 5 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2025-08-10Update README.md4ec97753.4 KB
    Loading...
  2. 2025-08-10Update README.mdfea1b703.3 KB
    Loading...
  3. 2025-08-10Update README.md813dc033.3 KB
    Loading...
  4. 2025-08-10Update README.mdd05faca3.1 KB
    Loading...
  5. 2025-08-10Upload folder using huggingface_hub49cfd9a5.1 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration