File size: 9,238 Bytes
1bcc2c7
b632932
 
 
 
 
338db84
252c824
 
1bcc2c7
338db84
b632932
 
338db84
 
 
b632932
338db84
b632932
2c18f02
 
338db84
2c18f02
 
 
338db84
 
2a7fe68
 
338db84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2c18f02
338db84
2c18f02
 
 
338db84
b632932
338db84
 
 
b632932
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
338db84
 
 
 
 
b632932
 
 
338db84
b632932
338db84
2c18f02
 
338db84
b632932
338db84
 
 
b632932
 
 
 
 
338db84
b632932
 
 
 
2c18f02
b632932
338db84
b632932
 
 
338db84
b632932
338db84
b632932
338db84
b632932
338db84
2c18f02
338db84
2c18f02
338db84
 
 
 
2c18f02
338db84
2c18f02
338db84
 
 
 
b632932
 
338db84
 
 
 
 
 
 
 
 
b632932
338db84
 
 
b632932
338db84
 
b632932
338db84
 
b632932
 
338db84
 
 
b632932
 
338db84
b632932
 
338db84
b632932
338db84
b632932
338db84
b632932
338db84
b632932
338db84
b632932
338db84
b632932
338db84
b632932
338db84
b632932
338db84
 
 
 
 
 
 
 
 
 
 
b632932
338db84
b632932
338db84
 
 
b632932
 
338db84
b632932
 
338db84
 
 
 
 
 
 
 
 
 
 
 
 
 
b632932
 
338db84
 
 
 
 
b632932
338db84
 
 
 
 
 
 
b632932
338db84
 
 
 
 
b632932
338db84
b632932
338db84
b632932
338db84
b632932
338db84
b632932
 
 
338db84
 
 
 
 
 
 
 
 
 
0e7f3c1
 
338db84
 
 
 
53feef4
338db84
 
 
cc0b56d
338db84
 
 
 
 
 
 
 
2c18f02
338db84
2c18f02
338db84
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
---
task_categories:
- text-generation
language:
- pt
- en
pretty_name: Delta Dataset
tags:
- deltaset-derived
---

# The Delta Dataset V2

**The Delta Dataset** is a collaborative, open-source dataset created to help build and improve the next generation of AI models.

The project is developed by **Pyra Labs** and can be used to train and fine-tune Delta models, as well as other AI models and projects.

Rather than being limited to a single model or architecture, the goal of The Delta Dataset is to provide an open space where people can create, share, improve, and reuse high-quality training data.

---

## Language

This README is currently available in English and Portuguese.

**[English](README.md)** · **[Português (Brasil)](README_PT-BR.md)**

> **Quer ler este README em português?**
> [Leia o README em português.](README_PT-BR.md)

---

## About the Dataset

The Delta Dataset is designed as a **community-driven dataset for AI training**.

Anyone can contribute examples covering subjects such as:

* Programming
* Mathematics
* Science
* History
* Geography
* Languages
* Reasoning
* General knowledge
* Conversations
* Creative writing
* Explanations
* Tool usage
* And other useful AI training tasks

The dataset is intended to grow continuously through community contributions.

Pyra Labs uses The Delta Dataset as part of its own model development, but the dataset is not restricted to Pyra Labs models. Other researchers, developers, and AI projects are free to use it according to the license.

---

# Deltaset

**Deltaset** is the original text-based data format created for The Delta Dataset.

It represents conversational training examples using special tokens:

```dataset-deltaset.txt
[SYS] You are Delta Ultra Mini.
[SEP]

[USR] What is Python?
[SEP]

[ASS] Python is a high-level programming language...
[SEP]
```

The format separates different parts of a conversation using tokens such as:

* `[SYS]` — System instruction
* `[USR]` — User message
* `[ASS]` — Assistant response
* `[SEP]` — Separator between sections

Deltaset was designed to be simple, readable, and easy to create manually.

---

# V2 Format

The second version of The Delta Dataset introduces a structured **JSONL** format.

Instead of representing examples using special tokens, each example is stored as a JSON object containing four fields:

```json
{
  "system": "...",
  "user": "...",
  "think": "...",
  "bot": "..."
}
```

### Fields

* `system` — Optional system instruction that defines the assistant's behavior or context.
* `user` — The user's message or request.
* `think` — Optional reasoning content associated with the response.
* `bot` — The assistant's final response.

The `system` and `think` fields can be `null` when they are not present.

The `user` and `bot` fields are required.

---

## Example with system instruction and reasoning

````json
{
  "system": "You are Delta, a helpful and technical programming assistant. Explain programming concepts clearly, write functional code, follow good practices, and adapt to the requested language. When errors occur, identify the cause and provide an objective correction.",
  "user": "How do I make a loop that prints the numbers from 1 to 10 in Python?",
  "think": "The task asks for a simple repetition example. In Python, range(1, 11) generates the values from 1 to 10 because the ending value is not included. I will show a short and functional for loop.",
  "bot": "You can use a `for` loop with `range()`:\n\n```python\nfor i in range(1, 11):\n    print(i)\n```\n\n`range(1, 11)` starts at 1 and stops before 11, so it prints the numbers from 1 to 10."
}
````

---

## Example without system instruction or reasoning

Not every example requires a system instruction or reasoning field.

In these cases, the corresponding fields can be set to `null`:

```json
{
  "system": null,
  "user": "Hi :)",
  "think": null,
  "bot": "Hi! How are you doing?"
}
```

---

# JSONL Structure

The Delta Dataset V2 uses **JSON Lines (JSONL)**.

Each training example is an independent JSON object. In the actual dataset, each object is stored on its own line.

For example:

```json
{"system":null,"user":"Hi :)","think":null,"bot":"Hi! How are you doing?"}
{"system":"You are Delta, a helpful programming assistant.","user":"How do I make a loop in Python?","think":"The user needs a basic Python loop example.","bot":"You can use a `for` loop with `range()`."}
```

This structure allows examples to be processed independently and makes the dataset suitable for streaming, preprocessing, filtering, and large-scale training pipelines.

Alternatively, a complete example can be written on a single line without unnecessary formatting:

```json
{"system":"You are Delta, a helpful and technical programming assistant. Explain programming concepts clearly and write functional code.","user":"How do I make a loop that prints the numbers from 1 to 10 in Python?","think":"The task asks for a simple repetition example using a Python for loop.","bot":"You can use a `for` loop with `range()` to print the numbers from 1 to 10."}
```

---

# From V1 to V2

V2 changes the internal representation of dataset examples while keeping the main purpose of the project the same.

### V1

The original dataset used the **Deltaset** text format:

```dataset-deltaset.txt
[SYS] You are Delta Ultra Mini.
[SEP]

[USR] What is Python?
[SEP]

[ASS] Python is a programming language...
[SEP]
```

### V2

The dataset now uses structured JSONL:

```json
{"system":"You are Delta Ultra Mini.","user":"What is Python?","think":null,"bot":"Python is a programming language..."}
```

The new structure makes individual fields easier to access programmatically and provides a dedicated field for optional `think` content.

Deltaset remains an important part of the project's history and can still be useful for projects that work with the original format.

---

# Contributing

The Delta Dataset is a collaborative project.

You can contribute by creating high-quality training examples and sharing your datasets with the community.

Contributions can cover many different subjects and formats, as long as they are useful for training AI models.

When creating data, focus on:

* Accuracy
* Clarity
* Usefulness
* Natural language
* Originality
* Consistent formatting
* High-quality responses

Avoid submitting low-quality, duplicated, misleading, or intentionally harmful training data.

---

# What Makes a Good Example?

A useful training example should provide meaningful information to the model.

For example:

```json
{"system":null,"user":"What does a Python function do?","think":null,"bot":"A Python function is a reusable block of code designed to perform a specific task. Functions can receive arguments and return values."}
```

Examples should generally avoid:

* Deliberately false information
* Spam
* Duplicate examples
* Extremely low-effort responses
* Private or sensitive personal information
* Hate or discriminatory content
* Explicit sexual content
* Content promoting harmful or illegal activities
* Data created solely to manipulate or degrade model training

The goal is not simply to increase the number of examples, but to increase the amount of **useful training data**.

---

# Using The Delta Dataset

The Delta Dataset can be used in different AI training and research projects.

Possible uses include:

* Pre-training
* Fine-tuning
* Instruction tuning
* Conversational model training
* Dataset experimentation
* Data preprocessing research
* Evaluation and benchmarking

You are not required to use a Delta model to use the dataset.

The dataset is open-source and intended to be useful beyond the models developed by Pyra Labs.

---

# Pyra Labs and Delta

The Delta Dataset is developed within the ecosystem of **Pyra Labs**.

Pyra Labs uses the dataset to support the development of its AI models, including the Delta family.

However, The Delta Dataset is a separate open-source project with a broader purpose: **building accessible, reusable, community-created training data for AI.**

---

# Community

The project started with a small amount of data, but every dataset has to start somewhere.

If you are reading this and want to help The Delta Dataset grow, create your own datasets, experiment with new examples, and share your work with the community.

You can contribute data, build projects using the dataset, or simply experiment with it and show what you created.

We would love to see what you build with it.

tag: deltaset-derived

---

# License

The Delta Dataset is released under the **Pyra License**.

You are free to use, modify, and redistribute the dataset according to the terms of the license.

See the [LICENSE](LICENSE.md) file for the complete license text.

---

# Vision

The goal of The Delta Dataset is to make high-quality AI training data more open and accessible.

AI development should not depend entirely on closed datasets that only a small number of organizations can access.

By creating an open, collaborative dataset, the community can contribute knowledge, experiment with new ideas, and help build better AI systems together.

**The Delta Dataset is built by the community, for the community.**