ultimate-code-tokenized
收藏资源简介:
ultimate-code是一个用于代码大语言模型指令微调的合成数据集。该数据集通过合并和处理nvidia/OpenCodeInstruct和nvidia/OpenCodeGeneticInstruct两个源数据集构建而成,旨在为编码任务提供高质量的指令-响应对。数据集包含12,500,000个训练样本,总大小约37.2GB。每个样本包含三个字段:id(唯一标识符)、input(编码问题或指令提示)和output(对应的解决方案或模型响应)。数据集采用统一的模式,仅保留了源数据中的这三个核心字段,移除了domain、generation_algorithm等其他列。数据集适用于文本生成任务,特别是代码生成、代码补全和编程问题解答等场景。数据集遵循CC BY 4.0许可证,语言为英语,属于大规模(10M-100M样本)的代码相关合成数据。
ultimate-code is a synthetic dataset for instruction fine-tuning of code large language models. It is constructed by merging and processing two source datasets: nvidia/OpenCodeInstruct and nvidia/OpenCodeGeneticInstruct, aiming to provide high-quality instruction-response pairs for coding tasks. The dataset contains 12,500,000 training samples with a total size of approximately 37.2GB. Each sample includes three fields: id (unique identifier), input (coding problem or instruction prompt), and output (corresponding solution or model response). It adopts a unified schema, retaining only these three core fields from the source data and removing other columns such as domain and generation_algorithm. The dataset is suitable for text generation tasks, particularly code generation, code completion, and programming problem-solving. It follows the CC BY 4.0 license, is in English, and falls into the large-scale (10M-100M samples) category of synthetic code-related data.
数据集概览:ultimate-code-tokenized
该数据集是 CodeForCodersYT/ultimate-code 的一个预分词版本,专为简化训练流程而设计,可直接用于大语言模型的代码任务微调。
数据集来源与构建
- 基础数据集:由两个NVIDIA公开数据集合并处理而成:
nvidia/OpenCodeInstruct(CC BY 4.0)nvidia/OpenCodeGeneticInstruct(CC BY 4.0)
- 处理方式:将两个数据集合并为统一格式,仅保留
id、input、output三个字段,舍弃了domain、generation_algorithm等原始字段;未进行额外的过滤或去重。
数据集结构
| 字段 | 类型 | 说明 |
|---|---|---|
id |
string | 每条样本的唯一标识符 |
input |
string | 编程问题 / 提示 |
output |
string | 对应的解决方案 / 回答 |
规模与划分
- 总样本数:12,500,000 条
- 数据集大小:约 37.24 GB
- 下载大小:约 71.28 GB
- 划分:仅包含
train划分
许可证与语言
- 许可证:CC BY 4.0(与源数据集一致)
- 语言:英语
- 任务类别:文本生成
- 标签:代码、合成数据、指令微调
使用方式
作为预分词版本,可直接集成到训练流水线中,无需额外分词处理。
注意事项
- 数据集继承源数据集的伦理考量,使用者需自行评估其适用性与合规性。
- 使用时需同时标注对本数据集及原始NVIDIA数据集的引用。




