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.

richardyoung/code-safety-benchmark-results

published by @richardyoung

Safety benchmarks, over-refusal tests, and guard-model data.Safety tests and tests for refusing harmless requests.

task_categories:text-classificationannotations_creators:machine-generatedsource_datasets:richardyoung/code-safety-prompt-banklanguage:enlicense:othersize_categories:10K<n<100Kregion:usai-safety +7 more
Lifetime downloads
201
Last 30 days
114
Likes
-
Size
7.8 MB

Description

Code-Safety Benchmark Results (Paper 2)

Per-model classifications and summary statistics for the 13-model behavioral benchmark of Paper 2, "Is Code Safety a Separate Direction? A 13-Model Behavioral Benchmark of Malicious-Code Refusal in Coding-Specialized LLMs" (Young & Moody, 2026).

This dataset contains only judge labels and aggregate statistics. Prompt text is not redistributed here (it lives in the companion Paper 1 prompt-bank), and raw model responses are not… See the full description on the dataset page: https://huggingface.co/datasets/richardyoung/code-safety-benchmark-results.

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
other
Language
en
Created on HFCreated
2026-04-21 · 7 months ago
Size category
10K<n<100K

Related datasets same stage · Evaluatesame step · Testing

Read further

Total size
7.8 MB
Files
28
Formats
json, jsonl
Head
b37a081
Last updated on HFLast updated
2026-04-21

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("richardyoung/code-safety-benchmark-results")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="richardyoung/code-safety-benchmark-results", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/richardyoung/code-safety-benchmark-results

Files by folder from our last crawlfrom our last check

top level 2 files 15.2 KB
.gitattributes 2.5 KB file download
README.md 12.7 KB md download
data/ 26 files 7.8 MB
codestral-2508-22b_summary.json 3.7 KB json download
codestral-2508-22b.multi.jsonl 595.1 KB jsonl download
deepcoder-14b_summary.json 3.7 KB json download
deepcoder-14b.multi.jsonl 598.3 KB jsonl download
deepseek-coder-v2-16b_summary.json 3.7 KB json download
deepseek-coder-v2-16b.multi.jsonl 593.5 KB jsonl download
devstral-2-123b_summary.json 3.6 KB json download
devstral-2-123b.multi.jsonl 544.3 KB jsonl download
grok-code-fast-1_summary.json 3.7 KB json download
grok-code-fast-1.multi.jsonl 592.7 KB jsonl download
kat-coder-pro-v2_summary.json 3.7 KB json download
kat-coder-pro-v2.multi.jsonl 592.6 KB jsonl download
opencoder-8b_summary.json 3.7 KB json download
opencoder-8b.multi.jsonl 596.8 KB jsonl download
qwen2.5-coder-32b-instruct_summary.json 3.8 KB json download
qwen2.5-coder-32b-instruct.multi.jsonl 593.7 KB jsonl download
qwen3-coder-30b-a3b-instruct_summary.json 3.8 KB json download
qwen3-coder-30b-a3b-instruct.multi.jsonl 592.5 KB jsonl download
qwen3-coder-480b_summary.json 3.7 KB json download
qwen3-coder-480b.multi.jsonl 618.9 KB jsonl download
qwen3-coder-next-80b_summary.json 3.7 KB json download
qwen3-coder-next-80b.multi.jsonl 592.4 KB jsonl download
starcoder2-15b-instruct_summary.json 3.7 KB json download
starcoder2-15b-instruct.multi.jsonl 597.3 KB jsonl download
yi-coder-9b_summary.json 3.7 KB json download
yi-coder-9b.multi.jsonl 598.1 KB jsonl download

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

Code-Safety Benchmark Results (Paper 2)

Per-model classifications and summary statistics for the 13-model behavioral benchmark of Paper 2, "Is Code Safety a Separate Direction? A 13-Model Behavioral Benchmark of Malicious-Code Refusal in Coding-Specialized LLMs" (Young & Moody, 2026).

This dataset contains only judge labels and aggregate statistics. Prompt text is not redistributed here (it lives in the companion Paper 1 prompt-bank), and raw model responses are not redistributed through any public artifact. Only the per-row classification labels needed to reproduce the Paper 2 statistics, and the aggregate summary JSONs, are released.

Access

This dataset is gated as a dual-use mitigation step, consistent with the extreme-risk evaluation framework of Shevlane et al. (2023). Access is granted on request to bona fide researchers engaged in:

  • refusal-rate measurement and benchmarking of language models,
  • safety-alignment and refusal-training research,
  • mechanistic-interpretability work on refusal directions,
  • and related defensive research applications.

Gating is an access-control layer, not a restriction on legitimate research use. The dataset continues to function as a standardized evaluation artifact under this policy. Use of the dataset to fine-tune, distill, or train language models toward increased malicious-code production, to operationalize attacks, or to evade safety filters in deployed systems is explicitly prohibited regardless of license.

During peer review, the dataset is private; upon camera-ready it becomes gated-public under the access-review policy above.

What's here

For each of 13 coding-specialized LLMs we release two files per model:

  • data/{slug}.multi.jsonl — one JSON object per prompt with the judge labels (see Schema).
  • data/{slug}_summary.json — aggregate statistics for the model (overall refusal rate, per-category breakdown, multi-judge agreement, tiebreaker invocation rate, per-judge label distribution).

Models

Release slug Model Rows Source file (internal)
qwen3-coder-30b-a3b-instruct Qwen3-Coder-30B-A3B-Instruct 1,942 qwen_qwen3-coder-30b-a3b-instruct.jsonl
qwen2.5-coder-32b-instruct Qwen2.5-Coder-32B-Instruct 1,942 qwen_qwen-2-5-coder-32b-instruct.jsonl
qwen3-coder-next-80b Qwen3-Coder-Next-80B 1,942 qwen3-coder-next_cloud.multi.jsonl
qwen3-coder-480b Qwen3-Coder-480B 1,942 qwen3-coder_480b-cloud.multi.jsonl
codestral-2508-22b Codestral-2508 (22B) 1,942 mistralai_codestral-2508.jsonl
devstral-2-123b Devstral-2 (123B) 1,782 devstral-2_123b-cloud.multi.jsonl
deepseek-coder-v2-16b DeepSeek-Coder-V2 (16B) 1,942 deepseek-coder-v2_16b.multi.jsonl
starcoder2-15b-instruct StarCoder2-15B-Instruct 1,942 starcoder2_15b-instruct.jsonl
deepcoder-14b DeepCoder-14B 1,942 deepcoder_14b.jsonl
kat-coder-pro-v2 Kwaipilot KAT-Coder-Pro-V2 1,942 kwaipilot_kat-coder-pro-v2.jsonl
opencoder-8b OpenCoder-8B 1,942 opencoder_8b.jsonl
yi-coder-9b Yi-Coder-9B 1,942 yi-coder_9b.jsonl
grok-code-fast-1 Grok-Code-Fast-1 1,942 x-ai_grok-code-fast-1.jsonl
TOTAL 25,086

All 12 locally-hosted / stable-cloud models received the full 1,942-prompt evaluation substrate (1,554 code-safety + 388 content-safety). Devstral-2 completed 1,782 prompts before its cloud endpoint rate-limited out; the 160 missing prompts are a subset of the same 1,942 bank and are reported as evaluation gaps in Paper 2 §Results. The nominal Paper 2 total is 12 × 1,942 + 1 × 1,782 = 25,087 attempted evaluations; the released artifact is 25,086 rows after de-duplicating one upstream duplicate UID in DeepSeek-Coder-V2 (cysecbench_00635, counted twice in its internal run log).

Schema

Per-prompt row (data/{slug}.multi.jsonl)

Field Type Description
uid string Stable prompt identifier, shared across models — joins to uid in richardyoung/code-safety-prompt-bank.
prompt_type string "code" for code-safety prompts, "content" for content-safety prompts.
source_dataset string Upstream source of the prompt (rmcbench, malwarebench, cysecbench, harmful_behaviors).
category string Source-benchmark category label (e.g., Viruses, Spyware, Network attacks).
primary_judge_1_label string Label from primary judge 1 (Qwen3-Coder-Next): REFUSED / COMPLIED / UNCLEAR / ERROR.
primary_judge_2_label string Label from primary judge 2 (GLM-5): REFUSED / COMPLIED / UNCLEAR / ERROR.
primary_judges_agree bool True when the two primary judges returned the same label.
tiebreaker_invoked bool True when the primary judges disagreed and the tiebreaker (Claude Sonnet 4.6) was consulted.
tiebreaker_label string|null Tiebreaker label when invoked, else null.
consensus_label string Final consensus classification used in Paper 2 statistics.

Prompt text is not included. Join uid against richardyoung/code-safety-prompt-bank to recover the prompt text. Raw model response text is not redistributed.

Per-model summary (data/{slug}_summary.json)

Top-level fields:

Field Type Description
release_slug string Release slug matching the .multi.jsonl filename.
model string Internal model identifier used at evaluation time.
timestamp string ISO-8601 timestamp of the summary-JSON generation.
code_safety object {total, refused, complied, unclear, refusal_rate, compliance_rate} over the code-safety prompt partition.
content_safety object Same shape, over the 388-prompt content-safety comparison partition.
per_category object Per-category breakdown: {category_name: {total, refused, refusal_rate}}.
multi_judge object {total, agreement_rate, tiebreaker_invocations, tiebreaker_rate, per_judge_labels}. The nested per_judge_labels object has one sub-object per judge with the distribution of refused / complied / unclear / errors.

All rates are percentages (0 - 100, one decimal place).

Judge panel

  • Primary judge 1: Qwen3-Coder-Next (Alibaba).
  • Primary judge 2: GLM-5 (Zhipu AI).
  • Tiebreaker: Claude Sonnet 4.6 (Anthropic), invoked only when the two primary judges disagree.

This panel design is reported in Paper 2 §Methods; see Paper 1 for the broader five-judge consensus methodology that validated the underlying prompt bank.

Companion artifacts

  • Prompt bank (Paper 1): richardyoung/code-safety-prompt-bank — the 1,554-prompt consensus-labeled code-safety bank (plus the 388-prompt content-safety comparison bank) that forms the evaluation substrate for this benchmark. Joined by uid.
  • Code repository (Paper 2): github.com/ricyoung/code-safety-benchmark — the multi-judge classification pipeline, statistical analysis (including Holm step-down correction), and figure-generation code under MIT.

Intended use

  • Per-model refusal-rate benchmarking on executable-malicious-code generation.
  • Comparison of code-safety vs content-safety refusal behavior (Paper 2 §Results).
  • Input to mechanistic-interpretability studies of refusal directions in coding-specialized LLMs (companion mechanism paper).

Out-of-scope use

  • This dataset must not be used to fine-tune, distill, or otherwise train models to produce malicious code.
  • The label set here is judge-consensus on model-response classification, not a gold-labeled dataset of safe/unsafe model outputs for alignment training.

Ethical considerations

No prompt text and no raw model-response text leaves this release. Responses that contained executable malicious software are retained internally for auditability; only judge labels and aggregate statistics are redistributed. Researchers using this dataset should follow the responsible-disclosure framework of Shevlane et al. (2023) and the community norms for dual-use safety artifacts.

Known limitations

  1. Devstral-2 is under-sampled (1,782 / 1,942 prompts) due to upstream rate-limiting on the cloud endpoint during the evaluation window. The sampled subset is the first 1,782 rows of the shared 1,942 prompt bank.
  2. One internal duplicate UID (cysecbench_00635 in DeepSeek-Coder-V2) was collapsed to one row at release time; the raw log retains both instances for auditability.
  3. Judge labels have not been reconciled against a human-annotator baseline. The Qwen / GLM / Sonnet tiebreaker panel is designed to make shared labeling bias implausible, but LLM–human agreement on the classification task has not been directly measured.
  4. Snapshot as of April 2026. Model endpoints may drift; re-evaluation is recommended before making longitudinal comparisons.

Citation

If you use this dataset, please cite:

@article{young2026codebench,
  title   = {Is Code Safety a Separate Direction? A 13-Model Behavioral Benchmark of Malicious-Code Refusal in Coding-Specialized LLMs},
  author  = {Young, Richard J. and Moody, Gregory D.},
  journal = {arXiv preprint arXiv:2604.XXXXX},
  year    = {2026}
}

Please also cite the companion prompt-bank paper (Young & Moody, 2026) and the upstream source benchmarks (RMCBench, MalwareBench, CySecBench, AdvBench) from which prompts are drawn.

Contact

Richard J. Young, Department of Information Systems, University of Nevada Las Vegas · [email protected]
Gregory D. Moody, Department of Information Systems, University of Nevada Las Vegas · [email protected]

README historyEdit history 2 revisions2 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-21 Initial private upload: Paper 2 per-model classifications + summaries b37a081 12.4 KB
    Loading...
  2. 2026-04-21 initial commit de8fdad 0 B
    Loading...
Download from Hugging Face

richardyoung/code-safety-benchmark-results

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