Dataset Viewer
Auto-converted to Parquet Duplicate
id
large_stringlengths
16
32
split
large_stringclasses
1 value
messages
large_stringlengths
671
42.5k
tools
large_stringclasses
167 values
sampling_weight
float64
1
1
source
large_stringclasses
32 values
domain
large_stringclasses
16 values
teacher_model
large_stringclasses
3 values
trace_kind
large_stringclasses
3 values
n_tool_calls
int64
0
13
00027d004282ac60faef6d0985a483b3
train
[{"content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion step by step.]\n</think>\n\n[Clea...
[]
1
ARC-Easy
reasoning
qwen3.8-max-preview
single_turn
0
0003b1c72f9d1cc94bbbd6f2fa360975
train
[{"content": "You are a helpful, precise assistant. Follow instructions exactly.\n\nFormat your response as:\n<think>\n[Understand what is being asked. Identify constraints and requirements.\nPlan your response structure.]\n</think>\n\n[Your complete, well-structured response following all given constraints]", "name": ...
[]
1
tulu-3
instruction
qwen3.8-max-preview
single_turn
0
0006285035c8f96d854244e13595a369
train
[{"content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion step by step.]\n</think>\n\n[Clea...
[]
1
CommonsenseQA
reasoning
qwen3.8-max-preview
single_turn
0
00066db2ae50d923
train
[{"content": "Follow every constraint exactly. When a task is satisfiable, emit only the requested form; when it is contradictory, abstain and identify the contradiction.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_calls": [], "trainable": false}, {"content": "Synthetic task seed ...
[]
1
k3_strict_instruction
strict_instruction
kimi-code/k3
single_turn
0
000710d771ae7903c00ae72e6d5829e4
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
MetaMathQA
math
qwen3.8-max-preview
single_turn
0
00075a2060da00a97139e1a8c55a9072
train
[{"content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion step by step.]\n</think>\n\n[Clea...
[]
1
SciQ
reasoning
qwen3.8-max-preview
single_turn
0
000a72755abd88472961d104bedae058
train
[{"content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion step by step.]\n</think>\n\n[Clea...
[]
1
SciQ
reasoning
qwen3.8-max-preview
single_turn
0
000b42533dfcdad910f05145c0764595
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
OrcaMath
math
qwen3.8-max-preview
single_turn
0
000c5ebfab11a439cc2b972d05b46495
train
[{"content": "You are a careful deterministic workspace assistant. The workspace and local corpus described by the user are synthetic ephemeral fixtures, not the user's live files or live services. Solve the task by using the provided tools through native OpenAI function calling (the assistant message must contain a to...
[{"function": {"description": "Execute Python code in a sandboxed environment and return stdout/stderr.", "name": "run_python", "parameters": {"properties": {"code": {"description": "Python code to execute", "type": "string"}}, "required": ["code"], "type": "object"}}, "type": "function"}, {"function": {"description": ...
1
glm5.2-agent-tool-synthetic
agent_tool
glm-5.2
multi_turn_tool
5
0013bd4d77e55d169f53707ace74a55e
train
[{"content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion step by step.]\n</think>\n\n[Clea...
[]
1
OpenBookQA
reasoning
qwen3.8-max-preview
single_turn
0
0014b9634d84248a49f3b3f200d7cd0e
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
Evol-Code
code
qwen3.8-max-preview
single_turn
0
001578e6dbc00def788803e9c5f0b87a
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
MetaMathQA
math
qwen3.8-max-preview
single_turn
0
0016e51ad7645c9fd171e612d7889119
train
[{"content": "You are a careful deterministic workspace assistant. The workspace and local corpus described by the user are synthetic ephemeral fixtures, not the user's live files or live services. Solve the task by using the provided tools through native OpenAI function calling (the assistant message must contain a to...
[{"function": {"description": "Search for files matching a pattern or containing a text pattern.", "name": "search_files", "parameters": {"properties": {"path": {"default": ".", "description": "Directory to search in", "type": "string"}, "pattern": {"description": "Search pattern (glob or text)", "type": "string"}}, "r...
1
glm5.2-agent-tool-synthetic
agent_tool
glm-5.2
multi_turn_tool
4
001e4b1b75ae256596d5d9e6558bfdc9
train
[{"content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion step by step.]\n</think>\n\n[Clea...
[]
1
QASC
reasoning
qwen3.8-max-preview
single_turn
0
001ecf012864e5edf330f2ae6731c2ba
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
MetaMathQA
math
qwen3.8-max-preview
single_turn
0
001f85ef56d9238365791abce64d7b57
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
Evol-Code
code
qwen3.8-max-preview
single_turn
0
001fd1df5bfac8955be03c63a5dc8ed1
train
[{"content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion step by step.]\n</think>\n\n[Clea...
[]
1
CommonsenseQA
reasoning
qwen3.8-max-preview
single_turn
0
00208da0bd70e1d9a4a706a051f07c02
train
[{"content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion step by step.]\n</think>\n\n[Clea...
[]
1
SciQ
reasoning
qwen3.8-max-preview
single_turn
0
0022726714f83b06001ae853f8a77bce
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
Evol-Code
code
qwen3.8-max-preview
single_turn
0
0022d4531e495ecdb14f54fbdbf5329d
train
[{"content": "You are a helpful, precise assistant. Follow instructions exactly.\n\nFormat your response as:\n<think>\n[Understand what is being asked. Identify constraints and requirements.\nPlan your response structure.]\n</think>\n\n[Your complete, well-structured response following all given constraints]", "name": ...
[]
1
tulu-3
instruction
qwen3.8-max-preview
single_turn
0
0023e04b0cf0ca558b2e42927f4d38c6
train
[{"content": "You are a helpful, precise assistant. Follow instructions exactly.\n\nFormat your response as:\n<think>\n[Understand what is being asked. Identify constraints and requirements.\nPlan your response structure.]\n</think>\n\n[Your complete, well-structured response following all given constraints]", "name": ...
[]
1
tulu-3
instruction
qwen3.8-max-preview
single_turn
0
0024d4fbb5c8a867b91359d2861c2954
train
[{"content": "You are a careful deterministic workspace assistant. The workspace and local corpus described by the user are synthetic ephemeral fixtures, not the user's live files or live services. Solve the task by using the provided tools through native OpenAI function calling (the assistant message must contain a to...
[{"function": {"description": "Apply a transformation to JSON data (filter, map, reduce, restructure).", "name": "json_transform", "parameters": {"properties": {"input_path": {"description": "Path to input JSON file", "type": "string"}, "operation": {"description": "Operation: filter, map, reduce, restructure, merge", ...
1
glm5.2-agent-tool-synthetic
agent_tool
glm-5.2
multi_turn_tool
4
0024e78bbff47ae24020a9eb2310cbe2
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
Evol-Code
code
qwen3.8-max-preview
single_turn
0
00262645ccdee7c9d695b1846115bb4f
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
CodeAlpaca
code
qwen3.8-max-preview
single_turn
0
00275c52486af3f9e80b9bc3831664d1
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
Evol-Code
code
qwen3.8-max-preview
single_turn
0
0028216a6c254000432af09df9496544
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
MetaMathQA
math
qwen3.8-max-preview
single_turn
0
00282bc41de80d0f8f4c76ec4864a713
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
MetaMathQA
math
qwen3.8-max-preview
single_turn
0
002976e444f8ae6b253f1981baaed909
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
CodeAlpaca
code
qwen3.8-max-preview
single_turn
0
0029fd6270a92bd8291ebbf261331791
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
MetaMathQA
math
qwen3.8-max-preview
single_turn
0
002b6bc0b6b859db1d9381d495419eed
train
[{"content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion step by step.]\n</think>\n\n[Clea...
[]
1
ARC-Easy
reasoning
qwen3.8-max-preview
single_turn
0
002bcc1c79d8e203014625c6a87a48cc
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
OrcaMath
math
qwen3.8-max-preview
single_turn
0
002bf28a9f06354b871844a9d729716e
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
Evol-Code
code
qwen3.8-max-preview
single_turn
0
002bff538dc0eab6aec47e59b8144975
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
MetaMathQA
math
qwen3.8-max-preview
single_turn
0
002eb74ef7908233dcca783bf71827a5
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
MetaMathQA
math
qwen3.8-max-preview
single_turn
0
002ec957ee6572a1864fcd26622d6854
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
OrcaMath
math
qwen3.8-max-preview
single_turn
0
0031cd8b0381ea25d0de02b5397ee08a
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
Evol-Code
code
qwen3.8-max-preview
single_turn
0
003252f80d6c584344d2af727c6b8a3e
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
OrcaMath
math
qwen3.8-max-preview
single_turn
0
0032ab30a6e16cc6fbd7eceddb168c32
train
[{"content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion step by step.]\n</think>\n\n[Clea...
[]
1
SciQ
reasoning
qwen3.8-max-preview
single_turn
0
0033c30531600ce21ba91bfbb706bc8c
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
CodeAlpaca
code
qwen3.8-max-preview
single_turn
0
00343d4aa1a781f418454cc064dbffef
train
[{"content": "You are a careful deterministic workspace assistant. The workspace and local corpus described by the user are synthetic ephemeral fixtures, not the user's live files or live services. Solve the task by using the provided tools through native OpenAI function calling (the assistant message must contain a to...
[{"function": {"description": "Read the contents of a file at the given path. Returns the file content as a string.", "name": "read_file", "parameters": {"properties": {"path": {"description": "Absolute or relative file path", "type": "string"}}, "required": ["path"], "type": "object"}}, "type": "function"}, {"function...
1
glm5.2-agent-tool-synthetic
agent_tool
glm-5.2
multi_turn_tool
6
0034f1f8cbfd917365d3a3ed979c6315
train
[{"content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion step by step.]\n</think>\n\n[Clea...
[]
1
QASC
reasoning
qwen3.8-max-preview
single_turn
0
0035a1f17bca61828450dae15019bcdc
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
MetaMathQA
math
qwen3.8-max-preview
single_turn
0
003845ae689566ee581132534764a73f
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
MATH/prealgebra
math
qwen3.8-max-preview
single_turn
0
003a813c8c1819fb4992bbe874c5af40
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
Evol-Code
code
qwen3.8-max-preview
single_turn
0
003b7533612e3fd36ac8c25aab9c1c53
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
CodeAlpaca
code
qwen3.8-max-preview
single_turn
0
003f3a2d56d0071b3b584315aa860ee6
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
Evol-Code
code
qwen3.8-max-preview
single_turn
0
003fb20270bacaee3926bb98aa7154d5
train
[{"content": "You are a helpful, precise assistant. Follow instructions exactly.\n\nFormat your response as:\n<think>\n[Understand what is being asked. Identify constraints and requirements.\nPlan your response structure.]\n</think>\n\n[Your complete, well-structured response following all given constraints]", "name": ...
[]
1
tulu-3
instruction
qwen3.8-max-preview
single_turn
0
004267792b470382c847718bc309d5ff
train
[{"content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear statement of the final answer.]\...
[]
1
MATH/algebra
math
qwen3.8-max-preview
single_turn
0
00435c20dc1c69c6dd67bf1ab805668f
train
[{"content": "You are a careful deterministic workspace assistant. The workspace and local corpus described by the user are synthetic ephemeral fixtures, not the user's live files or live services. Solve the task by using the provided tools through native OpenAI function calling (the assistant message must contain a to...
[{"function": {"description": "Search for files matching a pattern or containing a text pattern.", "name": "search_files", "parameters": {"properties": {"path": {"default": ".", "description": "Directory to search in", "type": "string"}, "pattern": {"description": "Search pattern (glob or text)", "type": "string"}}, "r...
1
glm5.2-agent-tool-synthetic
agent_tool
glm-5.2
multi_turn_tool
4
0043d68d20f4a595fc689e6908d85236
train
[{"content": "You are an expert software engineer. Write complete, correct, runnable code in the language requested by the user. Follow the requested language, interface, and constraints. Explain the approach briefly when requested.", "name": "", "reasoning_content": "", "role": "system", "tool_call_id": "", "tool_call...
[]
1
Evol-Code
code
qwen3.8-max-preview
single_turn
0
End of preview. Expand in Data Studio

🧠 Qwen-GLM-Kimi Distillation Clean

RACER IS OP

A rigorously cleaned, finetuning-ready multi-teacher SFT corpus distilled from Qwen3.8-Max, GLM-5.2 and Kimi K3 — deduped, length-filtered and normalized for SFT with assistant-only loss.

Priorities: Quality > Cleanliness > Signal

📊 Dataset Overview

Property Value
Total Records 57,064
Train Split 51,417 (90.1%)
Validation Split 2,833 (5.0%)
Test Split 2,814 (4.9%)
Teachers 3 (Qwen3.8-Max 47,595 / GLM-5.2 5,307 / Kimi K3 3,653)
Source Dataset r0b0tlab/qwen3.8-max-glm5.2-kimi-k3-distillation (57,937 traces)
Cleaned Version v1.0-clean (2026-08-22)
License other (inherits heterogeneous upstream + Alibaba Cloud Model Studio §4.48(d)(v))

📦 Formats Available

This dataset is available in 8 view configs — pick what your trainer needs:

Config Rows Description
sft (default) 57,064 ShareGPT-style messages with reasoning_content + tool_calls + trainable — ready for TRL/Axolotl with collators/assistant_only.py
openai_messages 57,064 OpenAI Chat format — reasoning merged as <think>...</think> in assistant content, vanilla apply_chat_template works
prompt_completion_text 49,565 Single-turn prompt / completion (+ prompt_with_system) for base-model SFT
canonical_clean 57,064 Full audit columns (messages_json, tools_json, domain, format_score, etc.)
sft_tools 5,871 Tool/agent traces only (n_tool_calls>0)
sft_math 14,935 Math specialist (math + math_formal)
sft_code 14,472 Code specialist (code + executable_code)
sft_reasoning 10,463 Reasoning specialist

All splits are template-cluster-grouped, deterministic, zero leakage.

🔗 Teachers

Teacher Provider Original Clean Kept Note
Qwen3.8-Max-Preview Alibaba Cloud Model Studio 48,283 47,595 688 long >60k removed
GLM-5.2 Z.AI Coding Plan 5,307 5,307 100% kept (tool traces)
Kimi Code K3 Moonshot AI (Kimi) 4,347 3,653 694 trainable=None + 6 long removed

🧹 Quality Pipeline

Step Removed Reason
Raw canonical (6-shard deduped) 57,937 Zero-leakage canonical (5-shard legacy 47k duplicates ignored)
Deduplication 0 id already unique in 6-shard set
Structural validation 694 trainable=None (K3 synthetic, format_score 1.0, missing reasoning_content structure)
Length filter 179 messages_json > 60k chars (max 241,925 → OOM on 8k context)
Parse check 0 No JSON parse failures
Final clean 57,064 1.5% dropped — see dropped_rows.parquet

Additional normalization:

  • Ensured every message has role, content, reasoning_content, tool_calls, tool_call_id, name, trainable
  • trainable=True only on assistant turns (including tool-calling assistants)
  • Normalized tools list and <think> handling

📈 Quality & Length Distribution

Format score (1-10, 53k scored rows):

Range Count
1.0 694 (removed)
4-5 ~900
6-7 ~12k
7-9 ~18k
9-10 ~22k

Length (chars, clean): mean 3,487 · median 1,967 · p95 10,750 · max 60,000 (capped from 241,925) · est. tokens (chars/3.5) p95 ~3,070

Quality flags retained (not filtered, for sampling):

Flag Count
ground_truth_restored_from_pinned_upstream 2,870
expected_tool_sequence_deviation 241
final_only_instruction 168

🏗️ Domain Composition

Domain Clean Rows %
math + math_formal 14,935 26.2%
code + executable_code 14,472 25.4%
reasoning 10,463 18.3%
instruction (incl. strict/iterative) 7,273 12.7%
agent_tool 5,871 10.3%
grounded_long_context 1,263 2.2%
science_logic_data 844 1.5%
stateful_dialogue + creative + multilingual 1,943 3.4%

📂 Data Fields

sft / sft_* configs

Column Type Description
id string Unique trace id
split string train / validation / test
messages string (JSON) List of {role, content, reasoning_content, tool_calls, tool_call_id, name, trainable}
tools string (JSON) List of tool definitions (for agent traces)
sampling_weight float Rebalanced weight for WeightedRandomSampler
source string Source family (e.g. Evol-Code, MetaMathQA)
domain string Normalized domain
teacher_model string qwen3.8-max-preview / glm-5.2 / kimi-code/k3
trace_kind string single_turn / multi_turn / multi_turn_tool
n_tool_calls int Number of tool calls

openai_messages

Column Type Description
messages string (JSON) OpenAI [{role, content, tool_calls?}] — reasoning merged as <think>…</think>
tools string (JSON) Tool definitions

prompt_completion_text

Column Type Description
prompt string User prompt
completion string <think>reasoning</think>\n\nanswer
prompt_with_system string System + prompt

🎯 Usage

With Hugging Face Datasets

from datasets import load_dataset
import json

# Default SFT (with reasoning_content)
ds = load_dataset("saidutta69/qwen-glm-kimi-distillation-clean", "sft", split="train")
print(ds[0]["messages"][:500])
msgs = json.loads(ds[0]["messages"])
tools = json.loads(ds[0]["tools"])

# OpenAI merged format — works with vanilla chat templates
ds2 = load_dataset("saidutta69/qwen-glm-kimi-distillation-clean", "openai_messages", split="train")

# Filter specialists
math = load_dataset("saidutta69/qwen-glm-kimi-distillation-clean", "sft_math", split="train")
tools_only = load_dataset("saidutta69/qwen-glm-kimi-distillation-clean", "sft_tools", split="train")

With Axolotl

datasets:
  - path: saidutta69/qwen-glm-kimi-distillation-clean
    type: chat_template  # or sharegpt
    chat_template: qwen2
    config: sft
    split: train

With TRL + Assistant-Only Collator

from transformers import AutoTokenizer, AutoModelForCausalLM
from datasets import load_dataset
import json
from collators.assistant_only import SemanticAssistantCollator

tok = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-7B-Instruct")
model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B-Instruct")

ds = load_dataset("saidutta69/qwen-glm-kimi-distillation-clean", "sft")

def format_fn(ex):
    msgs = json.loads(ex["messages"])
    # collator handles masking; here just render
    return {"text": tok.apply_chat_template(msgs, tokenize=False)}

train_ds = ds["train"].map(format_fn)

from trl import SFTTrainer, SFTConfig
args = SFTConfig(max_seq_length=8192, per_device_train_batch_size=2, gradient_accumulation_steps=4)
trainer = SFTTrainer(model, args, train_dataset=train_ds, formatting_func=lambda x: x["text"],
                     data_collator=SemanticAssistantCollator(tok, max_length=8192))
trainer.train()

With LLaMA-Factory / Unsloth

from unsloth import FastLanguageModel
model, tok = FastLanguageModel.from_pretrained("unsloth/Qwen2.5-7B-Instruct", max_seq_length=8192)
# then load sft or openai_messages as above

🏗️ Chain-of-Thought (CoT)

  • sft config: keeps reasoning_content separate + content as final answer. Use collators/assistant_only.py which merges via adapters/semantic_labels.py into <think> + answer with correct labels=-100 masking.
  • openai_messages config: already merged as <think>reasoning</think>\n\nanswer — no custom collator needed, standard apply_chat_template works.

⚠️ Limitations & Terms

  • License other: heterogeneous upstream (CC BY-NC-SA 4.0, CC BY-NC 3.0, CC BY-SA 3.0, CC BY 4.0, MIT, Apache 2.0, ODC-BY) + Alibaba Cloud Model Studio §4.48(d)(v) restricts using outputs to train competing products without authorization. Noncommercial research only until rights reviewed. This clean inherits same limits — no new rights granted.
  • Contamination: contains benchmark-derived items (GSM8K, MATH, HumanEval, MBPP, ARC, SciQ, QASC, OpenBookQA). Validation/test splits are not uncontaminated eval — use fresh tasks for claims.
  • Long context: max 60k chars (~17k tokens). For 8k models, SemanticAssistantCollator will raise on truncation — filter or chunk via max_length.

See CLEANING_REPORT.md, LICENSE, PROVENANCE.md (from original) for full details.

📜 Citation

@dataset{qwen-glm-kimi-distillation-clean-2026,
  title={Qwen-GLM-Kimi Distillation Clean: Finetuning-Ready Clean of Qwen3.8-Max / GLM-5.2 / Kimi K3 Distillation},
  author={Sai Dutta Abhishek Dash (clean) and r0b0tlab (original)},
  year={2026},
  publisher={Hugging Face},
  url={https://huggingface.co/datasets/saidutta69/qwen-glm-kimi-distillation-clean}
}

Original: r0b0tlab/qwen3.8-max-glm5.2-kimi-k3-distillation — please cite both.

📁 Files

data/
  sft/{train,validation,test}.parquet              # 51,417 / 2,833 / 2,814
  openai_messages/{...}                            # merged <think>
  prompt_completion_text/{...}                     # 49,565 single-turn
  canonical_clean/{...}                            # full audit cols
  sft_tools/{...}                                  # 5,871 tool traces
  sft_math/{...} · sft_code/{...} · sft_reasoning/{...}
collators/assistant_only.py                        # fail-closed assistant-only masking
collators/weighted_sampler.py                      # WeightedRandomSampler helper
adapters/semantic_labels.py
curriculum_stages_clean.json
CLEANING_REPORT.md
dropped_rows.parquet                               # 873 removed rows

Questions? Open a Discussion.

Downloads last month
133