← Datasets

Compare

HH-RLHF (Human Preference Data for Helpful and Harmless Assistant)
#334 · remove
TESSY-Code-80K
#326 · remove
Infinity Instruct
#319 · remove
Kinddatasetdatasetdataset
Published202220262024
LicenseMITapache-2.0cc-by-sa-4.0
License familyPermissivePermissiveCopyleft
Accessfreefreerestricted
Language codesenenen, zh
Modalitiestexttexttext
Size100K to 1M rows10K to 100K rows10M to 100M rows
Downloads (last month)30,3253642,055
Likes2,34210765
Last updated2023-05-262026-05-012025-12-04
Tasks—text-generationtext-generation
Formatsjsonjsonparquet
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/name 80K; size_categories 10K<n<100K. Hub datasets-server numRows 80,000. Paper: 80K questions comprising 37K unique questions (sampled after GPT-OSS contest filter of OpenThoughts + Nemotron). 50 JSONL parts (part_0.jsonl … part_49.jsonl) ~83.6–88.5 MB; listed LFS sum ~4.30 GB. datasets-server parquet ~4.2 GB. usedStorage 8,534,918,169 bytes (~8.53 GB). Hub 1,028 downloads / 10 likes at check. gated=false.Hub datasets-server numRows 4,216,321 across 3 configs (size implied 1M<n<10M). Paper Table 5 Stage1: RealUser-Instruct 0.7M + Large-scale Diverse-Instruct 2.3M + Filtered Infinity-Instruct 1.0M = 4.0M (Hub is ~216k above the paper round numbers). 22 parquet shards: filtered_infinity_instruct 4×~257 MB (~1.03 GB); largescale_diverse_instruct 13×~266 MB (~3.46 GB); realuser_instruct 5×~224 MB (~1.12 GB). Listed LFS ~5.61 GB. Hub 1,380 downloads / 75 likes at check. gated=false.
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 (part_*.jsonl). Columns: id_ddm (UUID), dialogs (list of {role, content}). datasets-server also exposes converted parquet. Two-turn chat: user=problem, assistant=synthetic think+answer.parquet. Three named configs (no default concat). Card does not publish a column schema; typical instruction/output SFT (exact columns Unknown without parquet inspect). Loading-script typo on the card: filtered_infinity_instryuct vs config filtered_infinity_instruct.
TypeAnnotated preference corpus / chosen-rejected chat pairs + separate red-team transcriptsSynthetic reasoning SFT corpus / teacher–student interleaved contest-code tracesCode instruction SFT corpus / two-stage OpenCoder Stage-1 mix
CostFreeFreeFree
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) plus source code. Contest statements in the viewer are English (Codeforces-style). No LID table.Card has no language: tag. Paper: realuser_instruct is bilingual code-related instructions (English + Chinese) from GPT conversation histories (ShareGPT / WildChat). Filtered Infinity-Instruct and largescale_diverse_instruct are code-first with English-dominant NL; programming languages mixed. No LID table.
ModalityText-only (Human/Assistant transcripts). Hub modality:text.Text-only (English + code inside think/answer). No images.Text-only (NL instructions + source code).
DomainRLHF preference modeling; helpfulness vs harmlessness; red-teaming dialogues; alignmentcompetitive programming; reasoning-model SFT; on-policy teacher–student synthesis; code generationcode instruction tuning; theoretical CS QA; algorithms/data structures; bilingual real-user coding chat; synthetic diverse code instructions
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.Paper published 2026-03-23 (arXiv 2604.14164); submitted-on-daily 2026-04-17. Accepted ICML 2026. HF createdAt 2026-03-23T13:40:00Z; lastModified 2026-05-01T02:52:51Z. Discord posted 2026-04-06. Seeds: OpenThoughts + NVIDIA Nemotron programming-contest questions (paper); responses synthesized for Qwen3-8B with GPT-OSS-120B teacher. One-shot release.SFT dump for OpenCoder instruct models. Paper arXiv 2411.04905 (2024-11-07). HF lastModified 2024-11-24T06:40:44Z. Seeds: Infinity-Instruct, ShareGPT/WildChat-style GPT chats, CommonCrawl + source-code. RefineCode GitHub cutoff Nov 2023 is the related pretrain, not this repo. One-shot release.
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.Student-consistent SFT for Qwen3-8B: keep GPT-OSS-120B capability tokens while the student writes style tokens, to avoid catastrophic forgetting from off-policy teacher tracesStage-1 SFT for OpenCoder-1.5B/8B-Instruct: broad code/theory coverage before the smaller high-quality Stage-2 mix
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.Qwen3-8B SFT (card: LCB-V5 62.87 / LCB-V6 55.43 / LCB-Pro 36.69 / OJBench 25.43 vs base 55.09 / 49.58 / 25.35 / 18.75). Hub 1,028 downloads / 10 likes at check. GitHub CoopReason/TESSY 36 stars. Siblings TESSY-Math-12K (12,216) and TESSY-SuperGPQA-3K (3,305) are different dumps — not this row.OpenCoder-1.5B-Instruct (paper HumanEval 72.5 / HumanEval+ 67.7) and OpenCoder-8B-Instruct (HumanEval 83.5 / HumanEval+ 78.7). Hub 1,380 downloads / 75 likes at check. Discord posted the OpenCoder-LLM collection, not this URL.
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.Shanghai AI Laboratory / Dalian University of Technology / Nanjing University (Huang, Yang, Huang, Hao, Ge, Li, Du, Chen, Guo). Questions from OpenThoughts and NVIDIA Nemotron contest filters (paper). Trajectories: GPT-OSS-120B teacher (capability spans) interleaved with Qwen3-8B student (style spans + final answer). Boundary predictors: Qwen3-0.6B-Base trained on 100k teacher-annotated spans.OpenCoder-LLM / INF / M-A-P / NJU (Huang, Cheng, Liu, Hao, Song, Xu, Yang, Liu, Zhang, Chai, Yuan, Zhang, Fu, Liu, Zhang, Wang, Qi, Xu, Chu). Mix of public Infinity-Instruct authors, real ShareGPT/WildChat users, and LLM-synthesized QA from CC/source-code seeds. Low-quality original Infinity outputs were regenerated.
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.Programming-contest distribution (LiveCodeBench / OJBench-style), not SWE-bench repos or web pretrain. Optimized specifically for Qwen3-8B (card: gains on other Qwen3 sizes may vary). Teacher GPT-OSS-120B style is partially overwritten by student style tokens (~22% student / ~78% teacher tokens per paper Fig. 20). Distinct from already-cataloged OpenCodeReasoning, rStar-Coder, OpenThoughts, AceReason-1.1-SFT.Code/theory-heavy Stage-1 mix, not general chat. Filtered Infinity-Instruct is a code slice of gated BAAI/Infinity-Instruct (skipped as gated; this derived dump is public) and the card says original outputs were often low-quality. Real-user slice inherits ShareGPT/WildChat user mix (EN/ZH, GPT-chat culture). Synthetic largescale_diverse from CC+source-code seeds. 10-gram decontam vs HumanEval/MBPP. Do not add these 4.2M on top of already-cataloged OpenCoder FineWeb Code/Math or Annealing Corpus.
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.Paper: Teacher-Only GPT-OSS traces drop Qwen3-8B (LCB-Pro −3.25 / OJBench −10.02) via style mismatch; TESSY traces improve the same student. Viewer row 0 is a long <think> DP solution to a Codeforces indentation-counting task. Residual: boundary-predictor span errors, subword rollback when vocabs differ, student early-stop shortening traces vs unrestricted teacher. Not independently re-judged here.Card: Filtered Infinity outputs were often overly concise / inconsistently formatted — authors recommend regenerating with a stronger LLM from the given instructions. Realuser_instruct is described as high-quality practical chat after regenerating low-quality responses. largescale_diverse_instruct is pipeline-synthetic. Paper: Stage-1 is diverse but lower average quality than Stage-2. Not independently re-run here.
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.Single default train 80,000. No official val/test. Paper 37k unique questions inside the 80k (duplicates/repeats possible). Siblings: Math-12K 12,216; SuperGPQA-3K 3,305 — different dumps.Three train configs, no val/test. Paper Table 5: realuser 0.7M; largescale_diverse 2.3M; filtered_infinity 1.0M. Hub total 4,216,321 (per-config Hub counts Unknown without aggregating parquet). Sibling opc-sft-stage2 is a different dump (paper 36k+111k+110k+110k; Hub YAML 436,347) — not this row.
Long contextMixed (multi-turn Human/Assistant; viewer chosen/rejected up to ~11k chars). Exact token histogram Unknown without aggregating.Yes (reasoning traces; paper trains/evals Qwen3-8B at 40k max reasoning length; TESSY traces are shorter than Teacher-Only GPT-OSS). Exact token histogram Unknown without JSONL inspect; paper Fig. 16 reports TESSY shorter than teacher-only by thousands of tokens.No (single-turn instruction/output pairs; OpenCoder instruct trained after 8K/4K base context). Typical pair length Unknown without parquet inspect.
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 (filter OpenThoughts/Nemotron to contest questions; discard original answers; TESSY alternate generation with k=20 then rollback via capability/style boundary predictors; student writes the final answer; train Qwen3-8B up to 9 epochs). Math/science siblings use reject-sampling — this code dump does not claim that filter.Yes (LLM filter Infinity-Instruct for code-related content; regenerate weak answers; extract bilingual real-user code instructions from ShareGPT/WildChat and regenerate; seed-based synthetic QA from CommonCrawl + source code; 10-gram / entry-point decontam vs HumanEval/MBPP).
Idea qualityHighHighHigh
NoveltyHigh (public landmark HH preference dump vs already-cataloged chat SFT; remaining dump leftover)High (public 80k on-policy contest-code SFT that interleaves teacher capability tokens with student style; ICML 2026)High (public ~4.2M OpenCoder Stage-1 SFT; parent BAAI/Infinity-Instruct remains gated — this is the public code slice)
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; load_dataset('CoopReason/TESSY-Code-80K', split='train'). ~4.3 GB JSONL / ~8.5 GB usedStorage. Streaming recommended.Ready parquet; load_dataset('OpenCoder-LLM/opc-sft-stage1', '<config>'). ~5.61 GB. No default config — load each of the three. Streaming recommended.
Collection methodDownloadDownloadDownload
StaticUnknown (HF lastModified 2023-05-26; one-shot).Unknown (HF lastModified 2026-05-01; one-shot synthesis dump)Unknown (HF lastModified 2024-11-24; one-shot OpenCoder SFT dump)
ProcessedUnknownUnknownUnknown
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).TESSY-Code-80K is an 80k-row programming contest training dataset synthesized using the TESSY (Teacher-Student Cooperative Data Synthesis) framework, where a teacher model (GPT-OSS-120B) generates reasoning content and a student model (Qwen3-8B) generates stylistic content. This cooperative approach produces on-policy SFT data that preserves teacher reasoning quality while maintaining student distribution consistency, improving Qwen3-8B by up to 11.34% on LiveCodeBench-Pro and 6.68% on OJBench.Infinity Instruct is a large-scale, high-quality instruction fine-tuning dataset (7M instructions) developed by BAAI, featuring data evolution strategies and model ability diagnosis for instruction generation. It includes a 7M Core version (1.4M instructions reaching 95.7% of full 7M performance) and has been used to fine-tune Llama3, Mistral, Qwen2, and Yi models, achieving favorable results on AlpacaEval 2.0 and MT-Bench without RLHF. Accepted to AAAI 2026.