| Kind | dataset | dataset |
|---|
| Published | 2026 | 2022 |
|---|
| License | odc-by | MIT |
|---|
| License family | Permissive | Permissive |
|---|
| Access | restricted | free |
|---|
| Language codes | en, ja, ko, pt, ru, zh | en |
|---|
| Modalities | tabular, text | text |
|---|
| Size | 10M to 100M rows | 100K to 1M rows |
|---|
| Downloads (last month) | 4,560 | 30,325 |
|---|
| Likes | 120 | 2,342 |
|---|
| Last updated | 2026-10-03 | 2023-05-26 |
|---|
| Tasks | text-generation | — |
|---|
| Formats | parquet, optimized-parquet | json |
|---|
| Scale | 2.69M conversation rows; 5,851 sessions; 205 repos | 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. |
|---|
| Format | conversational / agent traces with git metadata | 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, …). |
|---|
| Type | dataset | Annotated preference corpus / chosen-rejected chat pairs + separate red-team transcripts |
|---|
| Cost | Gated | Free |
|---|
| Languages | en | 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. |
|---|
| Modality | — | Text-only (Human/Assistant transcripts). Hub modality:text. |
|---|
| Domain | Software engineering agents | RLHF preference modeling; helpfulness vs harmlessness; red-teaming dialogues; alignment |
|---|
| 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. |
|---|
| Purpose | Studying real coding-agent behavior, agent-vs-human code attribution, and agent productivity/vulnerability analysis | 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. |
|---|
| 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. |
|---|
| Authors | SALT-NLP | 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. |
|---|
| 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. |
|---|
| 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. |
|---|
| 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. |
|---|
| Long context | — | Mixed (multi-turn Human/Assistant; viewer chosen/rejected up to ~11k chars). Exact token histogram Unknown without aggregating. |
|---|
| 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. |
|---|
| Idea quality | — | High |
|---|
| Novelty | — | High (public landmark HH preference dump vs already-cataloged chat SFT; remaining dump leftover) |
|---|
| 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. |
|---|
| Collection method | — | Download |
|---|
| Static | — | Unknown (HF lastModified 2023-05-26; one-shot). |
|---|
| Processed | — | Unknown |
|---|
| Summary | SWE-chat is a dataset of real-world AI coding sessions from developers using AI coding assistants (Claude Code, Codex, Gemini CLI, and others via the Entire.io CLI). It includes 2.69M conversation turns across 5,851 sessions, 14,459 commits, and 205 repositories, with full conversation transcripts, tool calls, thinking traces, code changes (diffs), and attribution of human vs. agent-authored code. The dataset enables research on human-AI collaboration in software engineering. | 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). |
|---|