Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type
struct<source: string, extra: string>
to
{'source': Value('string'), 'mod': Value('string'), 'file': Value('string'), 'type': Value('string'), 'language': Value('string'), 'author': Value('string'), 'description': Value('string')}
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 361, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2315, in cast_table_to_schema
cast_array_to_feature(
~~~~~~~~~~~~~~~~~~~~~^
table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feature,
^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2161, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
struct<source: string, extra: string>
to
{'source': Value('string'), 'mod': Value('string'), 'file': Value('string'), 'type': Value('string'), 'language': Value('string'), 'author': Value('string'), 'description': Value('string')}
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.
text string | meta dict |
|---|---|
;;-*-Lisp-*-
(in-package goal)
(bundles "SNO.DGO")
(require "engine/common-obs/plat-eco.gc")
(require "engine/common-obs/ticky.gc")
;; DECOMP BEGINS
(deftype flutflut-plat (plat)
((has-path? symbol)
(plat-type int32)
(rise-time int32)
(fall-time int32)
(part-ry ... | {
"source": "sources/jak-project",
"mod": "jak-project - Jak & Daxter full decomp + GOAL engine",
"file": "snow-flutflut-obs.gc",
"type": "source_code",
"language": "goal",
"author": "open-goal",
"description": "jak-project - Jak & Daxter full decomp + GOAL engine - source_code (goal)"
} |
;;-*-Lisp-*-
(in-package goal)
(bundles "SNO.DGO")
(require "engine/game/task/task-control.gc")
(require "engine/common-obs/collectables.gc")
(require "engine/camera/pov-camera-h.gc")
(require "engine/util/sync-info.gc")
(require "engine/common-obs/baseplat.gc")
;; DECOMP BEGINS
(deftype snowcam (pov-camera)
((seq ... | {
"source": "sources/jak-project",
"mod": "jak-project - Jak & Daxter full decomp + GOAL engine",
"file": "snow-obs.gc",
"type": "source_code",
"language": "goal",
"author": "open-goal",
"description": "jak-project - Jak & Daxter full decomp + GOAL engine - source_code (goal)"
} |
;;-*-Lisp-*-
(in-package goal)
(bundles "SNO.DGO")
(require "engine/common-obs/generic-obs-h.gc")
(require "engine/gfx/hw/display-h.gc")
(require "engine/math/matrix-h.gc")
(require "engine/gfx/sprite/sparticle/sparticle-h.gc")
(require "engine/gfx/texture/texture-h.gc")
(require "engine/gfx/sprite/sparticle/sparticle-... | {
"source": "sources/jak-project",
"mod": "jak-project - Jak & Daxter full decomp + GOAL engine",
"file": "snow-part.gc",
"type": "source_code",
"language": "goal",
"author": "open-goal",
"description": "jak-project - Jak & Daxter full decomp + GOAL engine - source_code (goal)"
} |
;;-*-Lisp-*-
(in-package goal)
(bundles "SNO.DGO")
(require "engine/game/projectiles.gc")
(require "levels/snow/ice-cube.gc")
(declare-type ram-boss nav-enemy)
;; DECOMP BEGINS
(deftype ram-boss-proj (projectile)
((parent-override (pointer ram-boss) :overlay-at parent)
(part2 sparticle-launch-control)
... | {
"source": "sources/jak-project",
"mod": "jak-project - Jak & Daxter full decomp + GOAL engine",
"file": "snow-ram-boss.gc",
"type": "source_code",
"language": "goal",
"author": "open-goal",
"description": "jak-project - Jak & Daxter full decomp + GOAL engine - source_code (goal)"
} |
;;-*-Lisp-*-
(in-package goal)
(bundles "SNO.DGO")
(require "engine/game/game-h.gc")
;; DECOMP BEGINS
(deftype ram (process-drawable)
((root collide-shape-moving :override)
(ram-id int32)
(give-fuel-cell? symbol)
(give-fuel-cell-anim spool-anim)
(part2 spart... | {
"source": "sources/jak-project",
"mod": "jak-project - Jak & Daxter full decomp + GOAL engine",
"file": "snow-ram-h.gc",
"type": "source_code",
"language": "goal",
"author": "open-goal",
"description": "jak-project - Jak & Daxter full decomp + GOAL engine - source_code (goal)"
} |
;;-*-Lisp-*-
(in-package goal)
(bundles "SNO.DGO")
(require "levels/snow/snow-ram-h.gc")
(require "levels/snow/snow-ram-boss.gc")
(require "levels/snow/snow-obs.gc")
;; DECOMP BEGINS
(defskelgroup *ram-sg*
ram
ram-lod0-jg
ram-cock-ja
((ram-lod0-mg (meters 20)) (ram-lod1-mg (meters 40)) (ram-lod2-mg (meters 99... | {
"source": "sources/jak-project",
"mod": "jak-project - Jak & Daxter full decomp + GOAL engine",
"file": "snow-ram.gc",
"type": "source_code",
"language": "goal",
"author": "open-goal",
"description": "jak-project - Jak & Daxter full decomp + GOAL engine - source_code (goal)"
} |
";;-*-Lisp-*-\n(in-package goal)\n(bundles \"SNO.DGO\")\n(require \"engine/target/target-handler.gc\(...TRUNCATED) | {"source":"sources/jak-project","mod":"jak-project - Jak & Daxter full decomp + GOAL engine","file":(...TRUNCATED) |
";;-*-Lisp-*-\n(in-package goal)\n(bundles \"SNO.DGO\")\n(require \"engine/target/logic-target.gc\")(...TRUNCATED) | {"source":"sources/jak-project","mod":"jak-project - Jak & Daxter full decomp + GOAL engine","file":(...TRUNCATED) |
";;-*-Lisp-*-\n(in-package goal)\n(bundles \"SNO.DGO\")\n(require \"engine/common-obs/nav-enemy.gc\"(...TRUNCATED) | {"source":"sources/jak-project","mod":"jak-project - Jak & Daxter full decomp + GOAL engine","file":(...TRUNCATED) |
";;-*-Lisp-*-\n(in-package goal)\n(bundles \"SUN.DGO\")\n(require \"engine/nav/navigate.gc\")\n(requ(...TRUNCATED) | {"source":"sources/jak-project","mod":"jak-project - Jak & Daxter full decomp + GOAL engine","file":(...TRUNCATED) |
End of preview.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
OpenAI Math Corpus Training Data Generation
Overview
This directory contains training data generated from the OpenAI Math repository (719 manuscripts across 372 result families, with ~200+ formally verified in Lean 4).
Source Data
- Math manuscript collection (
math/): 719 papers across 372 families - NavierStokesAndEuler (
NavierStokesAndEuler/): 42,000+ Lean formalization files - Reasoning traces: 10 PDF documents with model's chain of thought
- Lean formalizations: ~200+ results with Comparator challenges and full library
Training Data Files
| File | Size | Examples | Description |
|---|---|---|---|
unified_training_corpus.jsonl |
146.5 MB | 118,860 | All examples unified - the primary training corpus |
lean_problem_solution.jsonl |
46.9 MB | 53,477 | Lean theorem/lemma declarations → proof terms |
lean_proof_granularity.jsonl |
47.8 MB | 54,220 | Full proof granularity levels |
training_pretrain_chunk.jsonl |
36.5 MB | 8,965 | Cleaned paper text chunks (~4000 chars each) |
training_multi_format.jsonl |
11.0 MB | 1,672 | Cross-format: LaTeX ↔ natural language ↔ Lean |
latex_lean_parallel_improved.jsonl |
1.0 MB | 242 | Paper LaTeX (theorems) ↔ Lean docs |
reasoning_trace_training.jsonl |
0.8 MB | 112 | Model's reasoning trace excerpts |
Schema (JSONL)
{
"id": "unique_example_id",
"family_id": "001",
"title": "Paper title",
"source_type": "latex|lean|reasoning_trace|multi_format",
"format": "pretrain_chunk|problem_solution|proof_granularity|multi_format|latex_to_lean|reasoning_trace",
"input_text": "...",
"output_text": "...",
"metadata": {...}
}
Data Variations
- Pretraining chunks (8,965): Clean, chunked text from papers for continued pretraining
- Problem-solution pairs (53,477): Lean theorem statements → proof terms for supervised fine-tuning
- Proof granularity (54,220): Multi-level proof representations (statement → sketch → full proof)
- Cross-format (1,672): Same content in LaTeX ↔ natural language ↔ Lean ↔ reasoning trace
- LaTeX↔Lean parallel (242): Paper theorems paired with formalization docs
- Reasoning traces (112): Model's chain-of-thought from 10 detailed results
Generation Pipeline
Extraction (
extract_pipeline.py):- Extracted full text from all 719 PDFs using pdftotext
- Extracted LaTeX source from all build/ directories
- Parsed CONTENTS.md for family metadata
- Parsed formalization.yaml for Lean result mappings
Lean extraction (
extract_lean_improved.py):- Parsed 55,216 declarations from Comparator challenges, NavierStokesAndEuler, and 190+ referenced library files
- Generated problem-solution and proof-granularity training examples
Reasoning trace extraction (
extract_reasoning_traces.py):- Extracted and structured all 10 reasoning trace PDFs
Training data generation (
generate_training_data.py):- Chunked paper text into pretraining segments
- Created cross-format pairs
- Generated LaTeX↔Lean parallels
Consolidation (
consolidate_training_data.py):- Unified all examples into single corpus file
Technical Details
- Sources read: PDFs (via pdftotext), LaTeX (.tex), Lean (.lean), YAML, Markdown
- Encoding: UTF-8 throughout
- Total disk size: ~144.6 MB
- Robustness: All text extraction used replace-mode for encoding errors
Known Limitations
- PDF text extraction: Used pdftotext (poppler) which may lose some LaTeX structure. Mathematical formulas appear as raw text.
- Lean parsing: Custom Python parser, not using Lean's own preprocessing. May miss complex declarations or include partial matches.
- Formalization pairing: Family IDs matched via CONTENTS.md directory names; some (~30 directory-to-family mismatches) may be incorrect.
- Reasoning traces: Only 10 of 372 families have reasoning traces.
- No verification: Generated Lean data was not verified with Lean compiler (files are too large for timely processing).
Usage
For supervised fine-tuning on theorem proving:
# Load problem-solution pairs
import json
with open("lean_problem_solution.jsonl") as f:
examples = [json.loads(line) for line in f]
# Each: {"input_text": "theorem foo : T", "output_text": "by ..."}
For continued pretraining:
with open("training_pretrain_chunk.jsonl") as f:
chunks = [json.loads(line) for line in f]
# Each: {"input_text": "cleaned paper text..."}
- Downloads last month
- 475