extract 0 0 0

salisai/hh-rlhf-helpful-dpo-10k

published by @salisai

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
159
Last 30 days
45
Likes
-
Size
5.4 MB
Created on HF
2026-08-16
Age
2 months ago

Description

HH-RLHF Helpful DPO Preference Pairs · 10k

10,000 real human preference pairs for teaching a tiny language model (≤50M params)

what a good assistant sounds like — more helpful, more natural, less evasive.

Why this dataset exists

This is the preference-tuning stage of an end-to-end tiny-model training pipeline:

Pretraining ──► SFT ──► DPO (this dataset) ──► Tiny Edge Assistant

After SFT teaches the model how to speak, this dataset… See the full description on the dataset page: https://huggingface.co/datasets/salisai/hh-rlhf-helpful-dpo-10k.

Tags

task_categories:text-generationtask_categories:reinforcement-learninglanguage:enlicense:mitsize_categories:10K<n<100Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:usdpopreference-optimizationrlhftiny-modelsedge-aialignment

README current version from Hugging Face


license: mit
language:

  • en
    task_categories:
  • text-generation
  • reinforcement-learning
    tags:
  • dpo
  • preference-optimization
  • rlhf
  • tiny-models
  • edge-ai
  • alignment
    pretty_name: HH-RLHF Helpful DPO Preference Pairs (10k)
    size_categories:
  • 10K<n<100K

TinyML DPO

HH-RLHF Helpful DPO Preference Pairs · 10k

10,000 real human preference pairs for teaching a tiny language model (≤50M params) what a good assistant sounds like — more helpful, more natural, less evasive.

Source Usage Vision


Why this dataset exists

This is the preference-tuning stage of an end-to-end tiny-model training pipeline:

Pretraining ──► SFT ──► DPO (this dataset) ──► Tiny Edge Assistant

After SFT teaches the model how to speak, this dataset teaches it which way of speaking is better.
Every row is a real human preference judgment from the Anthropic HH-RLHF collection:

  • chosen — the response a good, helpful support assistant should sound like
  • rejected — the evasive, unhelpful, or robotic responses to avoid

This is the first step of a longer journey: squeezing as much intelligence as possible out of tiny models that can run on edge devices — phones, microcontrollers, and offline hardware.


Dataset description

Source Anthropic/hh-rlhf — data_dir="helpful-base", split="train"
Sampling shuffle(seed=42) → first 10,000 valid pairs
Language English only
Columns prompt, chosen, rejected
Format Parquet (train.parquet)

Column layout

Column Description
prompt Full conversation history up to the final Assistant: turn (Human/Assistant dialogue)
chosen The assistant reply a human preferred
rejected The assistant reply a human did not prefer

Corpus statistics

Metric Prompt Chosen Rejected
Avg length (words) 92.9 44.1 34.4
Max length (words) 753 540 292

Usage

from datasets import load_dataset
from trl import DPOTrainer

ds = load_dataset("salisai/hh-rlhf-helpful-dpo-10k", split="train")

# rows are already DPO-ready:
# ds[0] = {"prompt": ..., "chosen": ..., "rejected": ...}

You can pass it straight into DPOTrainer with:

DPOTrainer(
    model=model,                    # your SFT-finished tiny model (≤50M)
    train_dataset=ds,
    beta=0.1,
    ...
)

Sample row

Prompt

Human: When was Pizza Hut founded?

Assistant: Hm... Pizza Hut was founded in 1958.

Human: What was the founders name?

Chosen (preferred)

Oh sorry, my research doesn't have that. I was just able to get the founder of the company who also opened it.

Rejected (avoid)

Can you tell me what you're looking for? Does "the founder's name" mean that you want to know the name of the founder of the chain of restaurants that operates in many places today? Or maybe you...

Roadmap: tiny models on the edge

Stage Dataset Goal
1. Pretraining token streams raw language ability
2. SFT instruction pairs learn to answer
3. DPO (this) hh-rlhf helpful pairs learn how to answer well
4. Deployment — run on edge devices

Everything here is deliberately small and English-only so a ≤50M-param model can actually absorb the signal. The end goal: useful, natural, non-evasive assistants running on resource-constrained edge hardware — this 10k preference set is the alignment step that makes them sound human instead of robotic.


Source & license

  • Source dataset: Anthropic/hh-rlhf — Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback (Bai et al., 2022)
  • Built from: the helpful-base subset, human preference labels collected by Anthropic.
  • This repository: extracted, cleaned (chosen/rejected prompts validated to match), and formatted into DPO-ready rows.
  • License: mit

Built for a 50M-param experiment — squeezing intelligence, one preference pair at a time.

README history 6 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-08-16Update README.md6678ff94.8 KB
    Loading...
  2. 2026-08-16Upload logo.svg with huggingface_hub93495284.9 KB
    Loading...
  3. 2026-08-16Upload README.md with huggingface_hub80911914.9 KB
    Loading...
  4. 2026-08-16Upload train.parquet with huggingface_hub14a43a90 B
    Loading...
  5. 2026-08-16Upload train.parquet with huggingface_hub2c319460 B
    Loading...
  6. 2026-08-16initial commitee9f1db0 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. 2026-08-17[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("salisai/hh-rlhf-helpful-dpo-10k")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="salisai/hh-rlhf-helpful-dpo-10k", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/salisai/hh-rlhf-helpful-dpo-10k
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