thinking-rollouts
收藏资源简介:
thinking-rollouts数据集是一个专注于代码生成和推理任务的数据集,包含从思维链(chain-of-thought)模型在DS-1000和LiveCodeBench基准测试上生成的未经约束的rollout数据。数据以原始形式保存,完整记录了模型的思维过程(即推理链)和最终答案。数据集采用Hive分区Parquet格式存储,路径结构为`rollouts/domain=<dataset>/model=<tag>/temp=<temp>/data.parquet`,其中模型标签(如`qwen3-8b-think`和`qwen3-1.7b-nothink`)已整合了思维模式信息,每个实例包含100个样本。数据列包括模型、思维模式、温度、数据集、实例ID、样本、库或难度、原始文本(含完整思维输出)、推理文本、答案文本、提取的代码、完成原因、思维是否闭合、答案是否存在、推理标记数、答案标记数、总标记数、采样参数(JSON格式)以及通过状态。该数据集适用于文本生成任务,特别是代码生成、思维链推理和模型行为分析,旨在支持对模型推理过程的研究和评估。
The thinking-rollouts dataset is a dataset focused on code generation and reasoning tasks, containing unconstrained rollout data generated from chain-of-thought models on the DS-1000 and LiveCodeBench benchmarks. The data is saved in its raw form, fully documenting the models thought process (i.e., reasoning chain) and final answer. The dataset is stored in Hive-partitioned Parquet format, with a path structure of `rollouts/domain=<dataset>/model=<tag>/temp=<temp>/data.parquet`, where model tags (e.g., `qwen3-8b-think` and `qwen3-1.7b-nothink`) incorporate thinking mode information, and each instance contains 100 samples. The data columns include model, thinking mode, temperature, dataset, instance ID, sample, library or difficulty, raw text (including full thought output), reasoning text, answer text, extracted code, completion reason, whether thinking is closed, whether answer exists, reasoning token count, answer token count, total token count, sampling parameters (in JSON format), and pass status. This dataset is suitable for text generation tasks, particularly code generation, chain-of-thought reasoning, and model behavior analysis, aiming to support research and evaluation of model reasoning processes.
数据集:thinking-rollouts
该数据集包含了来自思维链(Chain-of-Thought)模型在 DS-1000 和 LiveCodeBench 两个基准上的无约束 rollout 结果。CoT 内容与最终答案一并逐字保存。
- 任务类别:文本生成 (text-generation)
- 领域标签:代码生成、推理、DS-1000、LiveCodeBench、Qwen3
- 许可证:MIT
数据集结构与配置
数据集包含两个配置,分别对应不同数据来源,均以 Parquet 格式存储。
| 配置名称 | 数据路径 | 说明 |
|---|---|---|
rollouts-ds1000 |
rollouts/domain=ds1000/**/*.parquet |
来自 DS-1000 数据集的数据 |
rollouts-livecodebench |
rollouts/domain=livecodebench/**/*.parquet |
来自 LiveCodeBench 数据集的数据 |
数据采用 Hive 分区格式,路径结构如下:
rollouts/domain=<数据集>/model=<模型标签>/temp=<温度>/data.parquet
其中 thinking_mode 已合并到模型标签中,例如 qwen3-8b-think 或 qwen3-1.7b-nothink。每个实例包含 100 个采样。
数据列及说明
每条记录包含以下字段:
| 列名 | 类型/说明 |
|---|---|
model |
模型名称 |
thinking_mode |
是否使用思维链模式 |
temp |
采样温度 |
dataset |
数据集名称 (ds1000 / livecodebench) |
instance_id |
实例唯一标识 |
sample |
采样序号 |
| `library | difficulty` |
raw_text |
完整输出文本(包含 <think> 标签) |
reasoning_text |
仅推理部分的文本 |
answer_text |
仅答案部分的文本 |
extracted_code |
从输出中提取的代码 |
finish_reason |
生成结束原因 |
thinking_closed |
思维链是否闭合 |
answer_present |
答案是否存在 |
n_reasoning_tokens |
推理部分的 token 数量 |
n_answer_tokens |
答案部分的 token 数量 |
n_total_tokens |
总 token 数量 |
sampling_params |
采样参数(JSON 格式) |
passed |
是否通过测试 |
模式说明
该数据集模式是 genlm/rollouts 项目问题 #5 中定义格式的超集,也是 temperature-sweep-data 模式的扩展。




