Datasets:
Download README.md from TheChatArchive/TCA-002: direct link, hf CLI and curl.
- Browser
- Download file 6.35 kB
-
https://huggingface.co/datasets/TheChatArchive/TCA-002/resolve/main/README.md
- Command line
-
hf download hf://datasets/TheChatArchive/TCA-002/README.md
-
curl -L -o README.md https://huggingface.co/datasets/TheChatArchive/TCA-002/resolve/main/README.md
pretty_name: 'TCA-002: Coding Conversations'
license: other
license_name: mixed-source-licenses
task_categories:
- text-generation
language:
- en
tags:
- code
- coding-agents
- conversations
- human-ai-interaction
size_categories:
- 1K<n<10K
configs:
- config_name: default
data_files:
- split: train
path: train.jsonl.gz
TCA-002: Coding Conversations
10,000 conversations about code (172,613 messages): people asking AI for programming help, and real sessions with coding agents such as Claude Code, Codex and Cursor. Curated by The Chat Archive · version 1.0.0.
How it was sampled
We found every coding conversation in The Chat Archive (271,887 in total) and sampled this release to match it:
- Same mix of chats and agent sessions: 56% chats about code and 44% coding-agent sessions (5,586 and 4,414 here).
- Every redistributable source included, in proportion to its size (at least 150 conversations, or all of a smaller source), and spread evenly across conversation lengths.
- Agent sessions keep only the visible dialogue: what the developer typed and what the agent replied. Tool calls, tool output and hidden reasoning are removed.
About 217,288 coding conversations in the archive come from datasets whose terms don't allow redistribution (mostly WildChat and CodeChat), so they could not be included. Because those are mostly OpenAI-model chats, OpenAI models are less represented here than in the archive as a whole:
| Provider | Whole archive | TCA-002 |
|---|---|---|
| openai | 73% | 33% |
| anthropic | 13% | 35% |
| unknown | 4% | 14% |
| openassistant (human-written) | 2% | 8% |
| 2% | 1% |
| Length | Whole archive | TCA-002 |
|---|---|---|
| 1 turn | 56% | 48% |
| 2-4 turns | 29% | 37% |
| 5-19 turns | 14% | 15% |
| 20+ turns | 1% | 0% |
What's in it
| Source | Conversations | License |
|---|---|---|
| SWE-chat (SALT-NLP) | 3,336 | ODC-BY-1.0 |
| UltraChat 200k | 1,940 | MIT |
| LMArena Human Preference 55K | 1,095 | Apache-2.0 |
| NVIDIA HelpSteer3 (Preference) | 893 | CC-BY-4.0 |
| OpenAssistant OASST2 | 807 | Apache-2.0 |
| my-dataclaw-data (Peter O’Malley) | 727 | MIT |
| Frontier reasoning traces (SFT) | 354 | Apache-2.0 |
| dataclaw-zhiyaowang | 201 | MIT |
| NVIDIA HelpSteer | 150 | CC-BY-4.0 |
| Fable 5 Cursor Traces | 150 | Apache-2.0 |
| Anthropic HH-RLHF | 150 | MIT |
| NVIDIA HelpSteer2 | 150 | CC-BY-4.0 |
| Collective Cognition — Donated Chats | 29 | MIT |
| ChatGPT RealUser 2.2M preview (Gata) | 12 | Apache-2.0 |
| Wolfgang LM synthetic chat | 4 | MIT |
| GenZ SFT | 2 | MIT |
Every conversation has at least one answered turn and is in its original message order. Exact duplicates were removed. Automated privacy screening, including a check for leaked credentials in code (API keys, tokens, private keys, database passwords), excluded 55 conversations.
Using the data
from datasets import load_dataset
ds = load_dataset("TheChatArchive/TCA-002", split="train")
Each line of train.jsonl.gz is one conversation (full schema in schema.json):
conversation_id,content_hash(SHA-256 of the dialogue),message_count,turn_countkind:chatoragent_session;language(when known);length: turn bucketmessages: the dialogue in order, as{"role": "user" | "assistant", "content": "..."}sources: where the conversation comes from:dataset,source_url(the upstream dataset at a pinned revision),source_record_id,license,model,provider,conversation_date
Limitations
This is a curated sample, not a random sample of how people use AI. Conversations can contain mistakes, unsafe or outdated advice or code, and the opinions of their original authors and models. Privacy screening is automated and cannot guarantee that no personal information remains.
License
Mixed. Every conversation keeps the license of the dataset it came from (see the table above and each record's
license), and those terms, including any model-provider terms, still apply. Please credit the original datasets.
Removal requests
If a conversation contains your personal information or content you own, contact
thechatarchive.com/contact with its conversation_id; it will be removed from
the next version.
Citation
@misc{thechatarchive_tca002,
title = {TCA-002: Coding Conversations},
author = {{The Chat Archive}},
year = {2026},
url = {https://huggingface.co/datasets/TheChatArchive/TCA-002}
}