nanohorizon-craftax-v5
收藏资源简介:
NanoHorizon Craftax v5 是一个用于 NanoHorizon Craftax 竞赛的合成教师轨迹数据集。该数据集包含来自两个教师模型(OpenRouter 上的 deepseek/deepseek-v4-flash-0731 和 z-ai/glm-5.3-flash)的黄金策略调用,这些调用是在 Rust GameBench 的 craftax_gold 环境下收集的。数据采用 keep-thinking FBC 格式,每个样本包含完整的对话历史(系统提示、用户消息、助手响应、工具结果),并保留了推理内容和工具调用信息。数据集提供了多种配置:fbc(每个策略调用作为一个样本,适用于 FBC SFT)、sft_turns(按回合分解的观察、推理、动作)、episodes(完整回合,用于过滤后获取轨迹文件)以及用于评估的 eval_glm_flash 和 eval_glm_flash_fbc(包含 10 个保留种子上的独立评估,平均环境奖励为 +4.42,解锁了 11 个独特成就)。数据字段包括 teacher_model、reward、n_calls、seed、run_id 以及 22 个二进制成就标志。该数据集是竞赛规则中唯一允许的离线教师语料库,其他合成数据必须在训练脚本的 30 分钟时间限制内生成。官方评估种子(91001-91010)不包含在此数据集中。用户可以通过 HuggingFace Datasets 库加载,并建议使用 v0.3 版本。
NanoHorizon Craftax v5 is a synthetic teacher trajectory dataset for the NanoHorizon Craftax competition. It contains gold policy calls from two teacher models (deepseek/deepseek-v4-flash-0731 and z-ai/glm-5.3-flash on OpenRouter) collected in the craftax_gold environment of Rust GameBench. The data uses the keep-thinking FBC format, with each sample containing a complete dialogue history (system prompt, user message, assistant response, tool result) preserving reasoning content and tool call information. The dataset provides multiple configurations: fbc (each policy call as a sample, suitable for FBC SFT), sft_turns (observations, reasoning, actions decomposed by turns), episodes (complete episodes for filtering to obtain trajectory files), and evaluation configs eval_glm_flash and eval_glm_flash_fbc (independent evaluations on 10 held-out seeds with average environment reward +4.42 and 11 unique achievements unlocked). Data fields include teacher_model, reward, n_calls, seed, run_id, and 22 binary achievement flags. This dataset is the only offline teacher corpus allowed by the competition rules; other synthetic data must be generated within the 30-minute time limit of the training script. Official evaluation seeds (91001-91010) are not included in this dataset. Users can load it via the HuggingFace Datasets library, and it is recommended to use version v0.3.
数据集概述
NanoHorizon Craftax v5 是一个用于强化学习(Reinforcement Learning)任务的数据集,主要包含教师模型的轨迹(teacher rollouts)数据,专为 NanoHorizon Craftax 竞赛设计。
基本信息
- 许可证:Apache-2.0
- 任务类型:强化学习
- 标签:craftax、nanohorizon、agent、traces
- 名称:NanoHorizon Craftax v5 teacher traces
数据内容与结构
该数据集仅包含 gzip 压缩的轨迹数据,不包含 SFT 或 FBC 格式的 JSONL 文件。数据分为三个主要目录:
traces/:按照教师模型(teacher-slug)和 rollout ID 组织,为竞赛固定版本(30 次策略调用)train/:额外的训练池(train-pool)金标准数据,可用于训练eval/:竞赛种子数据,仅供检查,不得用于训练
版本说明
必须使用 revision="v0.3" 版本。此前版本已弃用:
v0.1包含 gpt-oss / ox-alpha 模型数据,无样本对话,不符合 FBC 规范v0.2使用旧版测试框架,每次交互均为新的user观察,丢弃了先前的<think>块
教师模型
deepseek/deepseek-v4-flash-0731(通过 OpenRouter 访问)z-ai/glm-5.3-flash(通过 OpenRouter 访问)
关键规则与约束
数据集是竞赛中唯一允许的离线教师语料库,需遵守以下规则:
- 其他合成数据必须在
train.py的 30 分钟训练时限内生成,不得引入外部轨迹、SFT 行或蒸馏数据 - 不得未经模型提供商许可生成合成数据,禁止抓取、泄露或转售未经授权的提供商输出
- 除本数据集外,最多允许使用 $1 的 API 推理生成额外合成数据,且须在训练脚本运行期间使用
评估与训练限制
- 官方评估使用种子
91001–91010,禁止将其用于训练 eval/目录下的 GLM 评估数据(10×10 种子)仅供检查train/目录下的 GLM 复制数据(种子93001–93010)可作为合法训练数据,但并非竞赛固定版本(30 次调用)
数据加载与使用
可通过 snapshot_download 下载轨迹数据,并使用 pack_as_is.py 脚本打包为 SFT 格式。打包后的对话保持思考链(keep-thinking)结构,包含 system → user → assistant → tool 等消息轮次,且在工具消息中保留 limits_remaining 字段和 reasoning_content 内容。
数据来源
数据从 NanoHorizon 仓库中的 data/craftax-v5/receipts/ 目录分阶段生成,相关脚本包括 scripts/stage_v5_data.py、scripts/pack_v5_hub.py 及 scripts/grow_v5_corpus.py(扩展数据池)。





