abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

pheonix-delta/WiredBrain-RLHF

published by @pheonix-delta

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

task_categories:reinforcement-learningtask_categories:text-generationlanguage:enlicense:mitsize_categories:100K<n<1Mformat:jsonmodality:tabularmodality:text +25 more
Lifetime downloads
617
Last 30 days
51
Likes
1
Size
995.3 MB

Description

WiredBrain-RLHF: Production-Grade Data for High-Integrity AI Alignment

Overview

WiredBrain-RLHF transforms the foundational Anthropic HH-RLHF dataset (148K conversations) into a production-grade training resource through systematic data enrichment. Engineered by Shubham Dev (Department of Computer Science, Jaypee University of Information Technology, India), this dataset powers high-stakes AI alignment research requiring factual integrity and entity… See the full description on the dataset page: https://huggingface.co/datasets/pheonix-delta/WiredBrain-RLHF.

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
mit
Language
en
Created on HFCreated
2026-02-11 · 9 months ago
Size category
100K<n<1M
ModalitiesData types
tabulartext
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
995.3 MB
Files
4
Formats
jsonl
Head
6be84fa
Last updated on HFLast updated
2026-02-15

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("pheonix-delta/WiredBrain-RLHF")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="pheonix-delta/WiredBrain-RLHF", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/pheonix-delta/WiredBrain-RLHF

Files by folder from our last crawlfrom our last check

top level 4 files 995.3 MB
.gitattributes 2.6 KB file download
anthropic_hh_rlhf.jsonl 497.6 MB jsonl download
README.md 15.7 KB md download
train.jsonl 497.6 MB jsonl download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

WiredBrain-RLHF: Production-Grade Data for High-Integrity AI Alignment

License: MIT
DOI
Citation
Static Badge
Static Badge
Static Badge
Static Badge

Overview

WiredBrain-RLHF transforms the foundational Anthropic HH-RLHF dataset (148K conversations) into a production-grade training resource through systematic data enrichment. Engineered by Shubham Dev (Department of Computer Science, Jaypee University of Information Technology, India), this dataset powers high-stakes AI alignment research requiring factual integrity and entity preservation.

What sets this apart: Standard datasets provide raw conversations; WiredBrain-RLHF provides structured signals that prevent hallucination, enable entity-aware fine-tuning, and accelerate convergence on production systems.

🎯 Key Features

This dataset implements Stage 3 of the 6-stage hierarchical data pipeline (cleaning, entity extraction, quality assessment) described in our production RAG research. Three core capabilities:

  1. Hybrid Entity Recognition (NER):

    • SpaCy (en_core_web_trf) for standard entity types (PERSON, ORG, PRODUCT)
    • GLiNER for domain-specific entities (HARDWARE, CONCEPTS, TOOLS)
    • Cross-validation ensures high-precision entity extraction (~96% F1)
  2. Automatic Quality Scoring:

    • Readability (Flesch-Kincaid Index, ARI) for model compatibility
    • Coherence scores to filter corrupted conversations
    • Entity Preservation tracking (critical regions must not be hallucinated)
  3. Hallucination Prevention Through Protected Regions:

    • Explicitly marks factual spans that models should preserve
    • Enables entity-aware DPO/PPO loss functions
    • Reduces "catastrophic forgetting" by 22% (internal benchmarks)

� Performance & Validation

Empirical Results (Internal Evaluation, N=148K samples):

Metric Raw HH-RLHF WiredBrain-RLHF Improvement
Training Loss Convergence (Epoch 2) Baseline -18% faster ✅ Accelerated
Entity Hallucination Rate 14-18% <3% ✅ 82% reduction
Catastrophic Forgetting Events ~22% <2% ✅ 91% reduction
Avg Quality Score N/A 0.87 (A-grade) ✅ Certified
Readability (Flesch-Kincaid) Uncomputed 72.4 avg ✅ Pre-computed

Why models trained on this dataset perform better:

  • Pre-computed quality scores filter noisy training examples
  • Entity preservation signals guide attention to factual tokens
  • Readability metrics enable curriculum learning (easy → hard examples)
  • Protected regions prevent fine-tuning degradation on critical spans

⚔️ Competitive Advantage in AI Alignment

Capability HH-RLHF (Baseline) Typical DPO Datasets WiredBrain-RLHF
Entity Grounding ❌ None ❌ Ad-hoc ✅ Hybrid NER (Spacy+GLiNER)
Noise Filtering High noise Medium noise ✅ Scored & Curated
Hallucination Guards ❌ No guards ❌ No guards ✅ Protected Regions
Quality Metrics ❌ None ❌ Manual ✅ Auto-computed
Readability Signals ❌ None ❌ None ✅ Flesch-Kincaid + ARI
Convergence Speed Baseline Baseline ✅ 2x Faster
For Entity-Preservation DPO ❌ Poor fit ❌ Poor fit ✅ Optimized

Real-World Impact: Models fine-tuned on WiredBrain-RLHF maintain factual integrity on domain-specific tokens (hardware specs, technical parameters, entity names) while learning from the full HH-RLHF distribution. This is critical for agents, assistants, and knowledge-intensive systems where hallucinated facts cause downstream failures.

SEO Keywords: RLHF training data | DPO dataset | entity-aware fine-tuning | hallucination prevention | LLM alignment | HuggingFace RLHF | preference learning

� Research Context: WiredBrain Hierarchical RAG

This dataset represents Stage 3 of a 6-stage hierarchical data pipeline published in our production RAG research.

Research Paper: WiredBrain: Hierarchical Multi-Domain RAG Architecture Scaling to 693K Chunks on Consumer Hardware

Pipeline Stages:

  1. Data Acquisition (250GB raw documents)
  2. Deduplication (MinHash LSH)
  3. ← Text Cleaning & Entity Extraction (THIS DATASET)
  4. Hierarchical Classification (SetFit routing)
  5. Knowledge Graph Construction (172K entities, 688K relationships)
  6. Database Population (Qdrant, PostgreSQL, Neo4j)

Why WiredBrain-RLHF Matters: The entity-aware fine-tuning methodology demonstrated here scales to large-scale hierarchical RAG systems. By proving that high-quality entity preservation improves both training convergence AND downstream retrieval quality, this dataset validates a core hypothesis: data quality > data quantity for high-stakes AI systems.

🚀 Quick Start (3 Minutes)

Option 1: Load Directly from HuggingFace

from datasets import load_dataset

# Load the full dataset
dataset = load_dataset("pheonix-delta/WiredBrain-RLHF", name="default")

# Inspect structure
sample = dataset['train'][0]
print(f"Keys: {sample.keys()}")
# Output: dict_keys(['source', 'content', 'rejected_alternative', 'quality_score_final', 
#                     'readability_metrics', 'entities_all', 'protected_regions'])

# Access entity annotations
print(f"Entities extracted: {len(sample['entities_all'])}")
print(f"Quality score: {sample['quality_score_final']:.2f}")
from datasets import load_dataset

dataset = load_dataset("pheonix-delta/WiredBrain-RLHF")

# Keep only high-quality samples (>0.8)
high_quality = dataset['train'].filter(
    lambda x: x['quality_score_final'] > 0.80
)
print(f"High-quality samples: {len(high_quality)} / {len(dataset['train'])}")

# Further filter by readability (easy language = faster training convergence)
curriculum_data = high_quality.filter(
    lambda x: x['readability_metrics']['flesch'] > 70
)
print(f"Curriculum training samples: {len(curriculum_data)}")

Option 3: Entity-Preserving DPO Training

from torch.utils.data import DataLoader

dataset = load_dataset("pheonix-delta/WiredBrain-RLHF")

def dpo_collate_fn(batch):
    """Custom collate for DPO with entity-preservation loss weighting"""
    return {
        'prompt': [x['content'].split('Assistant:')[0] for x in batch],
        'chosen': [x['content'].split('Assistant:')[1] if 'Assistant:' in x['content'] else '' for x in batch],
        'rejected': [x['rejected_alternative'] for x in batch],
        'entity_weights': [x['protected_regions'] for x in batch],
        'quality_weights': [x['quality_score_final'] for x in batch],
    }

loader = DataLoader(
    dataset['train'], 
    batch_size=8, 
    collate_fn=dpo_collate_fn,
    shuffle=True
)
from datasets import load_dataset

# Load the supercharged dataset
dataset = load_dataset("pheonix-delta/WiredBrain-RLHF")

# Access entity-augmented samples
print(dataset['train'][0]['entities_all'])

Dataset Structure

Each entry is a JSON object containing the conversation and rich metadata.

{
  "source": "Anthropic/hh-rlhf",
  "content": "Human: ...\nAssistant: ...",
  "rejected_alternative": "...", 
  "quality_score_final": 0.87,
  "readability_metrics": {
    "flesch": 82.6,
    "ari": 4.0
  },
  "entities_all": [
    {"text": "3.5 inches", "type": "QUANTITY", "source": "spacy"},
    {"text": "horseshoes", "type": "component", "source": "gliner"},
    {"text": "Ford", "type": "model", "source": "gliner"}
  ],
  "protected_regions": 11
}

Fields Breakdown

Field Description
content The "Chosen" conversation path.
rejected_alternative The "Rejected" response (for DPO/PPO training).
entities_all List of entities detected by SpaCy (Standard NER) and GLiNER (Zero-shot NER).
quality_score_final An aggregated quality metric (0.0 - 1.0) based on text coherence and formatting.
readability_metrics Flesch-Kincaid and ARI scores to gauge complexity.
protected_regions Count of critical entity spans that should ideally be preserved during generation.

📚 Use Cases & Applications

1. Reducing Hallucinations in DPO/RLHF Fine-Tuning

Apply higher loss penalties when models hallucinate or corrupt protected entities:

# Pseudo-code for entity-aware DPO loss
entity_preservation_loss = sum([
    entity_weight * cross_entropy_loss 
    for entity_weight in batch['entity_weights']
]) / len(batch)

2. Domain-Specific Model Fine-Tuning

Filter for specialized entities to create domain-specific datasets:

  • Medical AI: Filter for DISEASE, MEDICATION, PROCEDURE entities
  • Robotics: Filter for HARDWARE, COMPONENT, MODEL entities
  • Finance: Filter for TICKER, METRIC, INSTRUMENT entities

3. Data Curriculum Learning

Improve training stability using readability signals:

# Phase 1: Train on easy samples (high readability, low complexity)
easy_data = dataset.filter(lambda x: x['readability_metrics']['flesch'] > 80)

# Phase 2: Hard samples (advanced content, technical depth)
hard_data = dataset.filter(lambda x: x['readability_metrics']['flesch'] < 60)

# Phase 3: Mixed curriculum for robustness

4. Retrieval-Augmented Generation (RAG) Fine-Tuning

Entity annotations enable knowledge-grounded response generation in RAG systems (see WiredBrain RAG for production example).


🛠️ Technical Details

NER Processing Pipeline

Stage Tool Capability Output
1. Standard NER SpaCy (en_core_web_trf) PERSON, ORG, GPE, PRODUCT, QUANTITY ~65% coverage
2. Domain NER GLiNER (zero-shot) HARDWARE, MODEL, CONCEPT, TOOL +35% incremental
3. Validation Cross-check overlap Resolve conflicts, prefer GLiNER for domain terms Final entities_all

Quality Score Computation

quality_score_final = 
  0.4 * coherence_score +           # Text fluency (0-1)
  0.3 * entity_preservation_rate +  # Entities properly formatted
  0.2 * readability_normalized +    # Flesch-Kincaid (0-1)
  0.1 * conversation_depth          # Multi-turn engagement score

Distribution: Mean = 0.87, Std Dev = 0.08 (highly curated dataset)


📖 Citations & References

How to Cite This Dataset

BibTeX:

@dataset{Dev2026WiredBrainRLHF,
  title = {WiredBrain-RLHF: Production-Grade RLHF Data with Entity-Augmented Quality Scoring},
  author = {Dev, Shubham},
  year = {2026},
  month = {February},
  publisher = {Hugging Face},
  doi = {10.57967/hf/7804},
  url = {https://huggingface.co/datasets/pheonix-delta/WiredBrain-RLHF},
  note = {Enhanced version of Anthropic/hh-rlhf with NER annotations and quality metrics}
}

Chicago Style:

Dev, Shubham. "WiredBrain-RLHF: Production-Grade RLHF Data with Entity-Augmented Quality Scoring." Hugging Face, February 2026. https://doi.org/10.57967/hf/7804


This dataset is part of the WiredBrain Research Program on high-integrity edge AI:

Project Component GitHub DOI
WiredBrain RAG (Production) Stages 1-6 hierarchical pipeline pheonix-delta/WiredBrain-Hierarchical-Rag 10.13140/RG.2.2.25652.31363
WiredBrain-RLHF (This Dataset) Stage 3: Data cleaning & enrichment pheonix-delta/WiredBrain-RLHF 10.57967/hf/7804
Axiom Voice Agent (Proof-of-Concept) Template-based RAG (405 items, 80% bypass) pheonix-delta/axiom-voice-agent 10.13140/RG.2.2.26858.17603

Dataset Role: WiredBrain-RLHF demonstrates the effectiveness of Stage 3 entity-aware text cleaning and validates that high-quality data curation accelerates model convergence. This methodology scales to the full WiredBrain pipeline (693K chunks, 99.997% retrieval reduction).


✅ Attribution & Acknowledgments

Original Dataset:

Research & Development:

  • Shubham Dev - Full independent development: pipeline design, entity enrichment, quality validation, reproducibility

Tools & Libraries:

  • SpaCy (en_core_web_trf): Industrial-grade NER
  • GLiNER: Generalist & Lightweight Named Entity Recognition
  • HuggingFace Datasets: Hosting and distribution infrastructure

🚀 Community Impact & Adoption

This dataset is part of a research program that achieved significant community adoption:

Project GitHub Clones Stars Downloads/Reach Status
axiom-voice-agent 600+ 53 50K+ Reddit views Trending on r/LocalLLaMA
WiredBrain-Hierarchical-Rag 300+ 30 300+ clones (48h) Production RAG engine
WiredBrain-RLHF (this dataset) — — 25+ downloads (3 days) Stage 3 methodology

Viral Reach: 900+ total repository clones across projects in just 48-72 hours (2026-02-04 to 2026-02-15), demonstrating strong community validation of the methodology.

Your Vote: Use this dataset → Validate the research → ⭐ Star the repos


📧 Contact & Support

Questions or feedback on this dataset? Open a discussion on HuggingFace or GitHub

Reach the researcher:


📜 License

This dataset derivative is licensed under MIT. The original Anthropic/hh-rlhf is also MIT-licensed. You are free to use, modify, and distribute this dataset with attribution.

See LICENSE for complete terms.

README historyEdit history 8 revisions8 edits

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2026-02-15 Upload README.md with huggingface_hub 6be84fa 15.4 KB
    Loading...
  2. 2026-02-12 Upload README.md with huggingface_hub 19908be 5.6 KB
    Loading...
  3. 2026-02-12 Upload anthropic_hh_rlhf.jsonl with huggingface_hub bbe84e6 4.1 KB
    Loading...
  4. 2026-02-12 Upload README.md with huggingface_hub 5c8667b 4.1 KB
    Loading...
  5. 2026-02-11 Upload README.md with huggingface_hub 84ac35c 3.3 KB
    Loading...
  6. 2026-02-11 Upload train.jsonl with huggingface_hub 1a76436 3.3 KB
    Loading...
  7. 2026-02-11 Upload README.md with huggingface_hub 5e486be 3.3 KB
    Loading...
  8. 2026-02-11 initial commit 28749cd 0 B
    Loading...

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, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2026-02-12 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

pheonix-delta/WiredBrain-RLHF

Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration