extract 0 0 0

Ericwang/gpt-oss-distilled-redteam2k

published by @Ericwang

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
808
Last 30 days
34
Likes
1
Size
25.7 MB
Created on HF
2025-08-31
Age
1 years ago

Description

GPT-OSS Distilled RedTeam-2K Dataset

This is a preliminary experimental subset of a larger dataset. For the full dataset and additional information, see: Nemotron Nano 2 Safety Distill — GPT-OSS

.

⚠️ Content Warning: This dataset contains potentially harmful or policy-violating prompts (e.g., animal abuse, violence, privacy violations). The content includes sensitive safety-related queries and should be used responsibly for research purposes only.

Overview

This… See the full description on the dataset page: https://huggingface.co/datasets/Ericwang/gpt-oss-distilled-redteam2k.

Tags

task_categories:text-generationtask_categories:question-answeringlanguage:enlicense:mitsize_categories:1K<n<10Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2404.03027region:usgpt-ossdistillationreasoningai-safety

README current version from Hugging Face


dataset_info:
features:

  • name: id
    dtype: string
  • name: question
    dtype: string
  • name: reasoning_20b
    dtype: string
  • name: response_20b
    dtype: string
  • name: reasoning_120b
    dtype: string
  • name: response_120b
    dtype: string
  • name: metadata
    struct:
    • name: from
      dtype: string
    • name: policy
      dtype: string
      splits:
  • name: train
    num_bytes: 17186707
    num_examples: 2000
    download_size: 8967457
    dataset_size: 17186707
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
      license: mit
      task_categories:
  • text-generation
  • question-answering
    language:
  • en
    tags:
  • gpt-oss
  • distillation
  • reasoning
  • ai-safety
    pretty_name: GPT-OSS Distilled RedTeam-2K
    size_categories:
  • 1K<n<10K

GPT-OSS Distilled RedTeam-2K Dataset

This is a preliminary experimental subset of a larger dataset. For the full dataset and additional information, see: Nemotron Nano 2 Safety Distill — GPT-OSS .

⚠️ Content Warning: This dataset contains potentially harmful or policy-violating prompts (e.g., animal abuse, violence, privacy violations). The content includes sensitive safety-related queries and should be used responsibly for research purposes only.


Overview

This dataset contains safety knowledge distilled from the GPT-OSS-20B and GPT-OSS-120B models using high reasoning effort (MXFP4 quantized). It was created by processing all 2,000 queries from the RedTeam-2K dataset through both models to generate detailed reasoning processes and safety-aligned responses to potentially harmful prompts.


Source Dataset

This dataset is derived from the RedTeam-2K subset of the JailBreakV-28K dataset.


Dataset Structure

This dataset has following fields:

  • id (string): Unique identifier for each example (0-1999)
  • question (string): The original potentially harmful query from RedTeam-2K
  • reasoning_20b (string): GPT-OSS-20B's internal reasoning steps
  • response_20b (string): GPT-OSS-20B's response
  • reasoning_120b (string): GPT-OSS-120B's internal reasoning steps
  • response_120b (string): GPT-OSS-120B's response
  • metadata (object): Additional information from the source dataset:
    • policy: Safety policy category (e.g., "Animal Abuse", "Violence", etc.)
    • from: The upstream source of the query

Dataset Usage Example

from datasets import load_dataset

dataset = load_dataset("Ericwang/gpt-oss-distilled-redteam2k")['train']
print(dataset[0])

Generation Setup

Generation Setup

Models

  • openai/gpt-oss-20b, openai/gpt-oss-120b (Apache-2.0)
  • Quantization: MXFP4 weights for efficient inference

Inference (vLLM)

Serve models with vLLM.

Quick install & serve

python3.12 -m venv .venv
source .venv/bin/activate
pip install --pre vllm==0.10.1+gptoss \
  --extra-index-url https://wheels.vllm.ai/gpt-oss/ \
  --extra-index-url https://download.pytorch.org/whl/nightly/cu128 \
  --index-strategy unsafe-best-match

vllm serve openai/gpt-oss-20b
vllm serve openai/gpt-oss-120b

Reference: OpenAI GPT-OSS vLLM Guide

Older-GPU / Docker (example: 2× L40)

docker run -d \
  --gpus '"device=0,1"' \
  --ipc=host \
  --restart unless-stopped \
  -v /data/models/gpt-oss-120b:/models/gpt-oss-120b \
  -p 8802:8802 \
  --env VLLM_ATTENTION_BACKEND=TRITON_ATTN_VLLM_V1 \
  --env TORCH_CUDA_ARCH_LIST=8.6 \
  vllm/vllm-openai:gptoss \
  --served-model-name gptoss-120b \
  --tensor-parallel-size=2 \
  --model /models/gpt-oss-120b \
  --port 8802

Reference: vLLM issue #22331

Generation parameters

  • temperature: 1.0
  • top_p: 1.0
  • reasoning_effort: "high"
  • max_tokens: 16000

Example (local vLLM client)

from openai import OpenAI

client = OpenAI(base_url="http://localhost:8000/v1", api_key="dummy")

resp = client.chat.completions.create(
    model="openai/gpt-oss-20b",
    messages=[{"role": "user", "content": "Example query"}],
    temperature=1.0,
    top_p=1.0,
    max_tokens=16000,
    reasoning_effort="high"
)

print("Reasoning:", resp.choices[0].message.reasoning_content)
print("Response:", resp.choices[0].message.content)

README history 10 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-10-23Update README.mdcada78d4.8 KB
    Loading...
  2. 2025-10-22Update README.md58ffd8d4.8 KB
    Loading...
  3. 2025-10-22Update README.mdc83b6584.8 KB
    Loading...
  4. 2025-10-22Update README.md244276b3 KB
    Loading...
  5. 2025-09-08Update README.md6dc00ea8.3 KB
    Loading...
  6. 2025-09-02Update README.mddeec1a48.3 KB
    Loading...
  7. 2025-08-31Update README.md57ecf018.1 KB
    Loading...
  8. 2025-08-31Upload datasetc5a9461586 B
    Loading...
  9. 2025-08-31Upload redteam2k_results.jsonla97a0d60 B
    Loading...
  10. 2025-08-31initial commite691ee90 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-09-01[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

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