The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
flip 五组复现配方(选项序翻转护栏)
Phocinae-Largha-150M-v1 发布包 · 数据集发布
本包给出「选项顺序翻转护栏」评测(flip 评测)的完整复现配方:行集、五组重排种子表、评测脚本与发布读数。许可证:Apache-2.0(见同包 LICENSE)。
包内容
| 文件 | 说明 |
|---|---|
flip_rows_subset.jsonl |
翻转评测行子集:typed-decisions test 400 行(含每行到 typed_test 包的行件映射字段) |
reshuffle_seeds.json |
五组重排种子表(原序 / 全反序 / 3 组随机排列种子 0,1,2) |
eval_flip.py |
评测脚本(注释写明 rev / random-mean / any 三口径计算方式) |
README.md |
本文件 |
LICENSE |
Apache-2.0 许可证全文 |
ATTRIBUTIONS.md |
上游 typed-decisions 署名 |
一、翻转协议说明(选项顺序重排 → 重判 → 不一致率)
对每个评测 case 的每个 choice 型问题,把选项(criteria 字典)按 5 组顺序各重排一次并让模型重新判一次,比较模型选出的选项标签(chosen label)与原序是否一致:
- 原序(original):不重排,对照基线;
- 全反序(reversed):
dict(reversed(list(criteria.items()))); 3–5. 随机排列(random):种子 0、1、2,各自random.Random(seed)逐 case 对选项shuffle。
翻转(flip)定义:同一 choice 问题的 chosen label 与原序不同。三个口径均为「越低越好」(0 = 完全顺序不变)。
二、发布读数(CPU fp32)
| 口径 | 定义 | 发布值 | 计数(flip400) |
|---|---|---|---|
| rev | 原序 vs 全反序不一致率 | 0.0217 | 13 / 600 |
| random-mean | 3 个随机排列种子的平均不一致率 | 0.0144 | (11+9+6) / (600×3) |
| any | 任一随机排列与原序不一致(union 口径,按问题计) | 0.0283 | 17 / 600 |
行集:flip_rows_subset.jsonl 全部 400 行 / 600 个 choice 决策(flip400)。flip150(前 150 行 / 300 个 choice 决策)同口径读数:rev 0.0200(6/300)、random-mean 0.0144、any 0.0300(9/300)——发布值取 flip400。
分种子读数(flip400,random_per_seed):seed0 0.0183(11)、seed1 0.0150(9)、seed2 0.0100(6)。
三、计算方式
设 n_choice 为全部 case 中 type=="choice" 且五组均取到答案的问题-次数(flip400 = 600):
rev = count(原序 chosen ≠ 全反序 chosen) / n_choiceper_seed[s] = count(原序 chosen ≠ seed-s 随机排列 chosen) / n_choicerandom-mean = Σ_s per_seed[s] / 3 = Σ_{(问题,seed)} flip / (n_choice × 3)any = count(存在至少 1 个 seed 使 chosen ≠ 原序) / n_choice
(恒有 any ≥ per_seed[s] 且 any ≥ random-mean。)脚本实现在 eval_flip.py 的 score_choice_decisions()(纯函数,可单测),输出 JSON 字段:flip_rate_reversed / flip_rate_random_per_seed / flip_rate_random_mean / flip_rate_random_any 及 n_flips 分子计数。
四、复现步骤
- 环境:PyTorch + 发布权重(
Phocinae/Phocinae-Largha-150M-v1,model.safetensorssha256b6472511…)。CPU fp32 空载(CUDA_VISIBLE_DEVICES='',单线程OMP_NUM_THREADS=2)。 - flip400(发布主数):
期望:CUDA_VISIBLE_DEVICES='' OMP_NUM_THREADS=2 python eval_flip.py \ <发布ckpt目录> flip_rows_subset.jsonl flip400_repro.json 400 3n_choice_decisions=600、flip_rate_reversed=0.0217、flip_rate_random_mean=0.0144、flip_rate_random_any=0.0283。 - flip150(抽查口径):
期望:CUDA_VISIBLE_DEVICES='' OMP_NUM_THREADS=2 python eval_flip.py \ <发布ckpt目录> flip_rows_subset.jsonl flip150_repro.json 150 3n_choice_decisions=300、flip_rate_reversed=0.0200、flip_rate_random_mean=0.0144、flip_rate_random_any=0.0300。 - 复现判据:三口径与
reshuffle_seeds.json的canonical_results逐位一致。
五、与 typed_test 包的行件映射
flip_rows_subset.jsonl每行含映射字段:flip_row_index(0 起)、flip150(前 150 行为 true)、flip400(恒 true)、typed_test_row_id(= 行 ID)、typed_test_ref(typed_test/test_typed_400.jsonl)、typed_test_line(该包内 1 起行号)。- 行 ID 与
../typed_test/test_typed_400.jsonl按id字段一一对应;若该包行序不同,请按typed_test_row_id对齐,勿依赖行号。 - 行集来源:
LocalLLaMA/typed-decisions数据集 test split 400 行,工作流分布:agent_trace_observability / customer_service / invoice_processing / security_incidents 各 100 行。评测行未参与训练。
六、许可证
本包整体 Apache-2.0(全文见 LICENSE)。行件数据上游 typed-decisions 为 Apache-2.0(见 ATTRIBUTIONS.md)。
文件校验:见同目录 SHA256SUMS。
- Downloads last month
- 72