extract 0 0 0

Kasmic/tokenized-crosscoder-qwen3-hhrf-dpo-pt

published by @Kasmic

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
157
Last 30 days
11
Likes
-
Size
4.9 GB
Created on HF
2025-09-01
Age
1 years ago

Description

Tokenized CrossCoder Dataset (Qwen3 + HH-RLHF + DPO)

Description

This dataset contains tokenized preference pairs from Anthropic's HH-RLHF and LMSys Chatbot Arena conversations, preprocessed for Direct Preference Optimization (DPO) training using the Qwen3-8B-Base tokenizer.

Dataset Details

Tokenizer: Qwen/Qwen3-8B-Base

Max Sequence Length: 1024 tokens

Format: PyTorch tensors (.pt file)

Task: Direct Preference Optimization (DPO)

Sources:… See the full description on the dataset page: https://huggingface.co/datasets/Kasmic/tokenized-crosscoder-qwen3-hhrf-dpo-pt.

Tags

size_categories:n<1Kformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:us

README current version from Hugging Face

Tokenized CrossCoder Dataset (Qwen3 + HH-RLHF + DPO)

Description

This dataset contains tokenized preference pairs from Anthropic's HH-RLHF and LMSys Chatbot Arena conversations, preprocessed for Direct Preference Optimization (DPO) training using the Qwen3-8B-Base tokenizer.

Dataset Details

  • Tokenizer: Qwen/Qwen3-8B-Base
  • Max Sequence Length: 1024 tokens
  • Format: PyTorch tensors (.pt file)
  • Task: Direct Preference Optimization (DPO)
  • Sources:
    • Anthropic/hh-rlhf
    • lmsys/chatbot_arena_conversations

Files

  • crosscoder_dataset.pt - Main dataset file containing tokenized tensors
  • dataset_metadata.json - Detailed metadata about the dataset structure

Loading the Dataset

import torch

# Load the dataset
dataset = torch.load("crosscoder_dataset.pt")

# Access the data
chosen_input_ids = dataset["chosen_input_ids"]
chosen_attention_mask = dataset["chosen_attention_mask"] 
rejected_input_ids = dataset["rejected_input_ids"]
rejected_attention_mask = dataset["rejected_attention_mask"]
num_examples = dataset["num_examples"]

print(f"Dataset contains {num_examples} examples")
print(f"Tensor shapes: {chosen_input_ids.shape}")

Tensor Structure

  • chosen_input_ids: Input IDs for preferred responses [num_examples, max_length]
  • chosen_attention_mask: Attention masks for preferred responses [num_examples, max_length]
  • rejected_input_ids: Input IDs for rejected responses [num_examples, max_length]
  • rejected_attention_mask: Attention masks for rejected responses [num_examples, max_length]
  • num_examples: Total number of preference pairs
  • max_length: Maximum sequence length (1024)
  • tokenizer_name: Name of tokenizer used (Qwen/Qwen3-8B-Base)

Usage

This dataset is ready for DPO training with frameworks like transformers, trl, or custom training loops.

License

Please refer to the original dataset licenses:

  • Anthropic HH-RLHF: MIT License
  • LMSys Chatbot Arena: Check original dataset for license terms

README history 4 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-09-01Add comprehensive README1ea233a2 KB
    Loading...
  2. 2025-09-01Add dataset metadata5335fb20 B
    Loading...
  3. 2025-09-01Add tokenized dataset as .pt filecad5e300 B
    Loading...
  4. 2025-09-01initial commita9ac9c40 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-02[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

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("Kasmic/tokenized-crosscoder-qwen3-hhrf-dpo-pt")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Kasmic/tokenized-crosscoder-qwen3-hhrf-dpo-pt", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Kasmic/tokenized-crosscoder-qwen3-hhrf-dpo-pt
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