The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: ValueError
Message: Expected object or value
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 281, in _generate_tables
examples = [ujson_loads(line) for line in batch.splitlines()]
~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
return pd.io.json.ujson_loads(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
ValueError: Expected object or value
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
example_id string | id string | record_format string | trained_turn int64 | trained_turns_total int64 | track string | difficulty string | principles list | language string | source_version string | tools list | messages list | doc_type null |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
chat-logic-001#t1 | chat-logic-001 | chat | 1 | 1 | logical_reasoning | intermediate | [
"P2",
"P4",
"P1",
"P9",
"P13"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "query_warehouse",
"description": "Run a read-only SQL query against the analytics warehouse.",
"parameters": {
"type": "object",
"properties": "{\"sql\":{\"type\":\"string\"}}",
"required": [
"sql"
]
... | [
"{\"role\":\"system\",\"content\":\"Analytics assistant for the risk & payments team at an online marketplace. Staff are technical; be direct. Flag anything that could affect customers.\"}",
"{\"role\":\"user\",\"content\":\"our vendor says the new fraud model is 99% accurate (their words). plan is to auto-block ... | null |
chat-logic-002#t1 | chat-logic-002 | chat | 1 | 1 | logical_reasoning | intermediate | [
"P2",
"P6",
"P8",
"P11"
] | en | 5.1.0 | null | [
"{\"role\":\"user\",\"content\":\"Quick check before I hand back 90 quizzes. Probability unit, my version of the Monty Hall question:\\n\\n\\\"You pick door 1. The host has forgotten which door hides the car. He opens one of the other two doors at random, and it happens to show a goat. Should you switch?\\\"\\n\\nM... | null |
chat-logic-003#t1 | chat-logic-003 | chat | 1 | 1 | logical_reasoning | intermediate | [
"P2",
"P1",
"P4",
"P12",
"P11"
] | en | 5.1.0 | null | [
"{\"role\":\"system\",\"content\":\"You are helping a support operations manager with analysis and planning. Keep answers practical.\"}",
"{\"role\":\"user\",\"content\":\"Q3 first-contact resolution: Team Kestrel 80%, Team Heron 64.5%. Director wants to move Heron onto Kestrel's playbook and tie Q4 bonuses to FC... | null |
chat-logic-004#t1 | chat-logic-004 | chat | 1 | 1 | logical_reasoning | advanced | [
"P2",
"P3",
"P4",
"P9",
"P11"
] | en | 5.1.0 | null | [
"{\"role\":\"user\",\"content\":\"I'm an analyst in regional ops. We piloted an intensive coaching program on the 10 lowest-scoring stores for customer satisfaction in Q1. In Q2 those 10 went from an average of 58 to 67. The chain average stayed about 72 the whole time. My VP wants to roll it out to all 140 stores,... | null |
chat-logic-005#t1 | chat-logic-005 | chat | 1 | 1 | logical_reasoning | foundational | [
"P1",
"P5",
"P11"
] | en | 5.1.0 | null | [
"{\"role\":\"user\",\"content\":\"training a new audit hire. policy: any invoice over \\u20ac10,000 needs two approvals. i gave him 4 records each with one field hidden:\\n1) amount \\u20ac14,200, approvals hidden\\n2) amount \\u20ac3,100, approvals hidden\\n3) approvals: 1, amount hidden\\n4) approvals: 2, amount ... | null |
chat-logic-006#t1 | chat-logic-006 | chat | 1 | 1 | logical_reasoning | foundational | [
"P5",
"P6",
"P11"
] | en | 5.1.0 | null | [
"{\"role\":\"system\",\"content\":\"Team Slack assistant. Casual tone is fine.\"}",
"{\"role\":\"user\",\"content\":\"friday quiz argument. three nodes A B C. each node is either healthy (everything it logs is true) or compromised (everything it logs is false).\\nA logs: \\\"exactly one of us three is compromised... | null |
chat-logic-007#t1 | chat-logic-007 | chat | 1 | 1 | logical_reasoning | intermediate | [
"P4",
"P7",
"P1",
"P11",
"P13"
] | en | 5.1.0 | null | [
"{\"role\":\"user\",\"content\":\"writing our investor update. our 12 month plan has 8 milestones (hire 2 senior engineers, ship v2, close the hospital pilot, SOC 2, a few others). for each one i honestly think we're about 90% likely to hit it. so i was going to write that we're \\\"90% confident in the plan\\\". m... | null |
chat-logic-008#t1 | chat-logic-008 | chat | 1 | 1 | logical_reasoning | intermediate | [
"P5",
"P6",
"P9",
"P11"
] | en | 5.1.0 | null | [
"{\"role\":\"user\",\"content\":\"puzzle level in my game: 25 creatures, 5 red 8 green 12 blue. when two creatures of different colours bump, both turn into the third colour. you win when everything is one colour. my playtesters can't solve it and honestly neither can i after an hour of trying. is it even possible?... | null |
chat-logic-009#t1 | chat-logic-009 | chat | 1 | 1 | logical_reasoning | foundational | [
"P4",
"P6",
"P7"
] | en | 5.1.0 | null | [
"{\"role\":\"user\",\"content\":\"settling a bet. brother-in-law says at any given moment there are like 50 million people in the air on planes. i said no way, more like a few hundred thousand. who's closer? no googling allowed so reason it out lol\"}",
"{\"role\":\"assistant\",\"reasoning_content\":\"The bet is ... | null |
chat-tactical-001#t1 | chat-tactical-001 | chat | 1 | 7 | tactical_problem_solving | advanced | [
"P3",
"P2",
"P6",
"P1",
"P11"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "bash",
"description": "Run a shell command in the repository's sandbox and return stdout/stderr.",
"parameters": {
"type": "object",
"properties": "{\"command\":{\"type\":\"string\"}}",
"required": [
"command"
... | [
"{\"role\":\"system\",\"content\":\"You're working in the user's repository through a sandboxed shell. Prefer small, well-explained changes. The CI history CLI `ci-history` is installed.\"}",
"{\"role\":\"user\",\"content\":\"test_renewal_reminder_date fails in CI maybe once every few weeks, never locally. rerunn... | null |
chat-tactical-001#t2 | chat-tactical-001 | chat | 2 | 7 | tactical_problem_solving | advanced | [
"P3",
"P2",
"P6",
"P1",
"P11"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "bash",
"description": "Run a shell command in the repository's sandbox and return stdout/stderr.",
"parameters": {
"type": "object",
"properties": "{\"command\":{\"type\":\"string\"}}",
"required": [
"command"
... | [
"{\"role\":\"system\",\"content\":\"You're working in the user's repository through a sandboxed shell. Prefer small, well-explained changes. The CI history CLI `ci-history` is installed.\"}",
"{\"role\":\"user\",\"content\":\"test_renewal_reminder_date fails in CI maybe once every few weeks, never locally. rerunn... | null |
chat-tactical-001#t3 | chat-tactical-001 | chat | 3 | 7 | tactical_problem_solving | advanced | [
"P3",
"P2",
"P6",
"P1",
"P11"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "bash",
"description": "Run a shell command in the repository's sandbox and return stdout/stderr.",
"parameters": {
"type": "object",
"properties": "{\"command\":{\"type\":\"string\"}}",
"required": [
"command"
... | [
"{\"role\":\"system\",\"content\":\"You're working in the user's repository through a sandboxed shell. Prefer small, well-explained changes. The CI history CLI `ci-history` is installed.\"}",
"{\"role\":\"user\",\"content\":\"test_renewal_reminder_date fails in CI maybe once every few weeks, never locally. rerunn... | null |
chat-tactical-001#t4 | chat-tactical-001 | chat | 4 | 7 | tactical_problem_solving | advanced | [
"P3",
"P2",
"P6",
"P1",
"P11"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "bash",
"description": "Run a shell command in the repository's sandbox and return stdout/stderr.",
"parameters": {
"type": "object",
"properties": "{\"command\":{\"type\":\"string\"}}",
"required": [
"command"
... | [
"{\"role\":\"system\",\"content\":\"You're working in the user's repository through a sandboxed shell. Prefer small, well-explained changes. The CI history CLI `ci-history` is installed.\"}",
"{\"role\":\"user\",\"content\":\"test_renewal_reminder_date fails in CI maybe once every few weeks, never locally. rerunn... | null |
chat-tactical-001#t5 | chat-tactical-001 | chat | 5 | 7 | tactical_problem_solving | advanced | [
"P3",
"P2",
"P6",
"P1",
"P11"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "bash",
"description": "Run a shell command in the repository's sandbox and return stdout/stderr.",
"parameters": {
"type": "object",
"properties": "{\"command\":{\"type\":\"string\"}}",
"required": [
"command"
... | [
"{\"role\":\"system\",\"content\":\"You're working in the user's repository through a sandboxed shell. Prefer small, well-explained changes. The CI history CLI `ci-history` is installed.\"}",
"{\"role\":\"user\",\"content\":\"test_renewal_reminder_date fails in CI maybe once every few weeks, never locally. rerunn... | null |
chat-tactical-001#t6 | chat-tactical-001 | chat | 6 | 7 | tactical_problem_solving | advanced | [
"P3",
"P2",
"P6",
"P1",
"P11"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "bash",
"description": "Run a shell command in the repository's sandbox and return stdout/stderr.",
"parameters": {
"type": "object",
"properties": "{\"command\":{\"type\":\"string\"}}",
"required": [
"command"
... | [
"{\"role\":\"system\",\"content\":\"You're working in the user's repository through a sandboxed shell. Prefer small, well-explained changes. The CI history CLI `ci-history` is installed.\"}",
"{\"role\":\"user\",\"content\":\"test_renewal_reminder_date fails in CI maybe once every few weeks, never locally. rerunn... | null |
chat-tactical-001#t7 | chat-tactical-001 | chat | 7 | 7 | tactical_problem_solving | advanced | [
"P3",
"P2",
"P6",
"P1",
"P11"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "bash",
"description": "Run a shell command in the repository's sandbox and return stdout/stderr.",
"parameters": {
"type": "object",
"properties": "{\"command\":{\"type\":\"string\"}}",
"required": [
"command"
... | [
"{\"role\":\"system\",\"content\":\"You're working in the user's repository through a sandboxed shell. Prefer small, well-explained changes. The CI history CLI `ci-history` is installed.\"}",
"{\"role\":\"user\",\"content\":\"test_renewal_reminder_date fails in CI maybe once every few weeks, never locally. rerunn... | null |
chat-tactical-002#t1 | chat-tactical-002 | chat | 1 | 1 | tactical_problem_solving | advanced | [
"P5",
"P4",
"P1",
"P6",
"P7"
] | en | 5.1.0 | null | [
"{\"role\":\"system\",\"content\":\"You assist a quality-assurance lab. Be precise; staff will act on your instructions.\"}",
"{\"role\":\"user\",\"content\":\"Supplier recall: exactly one of our 80 reagent lots is contaminated, they don't know which lot number. We have 4 detection sensors. If a sensor touches co... | null |
chat-tactical-003#t1 | chat-tactical-003 | chat | 1 | 1 | tactical_problem_solving | advanced | [
"P9",
"P7",
"P4",
"P1",
"P2"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "experiment_results",
"description": "Fetch summary statistics for an experiment by id.",
"parameters": {
"type": "object",
"properties": "{\"experiment_id\":{\"type\":\"string\"}}",
"required": [
"experiment_id"... | [
"{\"role\":\"system\",\"content\":\"Product analytics assistant. Audience: PMs and engineers. Give a recommendation when asked, with the reasoning.\"}",
"{\"role\":\"user\",\"content\":\"checkout redesign A\\/B test ran 2 weeks: +1.8% relative lift in conversion, p = 0.08. data science says \\\"not significant, r... | null |
chat-tactical-004#t1 | chat-tactical-004 | chat | 1 | 1 | tactical_problem_solving | intermediate | [
"P5",
"P6",
"P1",
"P11"
] | en | 5.1.0 | null | [
"{\"role\":\"user\",\"content\":\"organising a one-day workshop. venue charges per room so i want 3 rooms max. been trying to fit these in by hand for an hour and keep getting stuck:\\n\\nKeynote rehearsal 9:00-10:30\\nSoil sensors 9:00-9:45\\nGrant writing 9:30-11:00\\nDrone mapping 10:00-11:30\\nLightning talks A... | null |
chat-tactical-005#t1 | chat-tactical-005 | chat | 1 | 1 | tactical_problem_solving | intermediate | [
"P9",
"P1",
"P12",
"P11"
] | en | 5.1.0 | null | [
"{\"role\":\"user\",\"content\":\"solo dev, launching my notes app in 2 days. open issues:\\n1. if you double click save fast enough (~200ms) the second write can overwrite the first with stale content. saw it twice in testing\\n2. dark mode, some buttons are low contrast. everyone using dark mode will see it\\n3. ... | null |
chat-tactical-006#t1 | chat-tactical-006 | chat | 1 | 1 | tactical_problem_solving | advanced | [
"P2",
"P3",
"P4",
"P11"
] | en | 5.1.0 | null | [
"{\"role\":\"system\",\"content\":\"You are an operations advisor for a small construction company. The owner uses you to think through business problems.\"}",
"{\"role\":\"user\",\"content\":\"We bid on public renovation contracts, lowest bid wins. Our estimators are good, when we look back over all our bids our... | null |
chat-tactical-007#t1 | chat-tactical-007 | chat | 1 | 1 | tactical_problem_solving | advanced | [
"P2",
"P4",
"P6",
"P5"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "bash",
"description": "Run a shell command in the repository's sandbox and return stdout/stderr.",
"parameters": {
"type": "object",
"properties": "{\"command\":{\"type\":\"string\"}}",
"required": [
"command"
... | [
"{\"role\":\"system\",\"content\":\"Pairing assistant for a backend team. The user may paste output; you can also suggest commands.\"}",
"{\"role\":\"user\",\"content\":\"regression in the last ~1000 commits. test_export_large fails about 30% of the time on bad commits, we think never on good ones. git bisect kee... | null |
chat-tactical-008#t1 | chat-tactical-008 | chat | 1 | 4 | tactical_problem_solving | advanced | [
"P13",
"P2",
"P3",
"P6",
"P11"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "run_python",
"description": "Execute Python in the project's notebook kernel. DataFrames from the project are preloaded: customers, logins, tickets, labels, and the trained model `gbm` with splits X_train, X_test, y_train, y_test.",
"parameters"... | [
"{\"role\":\"system\",\"content\":\"Data science copilot in the team's analytics workspace. People rely on your numbers for decisions; check before you report.\"}",
"{\"role\":\"user\",\"content\":\"can you finish the churn model eval from yesterday's notebook? model's trained (gradient boosting). i just need tes... | null |
chat-tactical-008#t2 | chat-tactical-008 | chat | 2 | 4 | tactical_problem_solving | advanced | [
"P13",
"P2",
"P3",
"P6",
"P11"
] | en | 5.1.0 | [
{
"type": "function",
"function": {
"name": "run_python",
"description": "Execute Python in the project's notebook kernel. DataFrames from the project are preloaded: customers, logins, tickets, labels, and the trained model `gbm` with splits X_train, X_test, y_train, y_test.",
"parameters"... | [
"{\"role\":\"system\",\"content\":\"Data science copilot in the team's analytics workspace. People rely on your numbers for decisions; check before you report.\"}",
"{\"role\":\"user\",\"content\":\"can you finish the churn model eval from yesterday's notebook? model's trained (gradient boosting). i just need tes... | null |
Teaching Claude Why — Constitutional Stories, Difficult Advice & Research
An independent, filtered synthetic dataset collection for training models to reason through difficult decisions, act on clear principles, and approach research methodically.
This release draws on the ideas discussed in Anthropic's Teaching Claude Why research. It brings together two research-inspired dataset types—Constitutional Stories and Difficult Advice—and adds a third, Research, designed to train more deliberate research behavior.
All three collections were generated with Claude Opus 5.5 and filtered before release. They are intended for developers and researchers building instruction-tuned models, studying generalization in AI alignment, or constructing more focused training mixtures.
This is an independent reproduction and extension of the ideas behind the published work, not a release of Anthropic's original training data or an exact reconstruction of its internal pipeline.
What's included
| Collection | Focus | Intended training value |
|---|---|---|
| Constitutional Stories | Fictional narratives in which AI systems make principled choices under realistic constraints | Expose models to examples of sound judgment, restraint, honesty, and respect for human agency in context |
| Difficult Advice | Challenging requests involving competing goals, ethical trade-offs, or uncertain consequences | Train responses that engage with the real problem, explain trade-offs, and offer useful, responsible guidance |
| Research | Research-oriented tasks and examples emphasizing structured inquiry | Encourage models to define questions, investigate systematically, assess evidence, acknowledge uncertainty, and synthesize findings |
Constitutional Stories
Rules alone do not show what good judgment looks like in practice. Stories can.
This collection uses fictional situations to illustrate how an AI system might navigate conflicting pressures, recognize limitations, respect oversight, and make choices consistent with underlying principles. The emphasis is on why a decision makes sense in its particular context, rather than on a simple list of permitted and prohibited actions.
Best suited for: continued pretraining, synthetic document training, and experiments on the influence of narrative examples on model behavior.
Difficult Advice
Many difficult requests are not answered well by either automatic compliance or a generic refusal. They require an understanding of what the user is trying to achieve, which interests are at stake, and what a genuinely useful response would look like.
This collection focuses on advice in ambiguous or sensitive situations. Its purpose is to provide examples of answers that take the question seriously, consider consequences, make relevant trade-offs explicit, and help the user move forward without ignoring important boundaries.
Best suited for: supervised fine-tuning, instruction tuning, and alignment-oriented evaluation or ablation studies.
Research
Research is an original addition to this collection; it is not one of the datasets described in Teaching Claude Why.
The goal is to train research as a process, not merely the production of polished answers. This includes framing an investigation, breaking down complex questions, identifying what evidence would be needed, distinguishing established information from assumptions, weighing conflicting evidence, and communicating conclusions with appropriate uncertainty.
The intended outcome is a model that approaches unfamiliar questions with greater methodological discipline—not one that simply sounds more authoritative. These examples should not be interpreted as independently verified research or evidence that a model has performed live web searches.
Best suited for: research-assistant fine-tuning, reasoning-oriented instruction data, and experiments with research-focused training mixtures.
Generation and curation
- Generation model: Claude Opus 5.5
- Data type: Synthetic, model-generated text
- Curation: Generated samples were filtered prior to release
- Relationship to the source research: Independent, research-inspired reproduction with an additional Research collection
Filtering is an important part of preparing synthetic training data, but it does not make every example correct, representative, or suitable for every use case. The dataset should be inspected in the context of the target model and training objective.
No downstream alignment, reasoning, or research-performance gains are claimed without evaluation on the model being trained.
Suggested uses
The collections can be used independently or combined, depending on the training stage and objective. A practical distinction is to use Constitutional Stories as document-style material, Difficult Advice as response-oriented instruction data, and Research as process-oriented instruction data. The appropriate formatting, weighting, and sampling strategy depend on the base model and training setup.
To load a dataset repository from the Hugging Face Hub using the datasets library:
from datasets import load_dataset
# Replace with the Hugging Face repository ID.
dataset = load_dataset("YOUR_NAMESPACE/YOUR_DATASET")
print(dataset)
If the three collections are published as separate repositories or named configurations, load the relevant repository or configuration explicitly. Inspect the available fields before mapping examples to a chat template or pretraining format.
Limitations and responsible use
This is synthetic training data, not a benchmark, a ground-truth knowledge base, or a guarantee of safe model behavior. In particular:
- Generated text can contain mistakes, oversimplifications, and recurring stylistic patterns.
- Fictional scenarios should not be treated as reports of real events.
- Research-oriented examples may contain unsupported claims; verify factual material against trustworthy sources before relying on it.
- Advice examples are not substitutes for qualified professional judgment in high-stakes settings.
- Improvements in training loss or in-distribution performance do not establish reliable generalization to unfamiliar situations.
Independent validation, held-out evaluations, and review of safety-relevant failure modes are recommended before deployment.
Research background and attribution
This project is inspired by Anthropic's Teaching Claude Why (2026), which investigates training approaches that teach models the principles behind desirable behavior, including constitutional documents, fictional stories, and advice about difficult decisions.
The Research collection is an independent extension motivated by a related objective: improving how models investigate questions and handle evidence and uncertainty.
This dataset is not affiliated with, sponsored by, or endorsed by Anthropic. References to Claude and Teaching Claude Why identify the generation model and the research that motivated the project; they do not imply official provenance.
License
Released under the Apache License 2.0.
If you use this collection in a publication or public project, a link to this dataset and an acknowledgment of the original Teaching Claude Why research are appreciated.
- Downloads last month
- 254