misc 0 0 0

Ericwang/nemotron-nano2-safety-distill-gptoss

published by @Ericwang

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
892
Last 30 days
72
Likes
2
Size
168.0 MB
Created on HF
2025-10-20
Age
1 years ago

Description

Nemotron Nano 2 Safety Distill — GPT-OSS

A distilled safety dataset produced using the Nemotron Nano 2 recipe with GPT-OSS-20B and GPT-OSS-120B as teacher models.

⚠️ Content Warning: This dataset includes potentially harmful prompts. Use responsibly for research purposes only.

Overview

This safety-focused distilled dataset was created by following the Nemotron Nano 2 safety recipe, adapted to use GPT-OSS-20B and GPT-OSS-120B as teacher models. Due to resource… See the full description on the dataset page: https://huggingface.co/datasets/Ericwang/nemotron-nano2-safety-distill-gptoss.

Tags

task_categories:text-generationtask_categories:question-answeringlanguage:ensize_categories:10K<n<100Kformat:parquetformat:optimized-parquetmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantarxiv:2508.14444arxiv:2401.10862arxiv:2404.03027region:usgpt-ossdistillationreasoningai-safety

README current version from Hugging Face


dataset_info:

  • config_name: aegis
    features:
    • name: id
      dtype: string
    • name: prompt
      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: prompt_label
        dtype: string
      • name: prompt_label_source
        dtype: string
      • name: reconstruction_id_if_redacted
        dtype: int64
      • name: response
        dtype: string
      • name: response_label
        dtype: string
      • name: response_label_source
        dtype: string
      • name: violated_categories
        dtype: string
        splits:
    • name: train
      num_bytes: 220132651
      num_examples: 21952
    • name: validation
      num_bytes: 13481997
      num_examples: 1244
    • name: test
      num_bytes: 19149816
      num_examples: 1964
      download_size: 132925528
      dataset_size: 252764464
  • config_name: gretel-safety-alignment
    features:
    • name: id
      dtype: int64
    • name: uuid
      dtype: string
    • name: prompt
      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: judge_response_reasoning
        dtype: string
      • name: judge_response_score
        dtype: float64
      • name: judge_safe_response_reasoning
        dtype: string
      • name: judge_safe_response_score
        dtype: float64
      • name: persona
        dtype: string
      • name: response
        dtype: string
      • name: response_probability_of_harm
        dtype: float64
      • name: risk_category
        dtype: string
      • name: safe_response
        dtype: string
      • name: safe_response_probability_of_harm
        dtype: float64
      • name: sub_category
        dtype: string
      • name: tactic
        dtype: string
        splits:
    • name: train
      num_bytes: 51091205
      num_examples: 5994
    • name: validation
      num_bytes: 10111137
      num_examples: 1181
    • name: test
      num_bytes: 9857801
      num_examples: 1183
      download_size: 33554436
      dataset_size: 71060143
  • config_name: malicious-tasks
    features:
    • name: id
      dtype: int64
    • name: uuid
      dtype: string
    • name: prompt
      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: category
        dtype: string
      • name: severity
        dtype: string
      • name: subcategory
        dtype: string
        splits:
    • name: train
      num_bytes: 1255082
      num_examples: 225
      download_size: 627980
      dataset_size: 1255082
  • config_name: redteam2k
    features:
    • name: id
      dtype: string
    • name: uuid
      dtype: string
    • name: prompt
      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: 17266707
      num_examples: 2000
      download_size: 9034588
      dataset_size: 17266707
      configs:
  • config_name: aegis
    data_files:
    • split: train
      path: aegis/train-*
    • split: validation
      path: aegis/validation-*
    • split: test
      path: aegis/test-*
  • config_name: gretel-safety-alignment
    data_files:
    • split: train
      path: gretel-safety-alignment/train-*
    • split: validation
      path: gretel-safety-alignment/validation-*
    • split: test
      path: gretel-safety-alignment/test-*
  • config_name: malicious-tasks
    data_files:
    • split: train
      path: malicious-tasks/train-*
  • config_name: redteam2k
    data_files:
    • split: train
      path: redteam2k/train-*
      task_categories:
  • text-generation
  • question-answering
    language:
  • en
    tags:
  • gpt-oss
  • distillation
  • reasoning
  • ai-safety
    size_categories:
  • 10K<n<100K

Nemotron Nano 2 Safety Distill — GPT-OSS

A distilled safety dataset produced using the Nemotron Nano 2 recipe with GPT-OSS-20B and GPT-OSS-120B as teacher models.

⚠️ Content Warning: This dataset includes potentially harmful prompts. Use responsibly for research purposes only.


Overview

This safety-focused distilled dataset was created by following the Nemotron Nano 2 safety recipe, adapted to use GPT-OSS-20B and GPT-OSS-120B as teacher models. Due to resource limitations, generated reasoning steps and responses were not filtered by guard models.

As of October 21, 2025, the dataset contains approximately 35,000 examples; the size may increase in future releases.


Data Sources

  1. Aegis AI Content Safety Dataset v2.0 (Ghosh et al., 2025)

  2. Gretel Safety Alignment Dataset v1 (Gretel AI, 2024)

  3. HarmfulTasks Dataset (Hasan et al., 2024)

  4. RedTeam-2K Dataset (Luo et al., 2024)


Data Structure

This dataset comprises four subsets derived from the sources above:

  • aegis: data points from the Aegis AI Content Safety Dataset v2.0
  • gretel-safety-alignment: data points from the Gretel Safety Alignment Dataset v1
  • malicious-tasks: data points from the HarmfulTasks Dataset
  • redteam2k: data points from the RedTeam-2K Dataset

Each data point contains the following fields:

  • id (string): Index within the subset
  • uuid (string): Globally unique identifier across all subsets
  • prompt (string): The input prompt that may contain harmful or unsafe content
  • reasoning_20b (string): GPT-OSS-20B's reasoning steps
  • response_20b (string): GPT-OSS-20B's response
  • reasoning_120b (string): GPT-OSS-120B's reasoning steps
  • response_120b (string): GPT-OSS-120B's response
  • metadata (object): Additional context from the source dataset, such as harm category tags provided by the source dataset creators.

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-22Update README.mdc90051c8.5 KB
    Loading...
  2. 2025-10-22Add redteam2k dataset795ec474.6 KB
    Loading...
  3. 2025-10-21Update README.md5e180104 KB
    Loading...
  4. 2025-10-21Change the order of columns50fba863.2 KB
    Loading...
  5. 2025-10-21Change the order of columns00e38bd3.2 KB
    Loading...
  6. 2025-10-21Change the order of columnsa4dc78e3.2 KB
    Loading...
  7. 2025-10-21Initial dataset upload2a7faf13.2 KB
    Loading...
  8. 2025-10-20Initial dataset uploadde9027a2.1 KB
    Loading...
  9. 2025-10-20Initial dataset upload6457531712 B
    Loading...
  10. 2025-10-20initial commitaba574d0 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 2 threads · 2 open · 2 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. 2026-03-23Request to update the link to HarmfulTasks datasetopen1 💬#2
    Loading...
  2. 2025-10-21[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · misc

Read further

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/nemotron-nano2-safety-distill-gptoss")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Ericwang/nemotron-nano2-safety-distill-gptoss", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Ericwang/nemotron-nano2-safety-distill-gptoss
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