strl-rollouts-Ehotpotqa-4k_ne-Ghf_strl-S42-R0-hec4c658c
收藏资源简介:
该数据集包含用于训练或评估决策模型(特别是基于语言模型的智能体)的交互轨迹数据。数据以序列化形式组织,每条记录代表一个决策步骤或一个完整的交互片段。核心字段包括:状态(state,通常为包含角色和内容的对话历史列表)、动作(action,智能体采取的动作,结构类似状态)、下一观察(next_obs)、奖励(reward)、完成标志(done)、截断标志(truncated)、时间步(timestep)以及用于优势函数估计的返回值(return_)和优势值(advantage)。数据还包含任务定义信息,如系统提示(system_prompt)、工具定义列表(tools,包含类型、名称、描述和参数模式)和任务提示(task_prompt)。此外,字段记录了对话的最终结果(final_outcome)、当前状态(current_state)和完整状态(full_state)。数据集中包含用于标识训练/推理、是否使用上下文学习(is_icl)以及轨迹是否完整(is_complete)的标志。数据集规模为2772个训练样例,适用于强化学习对齐、对话策略优化、工具调用智能体训练等任务,为研究社区提供了结构化的决策过程数据。
This dataset contains interactive trajectory data for training or evaluating decision-making models, particularly language model-based AI Agents. The data is organized in a serialized format, with each record representing a single decision step or a complete interaction segment. Core fields include: state (usually a list of dialogue histories containing roles and content), action (actions taken by the agent, structured similarly to state), next_obs, reward, done flag, truncated flag, timestep, as well as return_ and advantage values for advantage function estimation. The dataset also includes task definition information, such as system_prompt, tools (a list containing type, name, description and parameter schema), and task_prompt. Additionally, fields record the final dialogue outcome (final_outcome), current_state and full_state. Flags are included to indicate the training/inference mode, whether in-context learning is used (is_icl), and whether the trajectory is complete (is_complete). The dataset has 2772 training examples, and is applicable to tasks including reinforcement learning alignment, dialogue strategy optimization, tool-calling AI agent training and other related tasks, providing structured decision-making process data for the research community.
数据集概述
数据集名称:strl-rollouts-Ehotpotqa-4k_ne-Ghf_strl-S42-R0-hec4c658c
数据集描述:该数据集是用于强化学习(特别是STRL算法)的交互式rollout数据,来源于HotpotQA任务,专注于4k长度、负样本(ne)场景。
数据集特征
数据集包含以下特征(共38个字段):
状态与动作
state:对话历史,包含角色(role)和内容(content)的列表。action:当前动作,包含角色和内容的结构化数据。next_obs:下一观测状态,包含角色和内容的列表。
Token与概率
state_action_tokens:状态-动作的token ID列表(int64)。state_len:状态长度(int64)。old_logprobs:旧策略下的对数概率列表(float64)。temperature:采样温度(float64)。
奖励与完成标志
reward:即时奖励(float64)。done:是否完成(bool)。truncated:是否被截断(bool)。
时间步与批次信息
timestep:时间步(int64)。try_step:尝试步数(int64)。batch_id:批次ID(int64)。sample_id:样本ID(int64)。generation_id:生成ID(int64)。split:数据分割标识(string)。
回报与优势
return_:总回报(float64)。advantage:优势函数值(float64)。return_is_computed:回报是否已计算(bool)。advantage_is_computed:优势是否已计算(bool)。constant_reward_group:是否为恒定奖励组(bool)。state_returns:每个状态的回报列表(float64)。state_advantages:每个状态的优势列表(float64)。trajectory_returns:轨迹回报列表(float64)。trajectory_advantages:轨迹优势列表(float64)。
提示与工具
system_prompt:系统提示(string)。tools:可用工具列表,包含类型、名称、描述和参数(结构化)。task_prompt:任务提示(string)。
上下文与最终结果
default_context:默认上下文(null)。current_state:当前状态列表(角色+内容)。final_outcome:最终结果列表(角色+内容)。prior_context:先前上下文(null)。prior_rewards:先前奖励(null)。prior_returns:先前回报(null)。prior_advantages:先前优势(null)。full_state:完整状态列表(角色+内容)。last_state_act_obs:最后状态-动作-观测列表(角色+内容)。
训练与学习标志
is_train:是否训练数据(bool)。is_icl:是否为上下文学习数据(bool)。is_icl_reverse:是否为反向上下文学习数据(bool)。is_complete:是否完整轨迹(bool)。
数据分割
- 训练集:共包含 4580 个样本。
- 数据大小:下载大小约 116.4 MB,数据集总大小约 123.5 MB。
配置文件
- 配置名称:
default - 数据文件路径:
data/train-*(分割为训练集)





