← Datasets

Compare

HH-RLHF (Human Preference Data for Helpful and Harmless Assistant)
#334 · remove
FineFineWeb: A Comprehensive Study on Fine-Grained Domain Web Corpus
#302 · remove
Kinddatasetdataset
Published20222024
LicenseMITapache-2.0
License familyPermissivePermissive
Accessfreefree
Language codesenen
Modalitiestexttext
Size100K to 1M rows1B to 10B rows
Downloads (last month)30,3254,379,261
Likes2,342194
Last updated2023-05-262024-12-19
Tasks—text-classification, text-generation
Formatsjson—
ScalePaper §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.Card grand total: 4,425.30B tokens / 6,536,072,879 samples (~6.54B docs; ~677 tok/doc). Recall iterations: iter1 4,010.76B / 5.782B docs (90.6% of tokens); iter2 206.51B / 442M; iter3 208.02B / 312M. usedStorage 23,159,296,534,795 bytes (~23.16 TB / 21.06 TiB). 66,103 JSONL shards across 67 domain dirs. YAML size_categories n>1T (tokens); Hub tags also 1B<n<10B (docs). gated=false. HF 1,164,919 downloads / 167 likes at check.
Formatjsonl.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, …).jsonl per domain (fields url, date, file_path, language_score, token_count, dump, global_id, lang, text, domain, round). ~66k LFS jsonl shards; CS shards ~365–370 MB each.
TypeAnnotated preference corpus / chosen-rejected chat pairs + separate red-team transcriptsPretraining corpus / FineWeb domain recut
CostFreeFree
LanguagesEnglish 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). Sample fields language_score / lang=en inherited from FineWeb (FineWeb LID threshold 0.65).
ModalityText-only (Human/Assistant transcripts). Hub modality:text.Text-only
DomainRLHF preference modeling; helpfulness vs harmlessness; red-teaming dialogues; alignmentfine-grained domain English web pretraining; FineWeb-derived topical slices (67 domains)
Time periodPaper 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.Derived from FineWeb Common Crawl (card inherits FineWeb dumps). Sample JSONL dates/dumps include CC-MAIN-2017-47 (2017-11-21) and later FineWeb crawls. HF createdAt 2024-12-14; lastModified 2024-12-19. Card bibtex v0.1.0 December 2024. Discord posted 2026-04-06. ArXiv/project/blog still listed as Coming Soon.
PurposeTrain 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.Open FineWeb recut into 67 DoI domains via iterative FastText+BERT recall, for domain-aware pretraining and domain–benchmark correlation study
Used forLandmark 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.M-A-P domain-web study (card: 28-model BPC–Acc Spearman vs ARC/MMLU/GSM8K/HumanEval/MBPP/TriviaQA). Hub 1,164,919 downloads / 167 likes at check. Siblings: FineFineWeb-sample/test/validation/fasttext-seeddata. Downstream Hub uses Unknown beyond the card analyses.
AuthorsAnthropic (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 FineWeb/Common Crawl. Curators M-A-P (Ge Zhang, Xinrun Du, Zhimiao Yu, Zili Wang, Zekun Wang, Wenhu Chen, Qian Liu, Taifeng Wang, Wenhao Huang et al.). URL seeds labeled GPT-4; page labels Qwen2-7B-Instruct then Qwen2-72B-Instruct.
BiasHelpfulness-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 FineWeb web only. Token mass is media/hobby-heavy: journalism_and_media_communication 463.53B (10.5%); news 352.18B (8.0%); hobby 237.06B (5.4%); health 210.06B; economics 208.87B; computer_science_and_technology 203.16B. Mathematics only 6.18B / 11.0M docs (0.14%). Gamble is distant from all listed benches. Domain URL overlap highest for topicality, pet, atmospheric_science. Classifier-recalled DoI slices inherit FineWeb English-web and GPT/Qwen label priors.
Text qualityPreview 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.Starts from FineWeb (Trafilatura + heuristics + MinHash) then extra exact+MinHash dedup. Per-domain FastText coarse recall + frozen BERT fine recall over 3 iterations. Residual FineWeb boilerplate and domain-classifier false positives remain. Card: code benches (MBPP/HumanEval) sit far from almost all domains (math closer). Gamble poorly aligned with standard benches.
Sample sizedefault 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.67 domain directories (not HF configs). Largest shard counts: journalism 7,014; news 5,818; hobby 4,295; artistic 3,404; CS 2,974. Smallest: topicality 2 shards / 151k docs. No official train/val/test split on this repo (val/test are separate HF datasets). round field marks recall iteration 1–3.
Long contextMixed (multi-turn Human/Assistant; viewer chosen/rejected up to ~11k chars). Exact token histogram Unknown without aggregating.Mixed (full FineWeb pages; mean ~677 tokens/doc). Not a long-document corpus.
Intermediate stepsYes (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 (FineWeb dedup; GPT-4 top-1M root-URL DoI/DoNI labels; Qwen2-7B 500k pos/neg FastText coarse recall; Qwen2-72B 100k/50k BERT fine recall; 3 coarse–fine iterations with FastText retrained and BERT frozen).
Idea qualityHighHigh
NoveltyHigh (public landmark HH preference dump vs already-cataloged chat SFT; remaining dump leftover)High (public 4.4T FineWeb recut into 67 labeled domains with iterative dual-stage recall)
Text conversionReady 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 JSONL. Streaming required (~23.2 TB). load by domain directory. Companion FineFineWeb-sample is a smaller sibling, not an official 10BT nested sample on this repo.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2023-05-26; one-shot).Unknown (HF lastModified 2024-12-19; one-shot v0.1.0; arXiv still Coming Soon)
ProcessedUnknownUnknown
SummaryHH-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).FineFineWeb is a large-scale web corpus that classifies FineWeb data into fine-grained domains (e.g., aerospace, etc.) using a multi-iteration pipeline involving GPT-4 URL labeling, FastText coarse recall, and BERT fine recall. It contains ~4.89B rows across multiple domains with billions of tokens each, enabling researchers to build domain-specific pretraining mixtures with explicit control over domain composition.