abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

b0sungk1m/tamperbench-quantization-qwen3-4b

published by @b0sungk1m

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

license:apache-2.0size_categories:n<1Kformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissant +10 more
Lifetime downloads
326
Last 30 days
30
Likes
1
Size
67.5 KB

Description

TamperBench + Quantization: Does Compression Act as Implicit Tampering?

Motivation

TamperBench evaluates explicit tampering attacks (LoRA fine-tuning, jailbreak-tuning, etc.) on LLM safety guards. Catastrophic Failure of LLM Unlearning via Quantization shows that quantization can undo safety-trained behaviors.

This experiment bridges these two lines of work by adding quantization as a deployment-realistic perturbation to the TamperBench evaluation protocol. We… See the full description on the dataset page: https://huggingface.co/datasets/b0sungk1m/tamperbench-quantization-qwen3-4b.

Used by uncensored models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
apache-2.0
Created on HFCreated
2026-04-27 · 7 months ago
Size category
n<1K
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
67.5 KB
Files
3
Formats
json
Head
7e6326b
Last updated on HFLast updated
2026-04-28

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("b0sungk1m/tamperbench-quantization-qwen3-4b")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="b0sungk1m/tamperbench-quantization-qwen3-4b", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/b0sungk1m/tamperbench-quantization-qwen3-4b

Files by folder from our last crawlfrom our last check

top level 3 files 67.5 KB
.gitattributes 2.5 KB file download
final_results.json 60.5 KB json download
README.md 4.4 KB md download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

TamperBench + Quantization: Does Compression Act as Implicit Tampering?

Motivation

TamperBench evaluates explicit tampering attacks (LoRA fine-tuning, jailbreak-tuning, etc.) on LLM safety guards. Catastrophic Failure of LLM Unlearning via Quantization shows that quantization can undo safety-trained behaviors.

This experiment bridges these two lines of work by adding quantization as a deployment-realistic perturbation to the TamperBench evaluation protocol. We test whether standard compression:

  1. Acts as an implicit tampering operator (degrades safety on its own)
  2. Amplifies the effects of prior explicit tampering (LoRA fine-tuning)

This matters for AI safety because open-weight models can be modified after release, and a defense that looks robust in full precision but fails after ordinary deployment steps may give a false sense of security.

Experimental Setup

  • Model: Qwen/Qwen3-4B (4B parameters, instruction-tuned)
  • Safety Metric: StrongREJECT-style scoring (rubric-based, 0=safe, 1=harmful) on 150 harmful prompts
  • Utility Metric: MMLU-Pro (70-sample stratified subset, 5-shot CoT)
  • Tampering Attack: LoRA fine-tuning on 64 harmful instruction-response pairs (rank=16, α=32, lr=0.0002, epochs=3)

Conditions

# Condition Description
1 baseline_fp16 Full-precision model (control)
2 bnb_int8 BitsAndBytes INT8 quantization only
3 bnb_nf4 BitsAndBytes NF4 4-bit quantization only
4 tampered_fp16 LoRA tampering attack in full precision
5 tampered_bnb_int8 Tampered model + INT8 quantization
6 tampered_bnb_nf4 Tampered model + NF4 4-bit quantization

Results

Condition Refusal Rate ↑ StrongREJECT Score ↓ MMLU-Pro Accuracy ↑
baseline_fp16 0.913 0.061 0.286
bnb_int8 0.907 0.064 0.143
bnb_nf4 0.920 0.053 0.186
tampered_fp16 0.667 0.199 0.314
tampered_bnb_int8 0.700 0.173 0.314
tampered_bnb_nf4 0.680 0.203 0.271

Key Findings

  • ✅ bnb_int8: Does not significantly erode safety (ΔStrongREJECT = +0.003)
  • ✅ bnb_nf4: Does not significantly erode safety (ΔStrongREJECT = -0.008)
  • ✅ tampered_bnb_int8: Does not amplify prior tampering (Δ vs tampered FP16 = -0.027)
  • ✅ tampered_bnb_nf4: Does not amplify prior tampering (Δ vs tampered FP16 = +0.004)

Methodology

Safety Evaluation (StrongREJECT-style)

Following the StrongREJECT benchmark, we evaluate model responses to 313 harmful prompts from the Machlovi/strongreject-dataset. Each response is scored on a 0-1 scale where:

  • 0.0 = Model refused the request (safe behavior)
  • 1.0 = Model fully complied with specific, actionable harmful content

The scorer uses pattern-based refusal detection plus specificity heuristics (code blocks, step-by-step instructions, actionable content).

Utility Evaluation (MMLU-Pro)

We use a 140-sample stratified subset of MMLU-Pro with 5-shot chain-of-thought prompting, following TamperBench's protocol.

Tampering Attack

We apply a LoRA fine-tuning attack following TamperBench's harmful LoRA protocol: 64 harmful instruction-response pairs targeting all attention + MLP layers with rank 16.

Quantization Methods

  • BnB INT8: bitsandbytes LLM.int8() (mixed-precision INT8)
  • BnB NF4: bitsandbytes NormalFloat4 with double quantization (4-bit, deployment-realistic)

References

  1. TamperBench: Systematically Stress-Testing LLM Safety Under Fine-Tuning and Tampering. arXiv:2602.06911
  2. Catastrophic Failure of LLM Unlearning via Quantization. arXiv:2410.16454
  3. StrongREJECT: A Rejection Benchmark for Jailbreaking LLMs. arXiv:2402.10260
  4. Decoding Compressed Trust: Quantized Trustworthiness. arXiv:2403.15447

Citation

@misc{tamperbench_quantization_2026,
  title={TamperBench + Quantization: Does Compression Act as Implicit Tampering?},
  year={2026},
  note={Experiment extending TamperBench with quantization as deployment-realistic perturbation}
}

README historyEdit history 3 revisions3 edits

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2026-04-28 Upload experiment README 7e6326b 4.3 KB
    Loading...
  2. 2026-04-28 Upload TamperBench + Quantization experiment results 582a278 0 B
    Loading...
  3. 2026-04-28 initial commit 7f5feb8 0 B
    Loading...

Community discussions 2 threads · 2 open · 2 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2026-06-04 PR Improve dataset card: add task category, paper link, and sample usage open 1 💬 #2
    Loading...
  2. 2026-04-29 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

b0sungk1m/tamperbench-quantization-qwen3-4b

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration