luau-stack-hq-ChatML
收藏资源简介:
该数据集是对 'khtsly/luau-stack-hq' 的预处理重新包装版本,专注于代码语言模型的预训练。数据集包含 21,704 行数据,采用 JSONL 文件格式,仅包含训练集。每条数据包含一个 'messages' 字段,其中存储了以 ChatML 风格格式包装的 Luau 源代码内容,格式为助理角色的单一消息。数据通过简单的字段提取和包装处理生成,未进行过滤、去重或标准化操作。该数据集适用于需要 ChatML 风格助理消息格式的代码语言模型预训练或继续预训练场景。原始数据来源于 'khtsly/luau-stack-hq' 仓库,本版本由 'YCWTG' 进行格式转换重新包装,使用时应遵守原始数据许可要求。
This dataset is a preprocessed and repackaged iteration of the 'khtsly/luau-stack-hq' repository, designed specifically for pre-training code language models. It contains 21,704 rows of data stored in JSONL file format, and only includes a training split. Each data entry features a 'messages' field, which stores Luau source code content wrapped in ChatML-style format as a single message assigned to the assistant role. The dataset is generated through straightforward field extraction and wrapping procedures, with no filtering, deduplication, or standardization operations conducted. This dataset is suitable for pre-training or continued pre-training scenarios of code language models that require the ChatML-style assistant message format. The original data is sourced from the 'khtsly/luau-stack-hq' repository; this version was format-converted and repackaged by 'YCWTG', and users must comply with the licensing requirements of the original data when utilizing this dataset.
数据集概述:YCWTG/luau-stack-hq-ChatML
基本信息
- 数据集名称:Luau Stack HQ ChatML
- 创建者/维护者:YCWTG
- 语言:代码(Luau)
- 许可证:其他(与上游数据保持一致)
- 任务类别:文本生成
- 数据规模:10K < n < 100K
- 数据行数:21,704
数据内容与结构
- 数据格式:JSONL
- 数据分割:训练集(train)
- 主文件:
train.jsonl - 数据模式:每行数据包含一个字段
"messages",其值为一个列表,列表中包含一个角色为"assistant"的消息对象,消息内容为<luau source code>。 json { "messages": [ {"role": "assistant", "content": "<luau source code>"} ] }
数据处理
- 来源:本数据集是对
khtsly/luau-stack-hq数据集的重新封装,旨在用于预训练。 - 处理流程:
- 读取源文件
/luau-stack.jsonl的每一行JSON数据。 - 提取原始
"code"字段的内容作为"text"。 - 将
"text"包装为{"messages": [{"role": "assistant", "content": text}]}的格式。 - 丢弃所有其他字段。
- 读取源文件
- 处理说明:除字段选择、重命名和包装外,未应用任何过滤、去重或规范化操作。
预期用途
- 本数据集适用于需要ChatML风格助手消息格式的代码语言模型预训练或持续预训练。
加载方式
- 可使用
datasets库加载: python from datasets import load_dataset ds = load_dataset("YCWTG/luau-stack-hq-ChatML", split="train")
来源与归属
- 原始来源仓库:
khtsly/luau-stack-hq - 说明:本数据集是由
YCWTG进行的格式转换重新封装。使用时请引用或注明原始来源仓库。
许可证
- 本重新封装未改变上游数据的许可条款。使用时请审查并遵守原始来源许可证及任何文件级别的许可义务。




