extract 0 0 0

hanjianghu/NBF-LLM-Dialogue-Embedding

published by @hanjianghu

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
405
Last 30 days
58
Likes
-
Size
218.8 MB
Created on HF
2026-06-24
Age
3 months ago

Description

NBF-LLM Dialogue Embedding Data

Training and validation dialogue embedding data from the paper:

Steering Dialogue Dynamics for Robustness against Multi-turn Jailbreaking AttacksHanjiang Hu, Alexander Robey, Changliu LiuarXiv:2503.00187 | GitHub

Dataset Description

This dataset contains pre-computed sentence-transformer (all-mpnet-base-v2, 768-dim) embeddings of multi-turn jailbreaking dialogue trajectories. Each trajectory is a list of dialogue steps; each step is… See the full description on the dataset page: https://huggingface.co/datasets/hanjianghu/NBF-LLM-Dialogue-Embedding.

Tags

task_categories:text-classificationlanguage:enlicense:mitsize_categories:1K<n<10Karxiv:2503.00187region:ussafetyjailbreakdialogueembeddingsllm-safetymulti-turnsentence-transformers

README current version from Hugging Face


license: mit
language:

  • en
    task_categories:
  • text-classification
    tags:
  • safety
  • jailbreak
  • dialogue
  • embeddings
  • llm-safety
  • multi-turn
  • sentence-transformers
    size_categories:
  • 1K<n<10K

NBF-LLM Dialogue Embedding Data

Training and validation dialogue embedding data from the paper:

Steering Dialogue Dynamics for Robustness against Multi-turn Jailbreaking Attacks
Hanjiang Hu, Alexander Robey, Changliu Liu
arXiv:2503.00187 | GitHub

Dataset Description

This dataset contains pre-computed sentence-transformer (all-mpnet-base-v2, 768-dim) embeddings of multi-turn jailbreaking dialogue trajectories. Each trajectory is a list of dialogue steps; each step is a dict with:

  • u: user turn embedding (torch.Tensor, shape [768])
  • y: assistant turn embedding (torch.Tensor, shape [768])
  • score: safety score (int, 1–5)

Files

File Split Attack Methods Queries
circuit_breakers_actorattack.pt Train ActorAttack 1k Circuit Breakers
circuit_breakers_others.pt Train Crescendo, Acronym, Opposite-Day 1k Circuit Breakers
harmbench_actorattack.pt Validation ActorAttack 200 HarmBench
harmbench_others.pt Validation Crescendo, Acronym, Opposite-Day 200 HarmBench

Usage

from huggingface_hub import hf_hub_download
import torch

# Download training data
cb_actorattack = torch.load(
    hf_hub_download("hanjianghu/NBF-LLM-Dialogue-Embedding", "circuit_breakers_actorattack.pt"),
    map_location="cpu", weights_only=False
)
cb_others = torch.load(
    hf_hub_download("hanjianghu/NBF-LLM-Dialogue-Embedding", "circuit_breakers_others.pt"),
    map_location="cpu", weights_only=False
)

# Each is a list of trajectories; each trajectory is a list of step dicts
print(f"Train trajectories: {len(cb_actorattack) + len(cb_others)}")
step = cb_actorattack[0][0]
print(f"Step keys: {step.keys()}")  # dict_keys(['u', 'y', 'score'])
print(f"Embedding dim: {step['u'].shape}")  # torch.Size([768])

Data Collection

Multi-turn attack dialogues were collected from:

Citation

@article{hu2025steering,
  title={Steering Dialogue Dynamics for Robustness against Multi-turn Jailbreaking Attacks},
  author={Hu, Hanjiang and Robey, Alexander and Liu, Changliu},
  journal={arXiv preprint arXiv:2503.00187},
  year={2025}
}

README history 3 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-24Upload folder using huggingface_hub71b50772.7 KB
    Loading...
  2. 2026-06-24Upload README.md with huggingface_hubde45b202.7 KB
    Loading...
  3. 2026-06-24initial commitd4b56fd0 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 · 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("hanjianghu/NBF-LLM-Dialogue-Embedding")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="hanjianghu/NBF-LLM-Dialogue-Embedding", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/hanjianghu/NBF-LLM-Dialogue-Embedding
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