id string | dataset_name string | source_dataset string | source_split string | document_id string | form_type string | form_types list | schema_style string | prompt_style string | target_source string | teacher_model string | ocr_source string | ocr_model string | ocr_page_count int64 | messages list | target_text string | target_json string | ground_truth_text string | ground_truth_json string | teacher_parse_text string | teacher_parse_json string | schema string | metadata string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sonnet_parse_traces/train/package_0000/parse_step_trace | synthetic-tax-forms | sonnet_parse_traces | train | package_0000 | correspondence | [
"1040--2022",
"8960--2025",
"8857--2021"
] | parse_step_trace_schema | parse_step_trace_prompt | sonnet_parse_output | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | package_0000.json | doctr | 12 | [{"role":"user","content":"CONTEXT: You are running in AWS GovCloud, a FedRAMP-authorized environmen(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"documentCode\": \"1040--2022\", \"envelopeData\": {\"from\": \"4136 Macias Haven, Nor(...TRUNCATED) | "{\"body\": {\"documentCode\": \"1040--2022\", \"envelopeData\": {\"from\": \"4136 Macias Haven, Nor(...TRUNCATED) | null | null | "{\"$defs\": {\"Body\": {\"description\": \"Body of the correspondence document; this is the main da(...TRUNCATED) | "{\"combined_text_chars\": 29932, \"llm_call_count\": 2, \"llm_call_kinds\": [\"form_identification\(...TRUNCATED) |
sonnet_parse_traces/train/package_0001/parse_step_trace | synthetic-tax-forms | sonnet_parse_traces | train | package_0001 | correspondence | [
"1040--2022"
] | parse_step_trace_schema | parse_step_trace_prompt | sonnet_parse_output | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | package_0001.json | doctr | 4 | [{"role":"user","content":"CONTEXT: You are running in AWS GovCloud, a FedRAMP-authorized environmen(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"documentCode\": \"1040--2022\", \"envelopeData\": {\"from\": \"45426 Katie Summit Sui(...TRUNCATED) | "{\"body\": {\"documentCode\": \"1040--2022\", \"envelopeData\": {\"from\": \"45426 Katie Summit Sui(...TRUNCATED) | null | null | "{\"$defs\": {\"Body\": {\"description\": \"Body of the correspondence document; this is the main da(...TRUNCATED) | "{\"combined_text_chars\": 7893, \"llm_call_count\": 2, \"llm_call_kinds\": [\"form_identification\"(...TRUNCATED) |
sonnet_parse_traces/train/package_0003/parse_step_trace | synthetic-tax-forms | sonnet_parse_traces | train | package_0003 | correspondence | [
"1040--2022",
"8822--2021",
"2441--2025"
] | parse_step_trace_schema | parse_step_trace_prompt | sonnet_parse_output | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | package_0003.json | doctr | 8 | [{"role":"user","content":"CONTEXT: You are running in AWS GovCloud, a FedRAMP-authorized environmen(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"documentCode\": \"1040--2022\", \"envelopeData\": {\"from\": \"90816 Nicole Meadows, (...TRUNCATED) | "{\"body\": {\"documentCode\": \"1040--2022\", \"envelopeData\": {\"from\": \"90816 Nicole Meadows, (...TRUNCATED) | null | null | "{\"$defs\": {\"Body\": {\"description\": \"Body of the correspondence document; this is the main da(...TRUNCATED) | "{\"combined_text_chars\": 17496, \"llm_call_count\": 2, \"llm_call_kinds\": [\"form_identification\(...TRUNCATED) |
sonnet_parse_traces/train/package_0004/parse_step_trace | synthetic-tax-forms | sonnet_parse_traces | train | package_0004 | correspondence | [
"433f--2019",
"8948--2018",
"1116--2024",
"8960--2025"
] | parse_step_trace_schema | parse_step_trace_prompt | sonnet_parse_output | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | package_0004.json | doctr | 10 | [{"role":"user","content":"CONTEXT: You are running in AWS GovCloud, a FedRAMP-authorized environmen(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"documentCode\": \"433-F\", \"enve(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"documentCode\": \"433-F\", \"enve(...TRUNCATED) | "{\"body\": {\"documentCode\": \"433f--2019\", \"envelopeData\": {\"from\": \"811 Crawford Mount Sui(...TRUNCATED) | "{\"body\": {\"documentCode\": \"433f--2019\", \"envelopeData\": {\"from\": \"811 Crawford Mount Sui(...TRUNCATED) | null | null | "{\"$defs\": {\"Body\": {\"description\": \"Body of the correspondence document; this is the main da(...TRUNCATED) | "{\"combined_text_chars\": 20576, \"llm_call_count\": 2, \"llm_call_kinds\": [\"form_identification\(...TRUNCATED) |
sonnet_parse_traces/train/package_0005/parse_step_trace | synthetic-tax-forms | sonnet_parse_traces | train | package_0005 | correspondence | [
"433d--2024",
"4562--2024",
"8959--2025"
] | parse_step_trace_schema | parse_step_trace_prompt | sonnet_parse_output | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | package_0005.json | doctr | 10 | [{"role":"user","content":"CONTEXT: You are running in AWS GovCloud, a FedRAMP-authorized environmen(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"documentCode\": \"433d--2024\", \"envelopeData\": {\"from\": \"00400 Angela Knolls, K(...TRUNCATED) | "{\"body\": {\"documentCode\": \"433d--2024\", \"envelopeData\": {\"from\": \"00400 Angela Knolls, K(...TRUNCATED) | null | null | "{\"$defs\": {\"Body\": {\"description\": \"Body of the correspondence document; this is the main da(...TRUNCATED) | "{\"combined_text_chars\": 21812, \"llm_call_count\": 2, \"llm_call_kinds\": [\"form_identification\(...TRUNCATED) |
sonnet_parse_traces/train/package_0007/parse_step_trace | synthetic-tax-forms | sonnet_parse_traces | train | package_0007 | correspondence | [
"433d--2024",
"8949--2025"
] | parse_step_trace_schema | parse_step_trace_prompt | sonnet_parse_output | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | package_0007.json | doctr | 8 | [{"role":"user","content":"CONTEXT: You are running in AWS GovCloud, a FedRAMP-authorized environmen(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"documentCode\": \"433d--2024\", \"envelopeData\": {\"from\": \"6629 Cheyenne Lights U(...TRUNCATED) | "{\"body\": {\"documentCode\": \"433d--2024\", \"envelopeData\": {\"from\": \"6629 Cheyenne Lights U(...TRUNCATED) | null | null | "{\"$defs\": {\"Body\": {\"description\": \"Body of the correspondence document; this is the main da(...TRUNCATED) | "{\"combined_text_chars\": 16985, \"llm_call_count\": 2, \"llm_call_kinds\": [\"form_identification\(...TRUNCATED) |
sonnet_parse_traces/train/package_0008/parse_step_trace | synthetic-tax-forms | sonnet_parse_traces | train | package_0008 | correspondence | [
"8995--2024",
"1116--2024",
"8857--2021",
"8867--2024",
"8949--2025"
] | parse_step_trace_schema | parse_step_trace_prompt | sonnet_parse_output | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | package_0008.json | doctr | 16 | [{"role":"user","content":"CONTEXT: You are running in AWS GovCloud, a FedRAMP-authorized environmen(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"documentCode\": \"8995--2024\", \"envelopeData\": {\"from\": \"504 Jason Lodge Suite (...TRUNCATED) | "{\"body\": {\"documentCode\": \"8995--2024\", \"envelopeData\": {\"from\": \"504 Jason Lodge Suite (...TRUNCATED) | null | null | "{\"$defs\": {\"Body\": {\"description\": \"Body of the correspondence document; this is the main da(...TRUNCATED) | "{\"combined_text_chars\": 44373, \"llm_call_count\": 2, \"llm_call_kinds\": [\"form_identification\(...TRUNCATED) |
sonnet_parse_traces/train/package_0010/parse_step_trace | synthetic-tax-forms | sonnet_parse_traces | train | package_0010 | correspondence | [
"15227--2025",
"433f--2024",
"8822--2021"
] | parse_step_trace_schema | parse_step_trace_prompt | sonnet_parse_output | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | package_0010.json | doctr | 8 | [{"role":"user","content":"CONTEXT: You are running in AWS GovCloud, a FedRAMP-authorized environmen(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"documentCode\": \"15227--2025\", \"envelopeData\": {\"from\": \"8813 Brown Parkway Su(...TRUNCATED) | "{\"body\": {\"documentCode\": \"15227--2025\", \"envelopeData\": {\"from\": \"8813 Brown Parkway Su(...TRUNCATED) | null | null | "{\"$defs\": {\"Body\": {\"description\": \"Body of the correspondence document; this is the main da(...TRUNCATED) | "{\"combined_text_chars\": 23841, \"llm_call_count\": 2, \"llm_call_kinds\": [\"form_identification\(...TRUNCATED) |
sonnet_parse_traces/train/package_0011/parse_step_trace | synthetic-tax-forms | sonnet_parse_traces | train | package_0011 | correspondence | [
"843--2024",
"941--2025",
"4562--2024",
"941--2024"
] | parse_step_trace_schema | parse_step_trace_prompt | sonnet_parse_output | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | package_0011.json | doctr | 14 | [{"role":"user","content":"CONTEXT: You are running in AWS GovCloud, a FedRAMP-authorized environmen(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"documentCode\": \"843--2024\", \"envelopeData\": {\"from\": \"31275 Dawn Drive Apt F1(...TRUNCATED) | "{\"body\": {\"documentCode\": \"843--2024\", \"envelopeData\": {\"from\": \"31275 Dawn Drive Apt F1(...TRUNCATED) | null | null | "{\"$defs\": {\"Body\": {\"description\": \"Body of the correspondence document; this is the main da(...TRUNCATED) | "{\"combined_text_chars\": 33915, \"llm_call_count\": 2, \"llm_call_kinds\": [\"form_identification\(...TRUNCATED) |
sonnet_parse_traces/train/package_0013/parse_step_trace | synthetic-tax-forms | sonnet_parse_traces | train | package_0013 | correspondence | [
"433f--2024"
] | parse_step_trace_schema | parse_step_trace_prompt | sonnet_parse_output | us.anthropic.claude-sonnet-4-5-20250929-v1:0 | package_0013.json | doctr | 4 | [{"role":"user","content":"CONTEXT: You are running in AWS GovCloud, a FedRAMP-authorized environmen(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"campusCode\": null, \"correspondenceData\": null, \"description\": null, \"documentCo(...TRUNCATED) | "{\"body\": {\"documentCode\": \"433f--2024\", \"envelopeData\": {\"from\": \"1622 Carr Loop Apt. 11(...TRUNCATED) | "{\"body\": {\"documentCode\": \"433f--2024\", \"envelopeData\": {\"from\": \"1622 Carr Loop Apt. 11(...TRUNCATED) | null | null | "{\"$defs\": {\"Body\": {\"description\": \"Body of the correspondence document; this is the main da(...TRUNCATED) | "{\"combined_text_chars\": 8067, \"llm_call_count\": 2, \"llm_call_kinds\": [\"form_identification\"(...TRUNCATED) |
Synthetic Tax Forms
Synthetic Tax Forms is a public dataset for training and evaluating tax-form submission extraction models.
The dataset contains OCR-derived prompts, JSON schemas, extraction targets, and quality metadata for synthetic multi-form tax submissions. It is intended for SFT and RL experiments replacing proprietary ParseStep LLM extraction with open-source models.
Contents
train.parquet: 2,599 training rows with a stable Hugging Face viewer-compatible schema.metadata.json: dataset generation metadata.
Row Types
sonnet_parse_output: exact ParseStep distillation rows. The input is the production-style ParseStep prompt and the target is the Sonnet 4.5 ParseStep output.ground_truth: augmented prompt/schema rows. The input uses prompt and schema variants over the same OCR text and the target is synthetic ground truth.
Current Mix
- 199 exact Sonnet ParseStep trace rows.
- 2,400 augmented ground-truth rows.
- 4 schema styles:
native,flattened_native,minimal_target,base_with_native_formsData. - 3 prompt styles:
parse_step_default,schema_system_user,concise_schema_user.
Schema Notes
messages is stored as structured chat messages: a list of {role, content} objects.
The following heterogeneous JSON columns are serialized as JSON strings for Parquet/Hugging Face viewer stability:
target_jsonground_truth_jsonteacher_parse_jsonschemametadata
Use json.loads(...) to recover those columns as objects.
Example:
import json
from datasets import load_dataset
ds = load_dataset("zzsi/synthetic-tax-forms", split="train")
row = ds[0]
messages = row["messages"]
target = json.loads(row["target_json"])
schema = json.loads(row["schema"])
metadata = json.loads(row["metadata"])
Suggested Filtering
For canonical extraction SFT/RL labels:
row["target_source"] == "ground_truth"
For exact Sonnet behavior distillation:
row["target_source"] == "sonnet_parse_output"
For a high-precision mixed SFT set:
row["target_source"] == "ground_truth" or not json.loads(row["metadata"])["trace_quality"]["issues"]
Important Caveats
This dataset is synthetic. Names, addresses, TINs, dates, and amounts are generated data and should not be treated as real taxpayer data.
Some exact teacher traces include quality warnings in metadata.trace_quality, such as teacher form-type mismatch versus ground truth. Consumers should filter or downweight exact teacher rows with non-empty metadata.trace_quality.issues when training purely from teacher outputs.
For most SFT/RL work, the ground_truth rows should be treated as canonical labels. The sonnet_parse_output rows are useful as behavior-distillation examples for matching the current ParseStep call pattern.
Public Export Sanitization
The public export removes local filesystem paths and raw internal LLM call payloads. Trace provenance is retained using package/trace file identifiers and quality metadata.
- Downloads last month
- 13