# Jupyter Agent Dataset

- **ID:** 72
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/jupyter-agent/jupyter-agent-dataset/
- **Authors:** jupyter-agent
- **Venue:** jupyter-agent
- **Published:** 2025
- **Source:** huggingface
- **Language:** code
- **Access:** free
- **License:** apache-2.0
- **License family:** Permissive (auto-classified)
- **Tags:** hf-dataset-qa, language-modeling
- **Topics:** QA, Language Modeling, Code
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/72

## Summary

The dataset uses real Kaggle notebooks processed through a multi-stage pipeline to de-duplicate, fetch referenced datasets, score educational quality, filter to data-analysis–relevant content, generate dataset-grounded question–answer (QA) pairs, and produce executable reasoning traces by running notebooks. The resulting examples include natural questions about a dataset/notebook, verified answers, and step-by-step execution traces suitable for agent training.

## Attributes

- **Purpose:** QA, Language Modeling
- **Scale:** 10K<n<100K
- **Time period:** created 2025-09-02; updated 2025-09-10
- **Author type:** mixed

## From the source (fetched 2026-10-03)

- **Repository:** jupyter-agent/jupyter-agent-dataset (Hugging Face)
- **Created:** Sep 2, 2025 (Hugging Face)
- **Last updated:** Sep 10, 2025 (Hugging Face)
- **Downloads (last month):** 2,031 (Hugging Face)
- **Likes:** 173 (Hugging Face)
- **Size:** 10K to 100K rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Tasks:** question-answering, text-generation (Hugging Face)
- **Formats:** parquet (Hugging Face)

## Dataset profile

- **Scale:** YAML: 51,389 thinking + 51,389 non_thinking rows (same 51,389 synthetic notebooks in two chat formats). Card: ~200M training tokens. size_categories 10K<n<100K. YAML download_size 71,781,735,066 bytes (~71.78 GB); uncompressed dataset_size 102,156,900,168 bytes (~102.16 GB; thinking 51.08 GB / non_thinking 51.08 GB). Hub usedStorage 150,664,832,161 bytes (~150.66 GB). 103 parquet shards per split. Hub 31.9K downloads / 170 likes at check.
- **Format:** parquet. Splits thinking / non_thinking. Columns: messages (ChatML with optional tool_calls), id, edu_score, files_used, packages_used, question, answer, kaggle_dataset_name, executor_type, original_notebook, tools.
- **Type:** Synthetic notebook agent-trace corpus / code SFT
- **License:** Apache-2.0 (card). Upstream Kaggle notebooks/datasets keep their own licenses and Kaggle ToS; this dump is derived QA/traces/metadata, not a license to redistribute those sources.
- **Cost:** Free
- **Languages:** Card language:code (Python notebooks + English QA). Questions/answers in English in the card description. No LID table.
- **Modality:** Text-only (Python + English QA + tool JSON). No notebook screenshots in the schema.
- **Domain:** code agents; Jupyter/Kaggle data analysis; pandas/numpy/matplotlib EDA; executable notebook traces
- **Time period:** HF createdAt 2025-09-02; lastModified 2025-09-10. Derived from public Kaggle notebooks (Meta Kaggle Code) and linked Kaggle datasets; traces generated with Qwen3-Coder-480B-A35B-Instruct and Qwen3-32B (2025). Card update 2025-09-04 renamed text→messages and added original tool_calls.
- **Purpose:** Train code agents to read notebook/dataset context, execute Python, and answer dataset-grounded questions with verified short answers
- **Used for:** Qwen3-4B-Instruct-2507 and Qwen3-4B-Thinking-2507 SFT (card: up to ~20% DABstep easy-score gain). Hub 31.9K downloads / 170 likes at check. Discord posted the HF URL.
- **Authors:** Hugging Face Jupyter-Agent team (Baptiste Colle, Hanna Yukhymenko, Leandro von Werra). Source notebooks: public Kaggle authors. Scoring/QA: Qwen3-32B. Code/thinking traces: Qwen3-Coder-480B-A35B-Instruct. Execution: E2B sandbox when Kaggle data was local, else simulated LLM sandbox with Qwen-Coder.
- **Bias:** Kaggle data-analysis notebooks only (LLM-training and non-EDA notebooks filtered). Educational-quality LLM filter selects high-scoring sections, not whole notebooks. Dataset-grounded QA may inherit Kaggle topic skew (tabular EDA, competitions). Two splits are format variants of the same notebooks, not independent data. E2B traces vs simulated Qwen-Coder sandbox traces are mixed (executor_type column).
- **Text quality:** Synthetic ChatML notebooks with tool_calls, verified short answers, and execution traces. QA is two-step Qwen3-32B generate + second-LLM validate against notebook context. Card warns traces may not be perfectly reproducible; notebooks can contain errors/non-determinism. Derived artifacts only — original Kaggle datasets/full notebooks are not redistributed (original_notebook column is a reference/derived field).
- **Sample size:** Two splits of the same 51,389 notebooks: thinking and non_thinking (thinking commentary wrapped with or without think tags). No official val/test. 103 parquet shards per split. edu_score is an LLM educational filter, not a difficulty split.
- **Long context:** Yes (full synthetic notebooks with multi-step code execution traces; YAML ~1 MB uncompressed per row on average). Card targets agent training over notebook+dataset context.
- **Intermediate steps:** Yes (Datatrove large-scale Kaggle notebook dedup; Kaggle Hub fetch of linked datasets; Qwen3-32B educational scoring; drop LLM-training/non-EDA notebooks; two-step QA generation+validation; Qwen3-Coder-480B trace generation; E2B or simulated execution). Code: github.com/huggingface/jupyter-agent.
- **Idea quality:** High
- **Novelty:** High (executable Kaggle-grounded Jupyter agent traces with dual think/non-think ChatML)
- **Text conversion:** Ready parquet; load_dataset('jupyter-agent/jupyter-agent-dataset', split='thinking') or 'non_thinking'. Streaming recommended (~71.8 GB download). messages+tools are TRL SFTTrainer-ready. Linked Kaggle files must be fetched separately via kagglehub for real execution.
- **Collection method:** Download
- **Static:** Unknown (HF lastModified 2025-09-10; one-shot 51.4k-notebook dump)
- **Processed:** Unknown

## Links

- Dataset: https://huggingface.co/datasets/jupyter-agent/jupyter-agent-dataset
- Related: https://huggingface.co/datasets/jupyter-agent/jupyter-agent-dataset
- Related: https://huggingface.co/blog/jupyter-agent-2
- Related: https://github.com/huggingface/jupyter-agent
- Related: https://huggingface.co/spaces/lvwerra/jupyter-agent-2

## Research notes

- downloads=1353; likes=170
- Discord posted only the HF URL. gated=false; public; CuratorBote listed data/*.parquet. Distinct from already-cataloged OpenCoder FineWeb Code Corpus and rStar-Coder. Card demo Space lvwerra/jupyter-agent-2. Cite Colle, Yukhymenko, von Werra 2025 Jupyter Agent Dataset (HF). Not in papers_local.csv.

## Similar entries

- [Open Reasoner Zero Dataset](https://papers.projxon.ai/entries/77) (dataset, #77)
- [synthetic_text_to_sql](https://papers.projxon.ai/entries/159) (dataset, #159)
- [gemini-3.1-pro-hard-high-reasoning](https://papers.projxon.ai/entries/242) (dataset, #242)
- [gemini-3-pro-10000x-hard-high-reasoning](https://papers.projxon.ai/entries/235) (dataset, #235)
- [Gpt-5.4-Xhigh-Reasoning-2750x](https://papers.projxon.ai/entries/303) (dataset, #303)
- [MathNet v0 — Olympiad Math Reasoning & Retrieval](https://papers.projxon.ai/entries/346) (dataset, #346)
