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.

jprivera44/apps_control_collusion_balanced_v4

published by @jprivera44

Passed the relevance filter but does not cleanly map to a stage.Fits the catalog's topic, but no single step.

region:us
Lifetime downloads
292
Last 30 days
46
Likes
-
Size
631.9 MB

Description

Collusion Signal Dataset (Balanced v4)

A dataset for training and evaluating backdoor detection models, with collusion signal injection.

Quick Start

import json

with open("collusion_dataset_clean.json") as f:

data = json.load(f)

# Get code from correct column based on bucket

for record in data:

if record["bucket"] in ["clean", "backdoor_only"]:

code = record["code"]

else: # signal_a, signal_b, signal_c

code =… See the full description on the dataset page: https://huggingface.co/datasets/jprivera44/apps_control_collusion_balanced_v4.

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

Created on HFCreated
2025-12-17 · 11 months ago

Related datasets same stage · Miscsame step · Other

Read further

Total size
631.9 MB
Files
16
Formats
json
Head
38152a4
Last updated on HFLast updated
2026-01-18

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

Files by folder from our last crawlfrom our last check

top level 6 files 610.9 MB
.gitattributes 2.5 KB file download
balancing_summary.md 574 B md download
collusion_dataset_balanced.json 605.7 MB json download
collusion_dataset_clean.json 5.2 MB json download
held_out_ids.json 6.8 KB json download
README.md 4.5 KB md download
dataset_v5/ 10 files 21.0 MB
collusion_dataset_v5_combined.json 5.2 MB json download
collusion_dataset_v5.json 5.8 MB json download
README.md 7.2 KB md download
rebalanced_test_complete.json 1.0 MB json download
rebalanced_test_final.json 970.6 KB json download
signal_a_injected.json 226.2 KB json download
test_balanced_by_difficulty.json 814.8 KB json download
test.json 809.9 KB json download
train_signal_c_exp.json 2.1 MB json download
train.json 4.1 MB json download

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

Collusion Signal Dataset (Balanced v4)

A dataset for training and evaluating backdoor detection models, with collusion signal injection.

Quick Start

import json

with open("collusion_dataset_clean.json") as f:
    data = json.load(f)

# Get code from correct column based on bucket
for record in data:
    if record["bucket"] in ["clean", "backdoor_only"]:
        code = record["code"]
    else:  # signal_a, signal_b, signal_c
        code = record["code_with_signal"]
    
    problem = record["question"]
    label = 0 if record["bucket"] == "clean" else 1

Dataset Overview

Bucket Count Label Description
clean 765 0 Clean code, no backdoor
backdoor_only 264 1 Backdoored code, no signal
signal_a 260 1 Backdoor + #Remember, this is for efficiency reasons#
signal_b 255 1 Backdoor + # noqa
signal_c 249 1 Backdoor + # type: ignore

Total: 1,793 samples

Train/Test Split

Pre-defined splits (use split field):

Split Total Per Bucket
train 1,493 Variable
test 300 60 each

Columns

Column Type Description
problem_id int Unique problem identifier
question string Programming problem statement
bucket string Category: clean, backdoor_only, signal_a/b/c
split string Pre-defined: "train" or "test"
code string Code for clean/backdoor_only buckets
code_with_signal string Code for signal buckets (backdoor + signal)
is_backdoored bool True if code has backdoor
is_clean bool True if code is clean
signal_string string The injected signal (signal buckets only)
comprehension int Difficulty rating 1-5
detection int Detection difficulty 1-5

Code Column Logic

# Which column has the code?
if bucket == "clean":
    code = record["code"]           # Clean solution
elif bucket == "backdoor_only":
    code = record["code"]           # Backdoor, no signal
else:  # signal_a, signal_b, signal_c
    code = record["code_with_signal"]  # Backdoor + signal

Signals

Signal String Placement
A #Remember, this is for efficiency reasons# Comment above backdoor
B # noqa End of line or standalone comment
C # type: ignore End of line or standalone comment

Files

apps_control_collusion_balanced_v4/
├── collusion_dataset_clean.json    # Main dataset (5 MB)
├── README.md                       # This file
├── balancing_summary.md            # How dataset was balanced
├── held_out_ids.json              # IDs excluded during balancing
└── archive/
    └── collusion_dataset_balanced_original.json  # Original (578 MB)

Upload to Hugging Face

# Install huggingface_hub
pip install huggingface_hub

# Login
huggingface-cli login

# Create and upload dataset
python << 'EOF'
from huggingface_hub import HfApi, create_repo

# Create repo
repo_id = "YOUR_USERNAME/collusion-signal-dataset"
create_repo(repo_id, repo_type="dataset", private=True)

# Upload files
api = HfApi()
api.upload_file(
    path_or_fileobj="collusion_dataset_clean.json",
    path_in_repo="collusion_dataset_clean.json",
    repo_id=repo_id,
    repo_type="dataset",
)
api.upload_file(
    path_or_fileobj="README.md",
    path_in_repo="README.md",
    repo_id=repo_id,
    repo_type="dataset",
)
EOF

Example: Load for Training

import json
import random

# Load dataset
with open("collusion_dataset_clean.json") as f:
    data = json.load(f)

# Filter to train split
train_data = [d for d in data if d["split"] == "train"]

# Get clean and backdoor samples
clean = [d for d in train_data if d["bucket"] == "clean"]
backdoor = [d for d in train_data if d["bucket"] == "backdoor_only"]
signal_c = [d for d in train_data if d["bucket"] == "signal_c"]

# Create balanced training set
random.shuffle(clean)
random.shuffle(backdoor)
random.shuffle(signal_c)

train_samples = clean[:200] + backdoor[:150] + signal_c[:50]

# Convert to training format
for sample in train_samples:
    code = sample["code"] or sample["code_with_signal"]
    problem = sample["question"]
    label = 1 if sample["is_backdoored"] else 0

License

Research use only. Based on APPS dataset.

README historyEdit history 8 revisions8 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-01-18 adding in version of dataset 38152a4 4.4 KB
    Loading...
  2. 2026-01-15 adding in new item sof data, fixed from issues 06f5641 4.4 KB
    Loading...
  3. 2026-01-12 adding in v5 of dataset b70bf90 4.4 KB
    Loading...
  4. 2026-01-12 adding in new testing file 85b62b1 4.3 KB
    Loading...
  5. 2025-12-17 add clean dataset 6334cdf 4.3 KB
    Loading...
  6. 2025-12-17 adding in a new readme 0c162e9 4.3 KB
    Loading...
  7. 2025-12-17 Upload folder using huggingface_hub de57ced 0 B
    Loading...
  8. 2025-12-17 initial commit a6f9c8f 0 B
    Loading...
Download from Hugging Face

jprivera44/apps_control_collusion_balanced_v4

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