2026-08-20-difficult-advice-grok-716-smoke
收藏资源简介:
这是一个名为“Difficult-advice SFT corpus, all-grok arm”的监督微调(SFT)语料库。它基于“Teaching Claude Why”配方构建,但将生成器堆栈从Anthropic的基线模型(difficult_advice.yaml)完全替换为xAI的模型。具体而言,x-ai/grok-4.3负责生成场景、提示和草稿响应(阶段2/3/5),x-ai/grok-4.6负责根据完整宪法修改提示和响应(阶段4/6,对齐决定步骤)并评判语料库。该语料库与基线语料库的行为差异可归因于生成器模型的不同。数据集包含多个阶段的JSONL文件,反映了从宪法块提取、场景编写、去重、提示起草与修改、响应起草与修改,到最终SFT导出的完整流水线。使用的宪法为“constitutions/claude_distilled_12_principles_mid/constitution.md”。生成日期为20260820_205822,模型通过OpenRouter调用,grok-4.3禁用隐藏推理,grok-4.6无法禁用隐藏推理但使用低努力模式。该数据集旨在支持困难建议场景下的SFT训练,并用于研究不同生成器模型对对齐行为的影响。
Difficult-advice SFT corpus, all-grok arm. It is based on the Teaching Claude Why recipe, but with the generator stack fully replaced from Anthropics baseline model (difficult_advice.yaml) to xAIs models. Specifically, x-ai/grok-4.3 generates scenarios, prompts, and draft responses (stages 2/3/5), and x-ai/grok-4.6 modifies prompts and responses according to the full constitution (stages 4/6, alignment decision steps) and judges the corpus. The dataset contains multiple stages of JSONL files reflecting the full pipeline from constitution block extraction, scenario writing, deduplication, prompt drafting and modification, response drafting and modification, to final SFT export. The constitution used is constitutions/claude_distilled_12_principles_mid/constitution.md. Generation date is 20260820_205822, models are called via OpenRouter, with grok-4.3 disabling hidden reasoning and grok-4.6 unable to disable hidden reasoning but using low effort mode. The dataset is designed to support SFT training in difficult advice scenarios and to study the impact of different generator models on alignment behavior.
数据集概述
该数据集是一个名为“Difficult-advice SFT corpus, all-grok arm”的合成训练语料库,属于困难建议场景的监督微调(SFT)数据集。其核心特征在于将原本基于Anthropic模型的完整生成流程整体替换为xAI的Grok模型,以对比不同模型生成器对语料行为差异的影响。
数据集关键信息
| 项目 | 内容 |
|---|---|
| 实验目的 | 使用Teaching Claude Why配方,将生成器栈从Anthropic(difficult_advice.yaml基线)完全替换为xAI,以检验行为差异是否源于生成器模型 |
| 生成日期 | 20260820_205822 |
| 使用的宪法 | constitutions/claude_distilled_12_principles_mid/constitution.md |
| 来源仓库 | https://github.com/Matthew-Bozoukov/Lessons_from_constituitional_AFT.git(提交版本:3907bfe05372528634d2515d985fbd37a3b06203) |
| 数据格式 | JSONL文件,包含多个阶段快照及manifest.json配置文件 |
模型配置
- 生成与分类模型:x-ai/grok-4.3(xai标准配置,1.25/2.5,隐藏推理已禁用)
- 修订与评判模型:x-ai/grok-4.6(xai标准配置,2/6,低推理努力——端点拒绝禁用推理)
- 调用方式:所有调用通过OpenRouter路由,采样和阶段token使用情况记录于manifest.json
数据流水线阶段
数据集包含以下可配置的子集(config):
| 配置名称 | 数据文件 |
|---|---|
| dataset | dataset.jsonl |
| stage_1_chunk_constitution | stages/stage_1_chunk_constitution.jsonl |
| stage_2_write_scenarios | stages/stage_2_write_scenarios.jsonl |
| stage_3_dedupe_scenarios | stages/stage_3_dedupe_scenarios.jsonl |
| stage_4_draft_prompts | stages/stage_4_draft_prompts.jsonl |
| stage_4_draft_prompts.partial | stages/stage_4_draft_prompts.partial.jsonl |
| stage_5_revise_prompts.partial | stages/stage_5_revise_prompts.partial.jsonl |
| stage_5_revise_prompts | stages/stage_5_revise_prompts.jsonl |
| stage_6_draft_responses | stages/stage_6_draft_responses.jsonl |
| stage_6_draft_responses.partial | stages/stage_6_draft_responses.partial.jsonl |
| stage_7_revise_responses | stages/stage_7_revise_responses.jsonl |
| stage_7_revise_responses.partial | stages/stage_7_revise_responses.partial.jsonl |
| stage_8_export_sft | stages/stage_8_export_sft.jsonl |
数据生成流程
- 阶段2/3:x-ai/grok-4.3负责生成场景和草稿提示
- 阶段4/6:x-ai/grok-4.6负责根据完整宪法重写提示和响应(决定对齐的关键步骤),并作为评判者
- 阶段5:x-ai/grok-4.3生成草稿响应
- 完整运行配置:通过命令
uv run scripts/data/synth/build_dataset.py --config configs/data/synth/difficult_advice_grok_716.yaml生成
背景说明
该数据集的创建源于全Gemini分支无法干净生成的问题:Gemini的安全层持续阻止最困难的宪法原则4(涉及CBRN/网络相关危害内容)的草稿提示调用——在3.7-flash上716个中仅26个在六次重采样中存活。而xAI不提供请求侧安全开关也无需此开关:实测grok-4.3在原则4场景中返回24/24个可用草稿提示,grok-4.3和grok-4.6在手写生物安全、化学、网络、核、制药、航空场景中均返回可用输出。grok-4.3以隐藏推理禁用模式运行(匹配Anthropic基线的非思考Haiku),grok-4.6无法禁用推理(返回400错误,为强制要求),以低努力模式运行并增加max_tokens余量。




