Dataset Preview
Duplicate
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:    CastError
Message:      Couldn't cast
name: string
model: string
messages: list<item: struct<role: string, content: string, reasoning_content: string, tool_call_id: string, to (... 107 chars omitted)
  child 0, item: struct<role: string, content: string, reasoning_content: string, tool_call_id: string, tool_calls: l (... 95 chars omitted)
      child 0, role: string
      child 1, content: string
      child 2, reasoning_content: string
      child 3, tool_call_id: string
      child 4, tool_calls: list<item: struct<function: struct<arguments: string, name: string>, id: string, type: string>>
          child 0, item: struct<function: struct<arguments: string, name: string>, id: string, type: string>
              child 0, function: struct<arguments: string, name: string>
                  child 0, arguments: string
                  child 1, name: string
              child 1, id: string
              child 2, type: string
topic_summary: string
tools: string
to
{'name': Value('string'), 'model': Value('string'), 'messages': List({'role': Value('string'), 'content': Value('string')}), 'topic_summary': Value('string')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, 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 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              name: string
              model: string
              messages: list<item: struct<role: string, content: string, reasoning_content: string, tool_call_id: string, to (... 107 chars omitted)
                child 0, item: struct<role: string, content: string, reasoning_content: string, tool_call_id: string, tool_calls: l (... 95 chars omitted)
                    child 0, role: string
                    child 1, content: string
                    child 2, reasoning_content: string
                    child 3, tool_call_id: string
                    child 4, tool_calls: list<item: struct<function: struct<arguments: string, name: string>, id: string, type: string>>
                        child 0, item: struct<function: struct<arguments: string, name: string>, id: string, type: string>
                            child 0, function: struct<arguments: string, name: string>
                                child 0, arguments: string
                                child 1, name: string
                            child 1, id: string
                            child 2, type: string
              topic_summary: string
              tools: string
              to
              {'name': Value('string'), 'model': Value('string'), 'messages': List({'role': Value('string'), 'content': Value('string')}), 'topic_summary': Value('string')}
              because column names don't match
              
              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 1369, 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 948, 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 1694, 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 1880, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

name
string
model
string
messages
list
topic_summary
string
gpt 5.6 luna
gpt 5.6 luna
[ { "role": "system", "content": "You are a helpful assistant that can interact with a computer.\n\nYour response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).\nInclude a THOUGHT section before your command where you explain your reasoning process.\nFormat yo...
Software security repair: this issue: This application is a web page that uses jQuery UI Dialog widget to display modal dialogs and notifications to users. There is a bug in the Dialog widget's title handling.…
gpt 5.6 luna
gpt 5.6 luna
[ { "role": "system", "content": "You are a helpful assistant that can interact with a computer.\n\nYour response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).\nInclude a THOUGHT section before your command where you explain your reasoning process.\nFormat yo...
Software security repair: this issue: This application is a web page that uses jQuery UI Dialog widget to display modal dialogs and notifications to users. There is a bug in the Dialog widget's title handling.…
gpt 5.6 luna
gpt 5.6 luna
[ { "role": "system", "content": "You are a helpful assistant that can interact with a computer.\n\nYour response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).\nInclude a THOUGHT section before your command where you explain your reasoning process.\nFormat yo...
Software security repair: this issue: This application is a web page that uses jQuery UI Dialog widget to display modal dialogs and notifications to users. There is a bug in the Dialog widget's title handling.…
gpt 5.6 luna
gpt 5.6 luna
[{"role":"system","content":"You are a helpful assistant that can interact with a computer.\n\nYour (...TRUNCATED)
"Software security repair: this issue: This application is a web page that uses jQuery UI Dialog wid(...TRUNCATED)
gpt 5.6 luna
gpt 5.6 luna
[{"role":"system","content":"You are a helpful assistant that can interact with a computer.\n\nYour (...TRUNCATED)
"Software security repair: this issue: This application is a web page that uses jQuery UI Dialog wid(...TRUNCATED)
gpt 5.6 luna
gpt 5.6 luna
[{"role":"system","content":"You are a helpful assistant that can interact with a computer.\n\nYour (...TRUNCATED)
"Software security repair: this issue: I'm experiencing an issue with the Radeon display driver when(...TRUNCATED)
gpt 5.6 luna
gpt 5.6 luna
[{"role":"system","content":"You are a helpful assistant that can interact with a computer.\n\nYour (...TRUNCATED)
"Software security repair: this issue: This application is Webmin, a web-based system administration(...TRUNCATED)
gpt 5.6 luna
gpt 5.6 luna
[{"role":"system","content":"You are a helpful assistant that can interact with a computer.\n\nYour (...TRUNCATED)
"Software security repair: this issue: This application is Webmin, a web-based system administration(...TRUNCATED)
gpt 5.6 luna
gpt 5.6 luna
[{"role":"system","content":"You are a helpful assistant that can interact with a computer.\n\nYour (...TRUNCATED)
"Software security repair: this issue: This application is Webmin, a web-based system administration(...TRUNCATED)
gpt 5.6 luna
gpt 5.6 luna
[{"role":"system","content":"You are a helpful assistant that can interact with a computer.\n\nYour (...TRUNCATED)
"Software security repair: this issue: This application is Webmin, a web-based system administration(...TRUNCATED)
End of preview.

Teacher - GPT 5.6 Luna

A compact, multi-domain chat corpus for reasoning and tool use.

102,881 conversations · 1.27 GiB · $164 API generation cost+ $80 (codex)

reasoning · code · math · STEM · tools · security


Overview

This project is a high-quality conversational training dataset focused on reasoning, mathematics, STEM, Python programming, software security, and tool use. It was independently generated by the dataset creator through API-based generation at a total cost of $164.

Every example follows the Hugging Face conversational messages format and includes a short topic_summary for filtering, analysis, and curriculum construction. The data includes detailed solutions, multi-turn dialogue, system prompts, tool calls, tool responses, and structured tool definitions.

What's inside

Area Content
Mathematical reasoning Step-by-step solutions and answer generation
STEM Technical questions across scientific disciplines
Python Implementation tasks, reasoning, and complete code
Software security Debugging, vulnerability analysis, and repair trajectories
Tool use Multi-turn conversations with structured tool calls and responses

The dataset is designed as quality-first training data with complete answers, rich reasoning signals, and broad difficulty coverage.

Format

Each line in gpt_5_6_luna.jsonl is one JSON object:

{
  "name": "gpt 5.6 luna",
  "messages": [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Solve the problem..."},
    {"role": "assistant", "content": "Here is the solution..."}
  ],
  "topic_summary": "Mathematics: probability and Markov chains",
  "metadata": {}
}

Tool-enabled examples may also contain a top-level tools array and messages with tool_calls or the tool role.

Core fields

Field Type Description
name string Dataset label, always gpt 5.6 luna
messages list Ordered Hugging Face chat messages
topic_summary string Compact topic description for the row
tools list, optional Original tool definitions
metadata object, optional Additional build and example metadata

Load with 🤗 Datasets

from datasets import load_dataset

dataset = load_dataset(
    "json",
    data_files="gpt_5_6_luna.jsonl",
    split="train",
)

print(dataset)
print(dataset[0]["topic_summary"])
print(dataset[0]["messages"])

After uploading this folder to the Hub:

from datasets import load_dataset

dataset = load_dataset("YOUR_USERNAME/gpt-5.6-luna", split="train")

Use with a chat template

from transformers import AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("YOUR_BASE_MODEL")

rendered = tokenizer.apply_chat_template(
    dataset[0]["messages"],
    tokenize=False,
    add_generation_prompt=False,
)

Chat templates differ across model families. Inspect tool-enabled records before training and ensure the selected tokenizer supports their tool-call representation.

Topic summaries

topic_summary values are generated locally with deterministic, extractive rules. Existing subject, topic, domain, function name, dataset origin, and user-request fields are preferred in that order. No external model or API is required, making the build reproducible.

These summaries are intended for navigation and coarse filtering rather than as ground-truth taxonomy labels.

Processing

The included streaming converter:

  • normalizes every example into a shared messages structure;
  • preserves conversations and tool-use structures;
  • converts coding and question-answer rows into user/assistant turns;
  • removes empty trailing trajectory placeholders;
  • retains internal build metadata for every example;
  • writes UTF-8 JSONL atomically without loading the corpus into memory.

Rebuild and validate locally:

python combine_datasets.py --overwrite
python validate_chat_jsonl.py

The current build contains 102,881 valid JSONL rows.

Intended use

Suitable for research and experimentation involving:

  • supervised chat fine-tuning;
  • mathematical and STEM reasoning;
  • Python code generation;
  • multi-turn tool-use behavior;
  • security-repair trajectories;
  • topic-based sampling and curriculum design.

Limitations

  • The corpus is API-generated and quality-focused, but individual answers may still contain errors.
  • Reasoning traces can be verbose, inconsistent, or unsuitable for direct production use.
  • Topic summaries are heuristic and may omit nuance.
  • Domains and response styles are unevenly distributed, with mathematics forming the majority.
  • Tool schemas and call formats can vary between examples.
  • No deduplication, decontamination, toxicity audit, or benchmark-overlap analysis is claimed.

Users should evaluate data quality, safety, and fitness for their specific model and deployment context.

Generation

GPT 5.6 Luna was independently generated by the dataset creator using paid OPENAI API inference. The total API generation cost was $164. The resulting conversations were processed, normalized, and validated as a quality-focused chat training corpus.


Built as one clean dataset gen by GPT 5.6 Luna.

Downloads last month
373