File size: 4,469 Bytes
47267e6
95278fc
 
9bbcd2a
95278fc
9bbcd2a
 
 
 
 
 
 
 
 
 
95278fc
 
9bbcd2a
95278fc
9bbcd2a
95278fc
9bbcd2a
 
 
 
47267e6
 
9bbcd2a
 
 
 
 
 
47267e6
9bbcd2a
 
 
 
 
95278fc
 
 
 
 
 
 
 
 
 
98dad9a
95278fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98dad9a
95278fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47267e6
95278fc
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
---
license: apache-2.0
language:
- en
tags:
- distillation
- coding
- agentic
- kimi-k3
- gpt-5.6
- fable-5
- frontier-models
- chatml
- instruction-tuning
- code-generation
pretty_name: Atlas-Frontier-Model-Traces
size_categories:
- 10K<n<100K
task_categories:
- text-generation
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
dataset_info:
  features:
  - name: text
    dtype: string
  - name: system_prompt
    dtype: string
  - name: source_model
    dtype: string
  splits:
  - name: train
    num_bytes: 66731283
    num_examples: 15746
  download_size: 36083093
  dataset_size: 138631283
---

# 🧬 Atlas-Frontier-Model-Traces

A universal ChatML dataset distilling the agentic coding capabilities of frontier models (Kimi-K3, GPT-5.6-Sol, and Fable-5).

---

# Dataset Description

**Atlas-Frontier-Model-Traces** is a meticulously curated dataset containing **15,746 coding and debugging traces** generated by three of the most advanced frontier AI models.

This dataset is designed for **Knowledge Distillation**. By training smaller open-source language models (such as **Qwen, Llama, Mistral, and Gemma**) on the output traces of frontier-scale models, developers can transfer sophisticated coding behaviors into efficient edge-deployable models.

---

# Data Sources

This dataset is created by combining and rigorously cleaning the following public datasets:

- `greghavens/kimi-k3-coding-and-debugging-traces`
- `greghavens/gpt-5.6-sol-coding-and-debugging-traces`
- `greghavens/fable-5-coding-and-debugging-traces`

---

# Dataset Structure

The dataset has been converted into a universal ChatML format compatible with virtually every modern LLM architecture.

| Column | Type | Description |
|---------|------|-------------|
| `text` | string | ChatML conversation containing only user and assistant turns |
| `system_prompt` | string | Suggested system prompt stored separately for easier customization |
| `source_model` | string | Metadata indicating the originating frontier model |

---

# Example Entry

```text
<|im_start|>user
Write a Python function to connect to a PostgreSQL database.
<|im_end|>
<|im_start|>assistant
import psycopg2

def connect_to_db(dbname, user, password, host, port):
    # Function implementation here...
<|im_end|>
```

---

# Data Processing & Cleaning Pipeline

To maximize quality and eliminate schema inconsistencies, the dataset was processed using a robust MLOps pipeline.

- **Pandas Bypass Loading**
  - Loaded raw datasets with Pandas to avoid Hugging Face schema conflicts across repositories.

- **Aggressive Schema Unification**
  - Converted ShareGPT, OpenAI Messages, Prompt/Completion, and other formats into one standardized schema.

- **Quality Filtering**
  - Removed broken samples and assistant responses shorter than 15 characters.

- **Universal ChatML Formatting**
  - Extracted hardcoded system prompts from conversations and stored them in a separate column.

- **Parquet Compression**
  - Reduced over **1 GB** of raw data into a compact **36.1 MB** high-signal Parquet dataset.

---

# How to Use

```python
from datasets import load_dataset

# Load dataset
ds = load_dataset(
    "Siddh07ETH/Atlas-Frontier-Model-Traces",
    split="train"
)

custom_sys_prompt = "You are a helpful coding assistant."

def format_for_training(example):
    return {
        "final_text":
        f"<|im_start|>system\n"
        f"{custom_sys_prompt}"
        f"<|im_end|>\n"
        f"{example['text']}"
    }

ds = ds.map(format_for_training)

print(ds[0]["final_text"])
```

---

# Intended Uses

This dataset is intended for:

- Knowledge Distillation
- Instruction Tuning
- Supervised Fine-Tuning (SFT)
- Coding Assistants
- Agentic Tool Use
- Debugging Models
- Fine-tuning 0.5B–7B parameter language models

Supported architectures include:

- Qwen
- Llama
- Mistral
- Gemma
- Other ChatML-compatible models

---

# Limitations

- Focused exclusively on coding and debugging tasks.
- Does not contain general conversational or multilingual data.
- Optimized for functional code generation and debugging rather than long-form software architecture discussions.

---

# Citation

If you use this dataset in your research or projects, please cite both this dataset and the original source datasets where appropriate.

---

# License

This dataset is distributed under the **Apache 2.0 License**, inheriting the licensing terms of the original source datasets.