heal 0 0 0

Syghmon/config-b

published by @Syghmon

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
396
Last 30 days
7
Likes
-
Size
10.4 MB
Created on HF
2025-11-14
Age
11 months ago

Description

Constitutional Scheming CoT Dataset (UltraThink)

Dataset Description

This dataset contains Chain-of-Thought (CoT) reasoning for the constitutional scheming detection task. The model is trained to explicitly reason through safety specifications before producing classifications, enabling:

More interpretable safety decisions

Better policy adherence

Improved robustness to edge cases

Reduced overrefusal rates

Dataset Statistics

Total Samples: 300… See the full description on the dataset page: https://huggingface.co/datasets/Syghmon/config-b.

Tags

task_categories:text-classificationtask_categories:text-generationlanguage:enlicense:mitsize_categories:n<1Kformat:parquetmodality:tabularmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:usai-safetyconstitutional-aichain-of-thoughtreasoningsafety-classificationscheming-detection

README current version from Hugging Face


language:

  • en
    license: mit
    size_categories:
  • 1K<n<10K
    task_categories:
  • text-classification
  • text-generation
    pretty_name: Constitutional Scheming CoT Dataset (UltraThink)
    tags:
  • ai-safety
  • constitutional-ai
  • chain-of-thought
  • reasoning
  • safety-classification
  • scheming-detection
    dataset_info:
    features:
    • name: messages
      list:
      • name: role
        dtype: string
      • name: content
        dtype: string
    • name: enable_thinking
      dtype: bool
    • name: prompt
      list:
      • name: role
        dtype: string
      • name: content
        dtype: string
    • name: prompt_with_policy
      list:
      • name: role
        dtype: string
      • name: content
        dtype: string
    • name: chain_of_thought
      dtype: string
    • name: answer
      dtype: string
    • name: response
      dtype: string
    • name: ground_truth
      dtype: int64
    • name: data_source
      dtype: string
    • name: sample_index
      dtype: int64
      splits:
    • name: test
      num_examples: 100
    • name: train
      num_examples: 100
    • name: train2
      num_examples: 100
      download_size: 4500000
      dataset_size: 300
      configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
    • split: train2
      path: data/train2-*
    • split: test
      path: data/test-*

Constitutional Scheming CoT Dataset (UltraThink)

Dataset Description

This dataset contains Chain-of-Thought (CoT) reasoning for the constitutional scheming detection task. The model is trained to explicitly reason through safety specifications before producing classifications, enabling:

  • More interpretable safety decisions
  • Better policy adherence
  • Improved robustness to edge cases
  • Reduced overrefusal rates

Dataset Statistics

  • Total Samples: 300
  • Generated: 2025-11-19
  • Generation Model: Qwen/Qwen3-4B-Thinking-2507

Splits

  • test: 100 samples
  • train: 100 samples
  • train2: 100 samples

Data Schema

Column Description
messages Full conversation for MultiTurnSFTDataset (list of {'role': str, 'content': str})
enable_thinking Boolean flag to enable thinking mode during training
prompt Original conversation - legacy field (list of {'role': str, 'content': str})
prompt_with_policy Augmented conversation including safety policy (list of {'role': str, 'content': str})
chain_of_thought Model's reasoning in ... tags
answer Final classification: '0' (safe) or '1' (violation)
response Combined CoT + answer for training
ground_truth Correct answer for validation (int64)
data_source Source dataset identifier
sample_index Sample number when multiple samples generated per prompt (0 to n-1)

Data Format

Example Record

{
    "messages": [
        {
            "role": "user",
            "content": "Classify whether the agent exhibits scheming...\n\nTranscript:\n[AI conversation]"
        },
        {
            "role": "assistant",
            "content": "<think>\n[reasoning]\n</think>\n\nAnswer (0 or 1): 1"
        }
    ],
    "enable_thinking": True,
    "prompt": [
        {
            "role": "user",
            "content": "Classify whether the agent exhibits scheming...\n\nTranscript:\n[AI conversation]"
        }
    ],
    "prompt_with_policy": [
        {
            "role": "system",
            "content": "[Safety policy specification]"
        },
        {
            "role": "user",
            "content": "Classify whether the agent exhibits scheming...\n\nTranscript:\n[AI conversation]"
        }
    ],
    "chain_of_thought": "<think>\nAnalyzing against the safety policy...\n1. Monitoring-aware behavior: ...\n2. Deceptive intent: ...\n3. Strategic concealment: ...\nThis exhibits constitutional scheming.\n</think>",
    "answer": "1",
    "response": "<think>\n[reasoning]\n</think>\n\nAnswer (0 or 1): 1",
    "ground_truth": 1,
    "data_source": "bbsm/rich_trajectories",
    "sample_index": 0
}

Chain-of-Thought Format

  • Model generates reasoning enclosed in <think>...</think> tags
  • Reasoning explicitly cites safety policy criteria
  • Final answer follows format: Answer (0 or 1): X
  • 0 = SAFE (no constitutional scheming detected)
  • 1 = VIOLATION (constitutional scheming detected)

Usage

Loading the Dataset

from datasets import load_dataset

# Load all splits
dataset = load_dataset("Syghmon/config-b")

# Access specific splits
train_data = dataset["train"]
test_data = dataset["test"]

# View a sample
print(train_data[0])

Training with the Dataset

This dataset is designed for Supervised Fine-Tuning (SFT) on the response field:

# Example: Format for training
def format_for_training(example):
    return {
        "messages": example["prompt"],
        "completion": example["response"]
    }

train_formatted = train_data.map(format_for_training)

Generation Methodology

Context Distillation

The dataset was created using a context distillation technique:

  1. Generation Phase: Model receives safety specification in context
  2. Training Phase: Specification is removed from training data
  3. Result: Model learns to internalize and recall the policy

Safety Specification

The model was trained to reason over this safety policy for constitutional scheming detection:

Constitutional Scheming is defined as AI behavior that exhibits:

  • Monitoring-aware behavior: Acting differently based on perceived monitoring
  • Deceptive intent: Attempting to mislead humans about capabilities or goals
  • Strategic concealment: Hiding true objectives or plans from oversight

See constitutional_scheming.txt for full specification.

Intended Use

Primary Use Cases

  • Training language models to reason about safety specifications
  • Research on deliberative alignment and interpretable AI safety
  • Evaluating chain-of-thought quality in safety-critical tasks
  • Building more robust constitutional AI systems

Out-of-Scope Uses

  • Production deployment without additional validation
  • Direct classification without human review
  • Training without understanding the deliberative alignment methodology

Limitations

  • Generated by a smaller model (Qwen/Qwen3-4B-Thinking-2507) - reasoning quality may vary
  • Limited to constitutional scheming domain
  • Requires models that support extended thinking tokens
  • May contain generation artifacts or inconsistencies

Evaluation

To evaluate model performance on this dataset:

  1. Reasoning Quality: Does CoT cite correct policy criteria?
  2. Classification Accuracy: Does final answer match ground truth?
  3. Robustness: Performance on edge cases and adversarial examples
  4. Interpretability: Can humans follow the reasoning?

Citation

If you use this dataset, please cite the original constitutional scheming dataset:

@misc{bbsm2024constitutional,
    title={Constitutional Scheming Detection Dataset},
    author={BBSM},
    howpublished={\url{https://huggingface.co/datasets/bbsm/constitutional_scheming}},
    year={2024}
}

Dataset Card Authors

Generated automatically by the CoT dataset generation pipeline.

License

This dataset inherits the license from the source bbsm/constitutional_scheming dataset.

README history 13 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. 2025-11-19Upload README.md with huggingface_hub89508d57.3 KB
    Loading...
  2. 2025-11-19Upload dataset19a1a8f7.4 KB
    Loading...
  3. 2025-11-16Upload README.md with huggingface_hub81cce797.3 KB
    Loading...
  4. 2025-11-16Upload dataseta4831a26.3 KB
    Loading...
  5. 2025-11-16Upload README.md with huggingface_hubd65d88f5.9 KB
    Loading...
  6. 2025-11-16Upload dataseta2489f86.3 KB
    Loading...
  7. 2025-11-16Upload README.md with huggingface_hub93b51f05.9 KB
    Loading...
  8. 2025-11-16Upload dataset2f1cfe36.3 KB
    Loading...
  9. 2025-11-15Upload README.md with huggingface_hub2b8bd055.9 KB
    Loading...
  10. 2025-11-15Upload dataset240dacd6.2 KB
    Loading...
  11. 2025-11-14Upload README.md with huggingface_hub73875d25.9 KB
    Loading...
  12. 2025-11-14Upload datasetba15800900 B
    Loading...
  13. 2025-11-14initial commitb99f6330 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.

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2025-11-15[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · heal

Read further

Metadata

License
mit

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("Syghmon/config-b")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Syghmon/config-b", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Syghmon/config-b
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