File size: 4,692 Bytes
460c349
 
 
29cac77
 
 
 
 
 
460c349
29cac77
 
 
 
 
460c349
29cac77
 
 
 
18faf00
 
 
 
 
 
 
 
 
 
 
460c349
18faf00
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
dataset_info:
  features:
  - name: id
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  splits:
  - name: train
    num_bytes: 37238584810
    num_examples: 12500000
  download_size: 71279711002
  dataset_size: 37238584810
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
license: cc-by-4.0
language:
- en
tags:
- code
- synthetic
- instruction-tuning
task_categories:
- text-generation
size_categories:
- 10M<n<100M
---

# ultimate-code

## Dataset Description

ultimate-code is a derived dataset built by combining and processing data from
[`nvidia/OpenCodeInstruct`](https://huggingface.co/datasets/nvidia/OpenCodeInstruct) and
[`nvidia/OpenCodeGeneticInstruct`](https://huggingface.co/datasets/nvidia/OpenCodeGeneticInstruct).
It can be used to fine-tune LLMs for coding tasks.

> **Tokenized variant available:** a pre-tokenized version of this dataset is available at
> [`CodeForCodersYT/ultimate-code-tokenized`](https://huggingface.co/datasets/CodeForCodersYT/ultimate-code-tokenized).
> <!-- TODO: Link/Repo-Namen prüfen und ggf. anpassen, falls der Name der tokenisierten Variante anders lautet. -->
> Use that version if you want ready-to-train tokenized sequences instead of raw text.

## Source Datasets & Attribution

This dataset is derived from the following NVIDIA datasets, both released under the
**Creative Commons Attribution 4.0 International License (CC BY 4.0)**:

| Source Dataset | Owner | License | Link |
|---|---|---|---|
| OpenCodeInstruct | NVIDIA Corporation | CC BY 4.0 | https://huggingface.co/datasets/nvidia/OpenCodeInstruct |
| OpenCodeGeneticInstruct | NVIDIA Corporation | CC BY 4.0 | https://huggingface.co/datasets/nvidia/OpenCodeGeneticInstruct |

Both source datasets are copyright © NVIDIA Corporation and are licensed under CC BY 4.0
([full license text](https://creativecommons.org/licenses/by/4.0/legalcode)).

### Modifications made to the original data

- Both source datasets were merged into a single unified schema.
- Only the `id`, `input`, and `output` columns were kept; all other columns from the original
  datasets (e.g. `domain`, `generation_algorithm`, `llm_judgement`, `unit_tests`,
  `tests_execution_status`, `average_test_score`) were dropped.
- No additional filtering, deduplication, or reformatting was applied beyond the column selection.

## Dataset Structure

| Field | Type | Description |
|---|---|---|
| `id` | string | Unique identifier for each example |
| `input` | string | The coding question / prompt |
| `output` | string | The corresponding solution / response |


## How to Use

```python
from datasets import load_dataset

ds = load_dataset("CodeForCodersYT/ultimate-code", split="train")
```

For a pre-tokenized version ready for training pipelines, see
[`CodeForCodersYT/ultimate-code-tokenized`](https://huggingface.co/datasets/CodeForCodersYT/ultimate-code-tokenized) instead.

## License

This dataset is released under **CC BY 4.0** (https://creativecommons.org/licenses/by/4.0/legalcode),
consistent with the license of the source datasets. If you use this dataset, please provide
attribution to both this dataset and the original NVIDIA source datasets as described above.

## Ethical Considerations

This dataset inherits ethical considerations from its source data. As noted by NVIDIA for the
original datasets: users are responsible for checking that the dataset and license are fit for
their intended purpose, and should evaluate the resulting models for their specific use case and
industry requirements before deployment.

## Citation

If you use this dataset, please cite both the original source datasets and this dataset.

**OpenCodeInstruct:**

```bibtex
@article{ahmad2025opencodeinstruct,
      title={OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMs},
      author={Wasi Uddin Ahmad and Aleksander Ficek and Mehrzad Samadi and Jocelyn Huang and Vahid Noroozi and Somshubra Majumdar and Boris Ginsburg},
      year={2025},
      eprint={2504.04030},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2504.04030},
}
```

**OpenCodeGeneticInstruct:**

```bibtex
@misc{nvidia_opencodegeneticinstruct,
      title={OpenCodeGeneticInstruct},
      author={NVIDIA Corporation},
      year={2025},
      url={https://huggingface.co/datasets/nvidia/OpenCodeGeneticInstruct},
}
```

**This dataset:**

```bibtex
@misc{ultimate_code_2026,
      title={ultimate-code: A Merged Instruction-Tuning Dataset for Code LLMs},
      author={CodeForCodersYT},
      year={2026},
      url={https://huggingface.co/datasets/CodeForCodersYT/ultimate-code},
}
```