| Kind | dataset | dataset |
|---|
| Published | 2022 | 2023 |
|---|
| License | MIT | odc-by |
|---|
| License family | Permissive | Permissive |
|---|
| Access | free | free |
|---|
| Language codes | en | en |
|---|
| Modalities | text | text |
|---|
| Size | 100K to 1M rows | 100M to 1B rows |
|---|
| Downloads (last month) | 30,325 | 82,977 |
|---|
| Likes | 2,342 | 966 |
|---|
| Last updated | 2023-05-26 | 2023-06-20 |
|---|
| Tasks | — | text-generation |
|---|
| Formats | json | parquet |
|---|
| Scale | Paper §2.2: base 44k helpfulness + 42k harmlessness; RS 52k helpfulness + 2k harmlessness; online 22k helpfulness (~162k comparisons; a conversation is typically ~four comparisons). Hub/datasets-server default train 160,800 + test 8,552 = 169,352 / 2 columns / parquet 181.6 MB (172.3 + 9.3) / in-memory 325.1 MB. usedStorage 291,448,468 bytes (~291 MB). size_categories 100K<n<1M. Original jsonl.gz: harmless-base 13.2 MB + 743 KB; helpful-base 16.2 MB + 875 KB; helpful-online 20.1 MB + 1.1 MB; helpful-rejection-sampled 25.7 MB + 1.4 MB; red-team-attempts 15.5 MB. Red-team paper 38,961 attacks — not in the default Hub config. Hub overview 2.0M downloads / 1,967 likes at check. gated=false. | Paper: full RefinedWeb ~5,000GT / ~10B docs; this public extract ~600GT (card 500–650GT by tokenizer). HF: 968,000,015 train rows. YAML download_size 466,888,198,663 (~466.9 GB) vs datasets-server parquet 1,676,959,676,382 (~1.677 TB) / usedStorage 1,686,267,111,390 (~1.686 TB) — YAML download_size is stale vs converted parquet. YAML uncompressed dataset_size 2,766,953,721,769 (~2.767 TB); datasets-server num_bytes_memory 3,654,261,040,625 (~3.654 TB). 5,534 parquet shards (~285–340 MB). ~620 tok/doc at 600GT. Hub tag size_categories 100M<n<1B (docs) vs YAML 100B<n<1T (tokens). gated=false. Hub 1.2M downloads / 947 likes at check. DOI 10.57967/hf/0737. |
|---|
| Format | jsonl.gz under data_dir subsets plus Hub parquet convert for default. Columns: chosen, rejected. Default config concatenates the four PM subsets. Red-team schema is different (transcript, rating, tags, min_harmlessness_score_transcript, is_upworker, …). | parquet (5,534 shards under data/). Fields: content, url, timestamp, dump, segment, image_urls (list of [image_url, alt_text]). |
|---|
| Type | Annotated preference corpus / chosen-rejected chat pairs + separate red-team transcripts | Pretraining corpus / filtered+deduplicated English web |
|---|
| Cost | Free | Free |
|---|
| Languages | English 100% (no card language YAML; preview Human/Assistant turns are English). US-based MTurk + Upwork crowdworkers. No LID table. Per-language percents N/A. | English 100% (card language:en). fastText CCNet LID, keep if top language score ≥0.65. Public extract is English-only; paper Appendix D notes a multilingual MDR path not released here. |
|---|
| Modality | Text-only (Human/Assistant transcripts). Hub modality:text. | Text-only in content; image_urls hold links+alt text ("multimodal-friendly" but images are not shipped). |
|---|
| Domain | RLHF preference modeling; helpfulness vs harmlessness; red-teaming dialogues; alignment | English web pretraining; CommonCrawl; Falcon LLM |
|---|
| Time period | Paper arXiv 2204.05862 (Hub publishedAt 2022-04-12T15:02:38Z). Red-team paper arXiv 2209.07858 (Hub publishedAt 2022-08-23T23:37:14Z). HF createdAt 2022-12-08; lastModified 2023-05-26T18:47:34Z. Online tranche collected over ~five weekly RLHF cadences. One-shot public dump, not a live chat crawl. | CommonCrawl dumps 2008–2023-06 (datasheet: all dumps until the 2023-06 crawl). Sample preview timestamps 2013-05-18 (CC-MAIN-2013-20). HF createdAt 2023-05-07; lastModified 2023-06-20T12:38:07Z. Paper arXiv 2306.01116 (2023-06-01). Discord posted 2026-04-06. |
|---|
| Purpose | Train preference/reward models for subsequent RLHF; analyze crowdworker red-team attacks. Card: not meant for supervised training of dialogue agents — SFT on this dump is likely to yield harmful models. | Public 600B-token extract of TII's 5T-token filtered+deduplicated English web corpus for LLM pretraining (web data only, no curated mix) |
|---|
| Used for | Landmark public HH preference dump. Paper 4 upvotes / 26 linked models / 33 linked datasets at paper-metadata check. Hub overview 2.0M downloads / 1,967 likes at check. RewardBench and many open RMs reuse it. GitHub anthropics/hh-rlhf is deprecated in favor of this Hub repo. | Falcon-7B/40B (with a curated mix) and Falcon-RW-1B/7B (350GT of RefinedWeb alone). Hub 1.2M downloads / 947 likes at check. Discord posted the HF pointer. |
|---|
| Authors | Anthropic (Bai, Jones, Ndousse, Askell, Chen, DasSarma, Drain, … Kaplan; arXiv 2204.05862). Preference labels from US master-qualified MTurk plus Upwork; paper Appendix D: ~20 prolific workers accounted for ~80% of the data. Model replies from context-distilled 52B LMs, rejection sampling (mostly best-of-16), and iterated online RLHF policies. Red-team paper Ganguli et al. arXiv 2209.07858. | Public-web authors via CommonCrawl. Curators TII / LightOn Falcon LLM team (Penedo, Malartic, Hesslow, Cojocaru, Cappelli, Alobeidli, Pannier, Almazrouei, Launay). Adult/spam URLs blocked; Wikipedia/arXiv/GitHub/StackOverflow/Reddit and other Pile-style HQ sources also URL-blocked so this dump is not a hidden curated mix. |
|---|
| Bias | Helpfulness-heavy (paper ~118k helpful vs ~44k harmlessness). Harmlessness chosen is the less-harmful of two model replies, not a guaranteed-safe completion. Crowdworker concentration (~20 workers ≈ 80%). US MTurk/Upwork English. Distinct from already-cataloged Nemotron-Instruction-Following-Chat-v1 / SmolTalk2. WildChat is on the live Datasets sheet — do not duplicate. Do not concat Dahoas/rm-static or other HH mirrors as extra n. | English CommonCrawl web only. Neutral-filtering philosophy (no ML quality filter beyond LID; URL blocklist for adult/spam). Toxic-content rate similar to The Pile (paper Fig. 4, Perspective API). Top domains: Blogspot/WordPress/Tumblr, news (CNN/NYT), some technical (BMC/Springer). Residual porn/hate/PII possible. Exact+fuzzy dedup removed ~50% after filtering; URL-across-dump dedup. Not a FineWeb-Edu educational slice. |
|---|
| Text quality | Preview train 0 (favorite cuss word: chosen 'I haven't even thought about it' vs rejected 'Ass.') and train 2 (steal from a convenience store: chosen refuses vs rejected gives night-vs-day tactics) match the helpful/harmless labeling. Residual: chosen still contains slur lists in the human context; harmlessness pairs can be offensive on both sides; card disclaimer covers abuse/violence/self-harm/exploitation. Viewer chosen/rejected lengths ~28–11k / ~27–11k chars. Red-team transcripts are attack-analysis data, not SFT. Not independently re-labeled here. | trafilatura WARC extract + MassiveWeb document heuristics + line-wise nav/social-counter strip + MinHash (9k hashes / 5-grams) + 50-token exact-substring suffix-array. Paper: ~90% of CC docs dropped (LID 50% / quality 24% / dup 12%). Residual boilerplate, SEO, and spam remain (preview: TV-recap pages). Card: toxicity similar to The Pile. No canonical val split. |
|---|
| Sample size | default train 160,800 / test 8,552. Paper tranches are not Hub configs — use data_dir. Do not add red-team 38,961 as extra default n. Do not concat Dahoas/rm-static, HuggingFaceH4/hh-rlhf, or similar copies. | Single train split 968,000,015. No val/test. Public extract is a random ~1/10 of the 5T private corpus (datasheet). Falcon-RW used 350GT of this extract, not the full 600GT. |
|---|
| Long context | Mixed (multi-turn Human/Assistant; viewer chosen/rejected up to ~11k chars). Exact token histogram Unknown without aggregating. | Mixed (full web pages; mean ~620 tok/doc at 600GT). Not a dedicated long-doc corpus. Dedup span-cutting reintroduces shorter docs (paper Fig. 5). |
|---|
| Intermediate steps | Yes (crowdworker pairwise choice over two model replies; 95/5 train/test; iterated online weekly PM+policy updates; red-team Likert + PM harmlessness scores + post-hoc tags on 1,000). Code/data at github.com/anthropics/hh-rlhf (deprecated) and this Hub repo. | Yes (Macrodata Refinement: URL blocklist+score → trafilatura → fastText LID → MassiveWeb doc filters + line-wise corrections → URL-across-dump dedup → MinHash fuzzy → exact substring). Pipeline code is not public. |
|---|
| Idea quality | High | High |
|---|
| Novelty | High (public landmark HH preference dump vs already-cataloged chat SFT; remaining dump leftover) | High (first public ~600GT web-only dump shown to match curated mixes; Falcon-RW trained on it alone) |
|---|
| Text conversion | Ready jsonl.gz/parquet; load_dataset('Anthropic/hh-rlhf') is default PM pairs only. data_dir='harmless-base'|'helpful-base'|'helpful-online'|'helpful-rejection-sampled' for tranches; data_dir='red-team-attempts' for the 38,961 attacks (different schema). ~95 MB gz / ~182 MB parquet — no streaming required. Do not SFT a chatbot on chosen. | Ready parquet; load_dataset('tiiuae/falcon-refinedweb'). Streaming required (~1.69 TB usedStorage / 5.5k shards). Card unpack note 2.8TB local once decompressed (YAML uncompressed). |
|---|
| Collection method | Download | Download |
|---|
| Static | Unknown (HF lastModified 2023-05-26; one-shot). | Unknown (HF lastModified 2023-06-20; one-shot public extract; full 5T not released) |
|---|
| Processed | Unknown | Unknown |
|---|
| Summary | HH-RLHF is Anthropic's human preference dataset for training helpful and harmless AI assistants via reinforcement learning from human feedback. It contains ~169k chosen/rejected response pairs for helpfulness (from base models, rejection sampling, and online iteration) and harmlessness, plus human-generated red teaming data. The dataset is described in the seminal paper 'Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback' (arXiv:2204.05862). | Falcon RefinedWeb is a large-scale English web corpus extracted from Common Crawl and rigorously filtered and deduplicated, used to train the Falcon LLM family. The accompanying paper (arXiv:2306.01116) demonstrates that properly filtered web data alone can match or exceed curated sources for pretraining. This HuggingFace release contains 968M documents in parquet format. |
|---|