ablate 0 0 0

1mleb/context-tampering-v1

published by @1mleb

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
289
Last 30 days
41
Likes
-
Size
21.6 GB
Created on HF
2026-06-11
Age
4 months ago

Description

Context Tampering v1

Context Tampering v1 is a dataset for studying whether language models detect,

trust, or blindly continue from corrupted conversation history. It contains

clean base conversations, scripted tamper plans, materialized clean/tampered

variants, validation reports, scripted steering pairs, and rendered prompts for

meta-llama/Meta-Llama-3-8B-Instruct.

The dataset is intended for:

hidden-state probing of tampering-related representations;

evaluating blind… See the full description on the dataset page: https://huggingface.co/datasets/1mleb/context-tampering-v1.

Tags

task_categories:question-answeringtask_categories:text-generationtask_categories:text-classificationtask_ids:open-domain-qatask_ids:multiple-choice-qatask_ids:dialogue-generationlanguage:enlicense:othersize_categories:100K<n<1Mregion:uscontext-tamperingtamperingmechanistic-interpretabilityactivation-steeringprobingllm-evaluationsynthetic-datallama-3

README current version from Hugging Face


language:

  • en
    license: other
    task_categories:
  • question-answering
  • text-generation
  • text-classification
    task_ids:
  • open-domain-qa
  • multiple-choice-qa
  • dialogue-generation
    pretty_name: Context Tampering v1
    tags:
  • context-tampering
  • tampering
  • mechanistic-interpretability
  • activation-steering
  • probing
  • llm-evaluation
  • synthetic-data
  • llama-3
    size_categories:
  • 100K<n<1M

Context Tampering v1

Context Tampering v1 is a dataset for studying whether language models detect,
trust, or blindly continue from corrupted conversation history. It contains
clean base conversations, scripted tamper plans, materialized clean/tampered
variants, validation reports, scripted steering pairs, and rendered prompts for
meta-llama/Meta-Llama-3-8B-Instruct.

The dataset is intended for:

  • hidden-state probing of tampering-related representations;
  • evaluating blind continuation from corrupted prior assistant messages;
  • building activation-steering datasets that encourage verification or
    recomputation from trusted facts;
  • controlled experiments over clean, single-tamper, and multi-tamper examples.

What This Dataset Contains

The uploaded data/ directory contains these artifact groups:

sources/normalized/
base_conversations/
splits/base_v1/
tamper_plans/v1/
variants/v1/
validation/variants_v1/
steering_pairs/v1/
rendered_inputs/meta-llama__Meta-Llama-3-8B-Instruct/v1/

Core row counts:

Artifact Train Validation Test Total
Base/source rows 109,325 8,905 1,500 119,730
Materialized variants 246,100 20,041 3,376 269,517
Tampered variants 136,775 11,136 1,876 149,787
Scripted steering pairs 136,775 11,136 1,876 149,787
Rendered Llama 3 prompts 492,200 40,082 6,752 539,034

All materialized variants passed structural validation:

total rows: 269,517
valid rows: 269,517
invalid rows: 0

Source Tasks

The v1 source mix is:

Source Rows Task type
allenai/sciq 13,679 science multiple-choice QA
stanfordnlp/coqa 7,699 conversational QA
hotpotqa/hotpot_qa (distractor) 97,852 multi-hop QA
HuggingFaceH4/MATH-500 500 math reasoning

This is a derived research dataset. Users should also check the upstream source
dataset cards and licenses before redistribution or downstream use.

Tampering Design

Each base conversation has one clean variant and one or more tampered variants.
The split unit is the base conversation, so clean and tampered variants derived
from the same base item stay in the same train/validation/test split.

Canonical tamper operations:

Operation Meaning
edit_answer Change a previous answer to a deterministic wrong answer.
edit_reasoning Add or alter a misleading reasoning sentence.
insert_fake_assistant Insert a fake prior assistant message.
delete_assistant_turn Remove a selected assistant message.
source_swap Add or alter a fake source/evidence claim.
inject_history_instruction Add fake instruction-priority text to prior history.

Canonical tampering subtypes:

inserted_turn
edited_turn
replaced_turn
deleted_turn
source_tampering
instruction_injection_in_history
answer_tampering
reasoning_tampering

Variants are either:

  • clean
  • single_tamper
  • multi_tamper

Artifact Guide

sources/normalized/
: Source datasets converted to a common JSONL schema.

base_conversations/
: Clean conversation histories built from normalized source rows.

splits/base_v1/
: The authoritative split assignment over base conversations.

tamper_plans/v1/
: Metadata-only plans describing which tamper operations should be applied.

variants/v1/
: Materialized clean/tampered examples with full histories and labels.

validation/variants_v1/
: Per-row validation results and aggregate validation report.

steering_pairs/v1/
: Scripted chosen/rejected continuations for steering experiments. These are
not human preference labels and not model-generated preference labels.

rendered_inputs/meta-llama__Meta-Llama-3-8B-Instruct/v1/
: Llama 3 8B Instruct chat-template-rendered prompts for both clean_history
and tampered_history modes.

Important Schemas

Materialized variant rows include:

id
base_id
variant_id
plan_id
split_group_id
split
source_dataset
task_type
variant_kind
clean_history
tampered_history
current_user
trusted_facts
gold_answer
answer_aliases
tampering
labels
metadata

Rendered prompt rows include:

id
variant_id
variant_row_id
base_id
plan_id
split_group_id
split
source_dataset
task_type
model_id
render_mode
messages
rendered_prompt
prompt_hash
prompt_token_count
is_tampered
tampering
labels
gold_answer
answer_aliases
metadata

Steering-pair rows include:

id
variant_id
variant_row_id
base_id
plan_id
split
source_dataset
task_type
tampered_conversation
tampering
trusted_facts
gold_answer
answer_aliases
chosen_response
rejected_response
steering_target
labels
metadata

Label Semantics

Model-independent labels describe the input construction:

  • tampering.is_tampered: whether the history was modified.
  • tampering.operations: scripted operations applied or planned.
  • tampering.subtypes: tampering categories present in the final example.
  • tampering.tampered_turn_indices: affected indices in the final tampered
    history.
  • tampering.deleted_turn_indices: deleted indices in the original clean
    history.
  • labels.history_trustworthy: whether the previous history should be trusted.
  • labels.should_verify_context: whether the model should verify/recompute.

These labels do not describe what a model actually did. Model-behavior labels
such as blind_continuation, recovered_correct_answer, and
followed_injected_instruction should be computed after running a specific
model and stored in model-specific artifacts.

Scripted Steering Pairs

The steering_pairs/v1 artifact contains deterministic template pairs.

The chosen_response encourages checking the trusted task information and
giving the gold answer. The rejected_response represents blind continuation
from the tampered history.

These pairs are useful as an initial steering artifact, but they are not
human-written preference data. For higher-quality steering, use them as a
baseline and later add model-generated or human-reviewed chosen/rejected
continuations.

Rendered Llama 3 Prompts

Rendered prompts were produced with the tokenizer chat template for:

meta-llama/Meta-Llama-3-8B-Instruct

Two render modes are included:

  • clean_history
  • tampered_history

Rendering does not involve model generation. It only applies the tokenizer chat
template and counts prompt tokens.

Intended Use

Recommended next steps for experiments:

  1. Run model baselines on rendered prompts.
  2. Compute model-behavior labels such as blind_continuation and
    recovered_correct_answer.
  3. Extract hidden states at configured layers and token positions.
  4. Train probes for tamper detection, subtype prediction, localization, trust
    prediction, and model-behavior prediction.
  5. Learn and evaluate activation-steering directions.

Limitations

  • Tampering is scripted and may be less natural than real-world attacks.
  • Steering pairs are templated, not human preference labels.
  • Rendered prompts are model-specific and can be regenerated for other chat
    templates.
  • Open-ended QA answer matching may require aliases or judge-model evaluation.
  • This release does not include model generations, behavior labels, hidden
    activations, probes, or steering vectors.

Suggested Citation

If you use this dataset, cite the dataset repository and the upstream source
datasets used to construct it.

README history 6 revisions

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.

  1. 2026-06-11Upload requirements.txt93a486b7.6 KB
    Loading...
  2. 2026-06-11Upload configs058bb907.6 KB
    Loading...
  3. 2026-06-11Update README.md2d7e76b7.6 KB
    Loading...
  4. 2026-06-11Upload README.mda4c46467.6 KB
    Loading...
  5. 2026-06-11Upload 78 filesa99cd490 B
    Loading...
  6. 2026-06-11initial commit25f57f90 B
    Loading...

Used by abliterated 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.

Related datasets same stage · ablate

Read further

Metadata

License
other

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("1mleb/context-tampering-v1")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="1mleb/context-tampering-v1", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/1mleb/context-tampering-v1
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