From df601404c4a7fc7f2e26e6829d4edbd817c13958 Mon Sep 17 00:00:00 2001 From: Codex Bot Date: Thu, 26 Nov 2026 12:51:02 +0800 Subject: [PATCH] Compare sensitivity-ranked sharing with a reproduced uniform LiSA control --- docs/LISA_COMBINATIONS_RESULTS.md | 13 + .../lisa-combinations/rank-validation.json | 107 +++ .../shared-allocated/config.json | 17 + .../shared-allocated/trace.json | 835 ++++++++++++++++++ .../shared-allocated/verified.json | 19 + .../shared-uniform/config.json | 17 + .../shared-uniform/trace.json | 835 ++++++++++++++++++ .../shared-uniform/verified.json | 18 + 8 files changed, 1861 insertions(+) create mode 100644 results/lisa-combinations/rank-validation.json create mode 100644 results/lisa-combinations/shared-allocated/config.json create mode 100644 results/lisa-combinations/shared-allocated/trace.json create mode 100644 results/lisa-combinations/shared-allocated/verified.json create mode 100644 results/lisa-combinations/shared-uniform/config.json create mode 100644 results/lisa-combinations/shared-uniform/trace.json create mode 100644 results/lisa-combinations/shared-uniform/verified.json diff --git a/docs/LISA_COMBINATIONS_RESULTS.md b/docs/LISA_COMBINATIONS_RESULTS.md index deb7721..c2b3aad 100644 --- a/docs/LISA_COMBINATIONS_RESULTS.md +++ b/docs/LISA_COMBINATIONS_RESULTS.md @@ -35,6 +35,19 @@ 每个条件在同样的 16 题上按全词表评分。每题的整段分数为两个正确数字及结束符的负对数概率之和,再对题目取平均。在贪心解码得分仅相差一题的第 15、19 层之间,恢复第 19 层在 9 题上给整段标准答案更高概率,第 15 层在另外 7 题更高。两者唯一答对情况不同的题以数字 3 开头,恢复第 15 层和第 19 层给这个首位数字的概率分别是 39.9% 和 62.5%。这组数据支持优先关注第 15、19 层,对二者的内部排序证据较弱。原分配继续按预定规则训练。 [逐题逐 token 概率](../results/lisa-combinations/diagnostic/diagnostic-gold-log-probs.json) · [分词器、概率统计与贪心回答核验](../results/lisa-combinations/diagnostic/gold-probability-check.json) +## 固定参数预算下的分秩验证 + +两个共享组分别训练 48 步,使用同样的 24 个训练样本、题序及 2,476,032 个参数。第 15、19、23 层均取秩 40 的对照组复现了原 LiSA,48 步训练损失记录、选中检查点的各参数张量和权重文件 SHA-256 全部一致。两者在验证集的 16 个完整回答也逐 token 相同。 [均匀秩配置](../results/lisa-combinations/shared-uniform/config.json) · [两轮原始答卷](../results/lisa-combinations/shared-uniform/trace.json) · [参数与训练核验](../results/lisa-combinations/shared-uniform/verified.json) + +| 第 15、19、23 层的秩 | 第 1 轮答对 | 第 2 轮答对 | 选中轮次 | 交换前后均正确 | +|---|---:|---:|---:|---:| +| 均匀分配 40、40、40 | 3/16 | 5/16 | 2 | 1/8 | +| 按敏感度分配 40、48、32 | 2/16 | 3/16 | 2 | 0/8 | + +在第一轮,敏感度分秩比均匀秩少答对 1 道。第二轮两组有 12/16 题逐 token 相同,分秩丢失 2 道,救回 0 道。两道退步都来自第 003 对题。均匀组随目标值交换从 93 改答 83,分秩组两次都回答表格第 1 项的 33。总体上,换值后分秩组有 3/8 对改变回答,均匀组有 2/8 对改变回答。只有均匀组在其中一对上两次都给出了目标值。 [分秩配置](../results/lisa-combinations/shared-allocated/config.json) · [分秩两轮答卷](../results/lisa-combinations/shared-allocated/trace.json) · [分秩核验](../results/lisa-combinations/shared-allocated/verified.json) · [两组逐题比较](../results/lisa-combinations/rank-validation.json) + +如果逐题任选敏感度分秩或学生前缀蒸馏的回答,16 题里最多能答对 3 道。再允许选原 LiSA 的回答,上限是 5 道。两条路线在这批验证题上都没有贡献原 LiSA 答错的新题。预定的 32 对新留出题用于检验这一结果能否推广。 + ## 两种蒸馏前缀的完整答案 两种蒸馏在同一批 16 道验证题上都丢掉了原 LiSA 答对的题,也都没有救回原本答错的题。学生前缀组比标准答案前缀组少答对 1 道。三组共 48 个回答均正常结束,可解析出完整整数。 [起始 LiSA 答卷](../results/lisa-combinations/validation-prior-lisa.json) · [学生前缀答卷](../results/lisa-combinations/trajectory-student/validation-student.json) · [标准答案前缀答卷](../results/lisa-combinations/trajectory-reference/validation-reference.json) diff --git a/results/lisa-combinations/rank-validation.json b/results/lisa-combinations/rank-validation.json new file mode 100644 index 0000000..83ee4ff --- /dev/null +++ b/results/lisa-combinations/rank-validation.json @@ -0,0 +1,107 @@ +{ + "split": "validation", + "questions": 16, + "pairs": 8, + "planned_rank_conditions": [ + "shared-allocated", + "shared-uniform", + "shared-reversed", + "local-uniform", + "local-allocated" + ], + "completed_rank_conditions": 2, + "prior_pairs_with_changed_answers": [ + "validation-003", + "validation-006" + ], + "selected_models": { + "shared-allocated": { + "validation_correct_by_epoch": [ + 2, + 3 + ], + "selected_epoch": 2, + "selected_correct": 3, + "selected_pairs_both_correct": 0, + "pairs_with_changed_answers": [ + "validation-004", + "validation-005", + "validation-006" + ], + "versus_prior": { + "corrected": [], + "lost": [ + "validation-003-0", + "validation-003-1" + ], + "net": -2, + "same_token_streams": 12 + } + }, + "shared-uniform": { + "validation_correct_by_epoch": [ + 3, + 5 + ], + "selected_epoch": 2, + "selected_correct": 5, + "selected_pairs_both_correct": 1, + "pairs_with_changed_answers": [ + "validation-003", + "validation-006" + ], + "versus_prior": { + "corrected": [], + "lost": [], + "net": 0, + "same_token_streams": 16 + } + } + }, + "comparisons": { + "shared-allocated-vs-shared-uniform": { + "selected": { + "corrected": [], + "lost": [ + "validation-003-0", + "validation-003-1" + ], + "net": -2, + "same_token_streams": 12 + }, + "at_same_epoch": [ + { + "corrected": [], + "lost": [ + "validation-005-1" + ], + "net": -1, + "same_token_streams": 13 + }, + { + "corrected": [], + "lost": [ + "validation-003-0", + "validation-003-1" + ], + "net": -2, + "same_token_streams": 12 + } + ] + } + }, + "question_ids_with_a_correct_candidate_answer": { + "allocated_or_student": [ + "validation-000-1", + "validation-004-1", + "validation-006-0" + ], + "allocated_or_student_or_prior": [ + "validation-000-1", + "validation-003-0", + "validation-003-1", + "validation-004-1", + "validation-006-0" + ] + } +} diff --git a/results/lisa-combinations/shared-allocated/config.json b/results/lisa-combinations/shared-allocated/config.json new file mode 100644 index 0000000..3572258 --- /dev/null +++ b/results/lisa-combinations/shared-allocated/config.json @@ -0,0 +1,17 @@ +{ + "diagnostic_correct": { + "baseline": 0, + "restore-15": 15, + "restore-19": 16, + "restore-23": 1 + }, + "ranks": { + "19": 48, + "15": 40, + "23": 32 + }, + "shared": true, + "parameters": 2476032, + "seed": 621011, + "epochs": 2 +} diff --git a/results/lisa-combinations/shared-allocated/trace.json b/results/lisa-combinations/shared-allocated/trace.json new file mode 100644 index 0000000..ac2c055 --- /dev/null +++ b/results/lisa-combinations/shared-allocated/trace.json @@ -0,0 +1,835 @@ +{ + "selected_epoch": 2, + "epochs": [ + { + "epoch": 1, + "steps": [ + { + "capture": "000.npz", + "huber": 6.484985828399658, + "completion_ce": 3.689948320388794 + }, + { + "capture": "001.npz", + "huber": 6.435533046722412, + "completion_ce": 2.815239667892456 + }, + { + "capture": "002.npz", + "huber": 6.501165866851807, + "completion_ce": 2.2910900115966797 + }, + { + "capture": "003.npz", + "huber": 6.459116458892822, + "completion_ce": 1.4170297384262085 + }, + { + "capture": "004.npz", + "huber": 6.366516590118408, + "completion_ce": 1.6510658264160156 + }, + { + "capture": "005.npz", + "huber": 6.376306533813477, + "completion_ce": 1.031119704246521 + }, + { + "capture": "006.npz", + "huber": 6.363456726074219, + "completion_ce": 1.2906379699707031 + }, + { + "capture": "007.npz", + "huber": 6.301973819732666, + "completion_ce": 1.2287101745605469 + }, + { + "capture": "008.npz", + "huber": 6.219982147216797, + "completion_ce": 1.8168309926986694 + }, + { + "capture": "009.npz", + "huber": 6.2503790855407715, + "completion_ce": 1.3349508047103882 + }, + { + "capture": "010.npz", + "huber": 6.146358013153076, + "completion_ce": 0.8580843806266785 + }, + { + "capture": "011.npz", + "huber": 6.143476963043213, + "completion_ce": 1.3071588277816772 + }, + { + "capture": "012.npz", + "huber": 6.126444339752197, + "completion_ce": 1.2763277292251587 + }, + { + "capture": "013.npz", + "huber": 6.020519733428955, + "completion_ce": 0.9891433715820312 + }, + { + "capture": "014.npz", + "huber": 5.930761337280273, + "completion_ce": 0.878393828868866 + }, + { + "capture": "015.npz", + "huber": 5.9369354248046875, + "completion_ce": 1.1470876932144165 + }, + { + "capture": "016.npz", + "huber": 5.919126987457275, + "completion_ce": 0.3603922426700592 + }, + { + "capture": "017.npz", + "huber": 5.926023483276367, + "completion_ce": 2.0578842163085938 + }, + { + "capture": "018.npz", + "huber": 5.8985443115234375, + "completion_ce": 1.4073950052261353 + }, + { + "capture": "019.npz", + "huber": 5.787118434906006, + "completion_ce": 0.5757427215576172 + }, + { + "capture": "020.npz", + "huber": 5.741567611694336, + "completion_ce": 0.9653084874153137 + }, + { + "capture": "021.npz", + "huber": 5.615768909454346, + "completion_ce": 1.2124963998794556 + }, + { + "capture": "022.npz", + "huber": 5.636579990386963, + "completion_ce": 1.0802103281021118 + }, + { + "capture": "023.npz", + "huber": 5.545068264007568, + "completion_ce": 1.0685577392578125 + } + ], + "validation": [ + { + "id": "validation-000-0", + "task": "lookup", + "gold": 44, + "arms": { + "lisa": { + "tokens": [ + 24, + 16, + 248046 + ], + "response": "91<|im_end|>", + "stop": "eos", + "answer": 91, + "correct": false + } + } + }, + { + "id": "validation-000-1", + "task": "lookup", + "gold": 91, + "arms": { + "lisa": { + "tokens": [ + 24, + 16, + 248046 + ], + "response": "91<|im_end|>", + "stop": "eos", + "answer": 91, + "correct": true + } + } + }, + { + "id": "validation-001-0", + "task": "lookup", + "gold": 33, + "arms": { + "lisa": { + "tokens": [ + 24, + 22, + 248046 + ], + "response": "97<|im_end|>", + "stop": "eos", + "answer": 97, + "correct": false + } + } + }, + { + "id": "validation-001-1", + "task": "lookup", + "gold": 28, + "arms": { + "lisa": { + "tokens": [ + 24, + 22, + 248046 + ], + "response": "97<|im_end|>", + "stop": "eos", + "answer": 97, + "correct": false + } + } + }, + { + "id": "validation-002-0", + "task": "lookup", + "gold": 42, + "arms": { + "lisa": { + "tokens": [ + 20, + 16, + 248046 + ], + "response": "51<|im_end|>", + "stop": "eos", + "answer": 51, + "correct": false + } + } + }, + { + "id": "validation-002-1", + "task": "lookup", + "gold": 56, + "arms": { + "lisa": { + "tokens": [ + 20, + 16, + 248046 + ], + "response": "51<|im_end|>", + "stop": "eos", + "answer": 51, + "correct": false + } + } + }, + { + "id": "validation-003-0", + "task": "lookup", + "gold": 93, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": true + } + } + }, + { + "id": "validation-003-1", + "task": "lookup", + "gold": 83, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": false + } + } + }, + { + "id": "validation-004-0", + "task": "lookup", + "gold": 23, + "arms": { + "lisa": { + "tokens": [ + 17, + 24, + 248046 + ], + "response": "29<|im_end|>", + "stop": "eos", + "answer": 29, + "correct": false + } + } + }, + { + "id": "validation-004-1", + "task": "lookup", + "gold": 89, + "arms": { + "lisa": { + "tokens": [ + 24, + 16, + 248046 + ], + "response": "91<|im_end|>", + "stop": "eos", + "answer": 91, + "correct": false + } + } + }, + { + "id": "validation-005-0", + "task": "lookup", + "gold": 63, + "arms": { + "lisa": { + "tokens": [ + 19, + 19, + 248046 + ], + "response": "44<|im_end|>", + "stop": "eos", + "answer": 44, + "correct": false + } + } + }, + { + "id": "validation-005-1", + "task": "lookup", + "gold": 49, + "arms": { + "lisa": { + "tokens": [ + 19, + 19, + 248046 + ], + "response": "44<|im_end|>", + "stop": "eos", + "answer": 44, + "correct": false + } + } + }, + { + "id": "validation-006-0", + "task": "lookup", + "gold": 78, + "arms": { + "lisa": { + "tokens": [ + 24, + 22, + 248046 + ], + "response": "97<|im_end|>", + "stop": "eos", + "answer": 97, + "correct": false + } + } + }, + { + "id": "validation-006-1", + "task": "lookup", + "gold": 29, + "arms": { + "lisa": { + "tokens": [ + 24, + 22, + 248046 + ], + "response": "97<|im_end|>", + "stop": "eos", + "answer": 97, + "correct": false + } + } + }, + { + "id": "validation-007-0", + "task": "lookup", + "gold": 64, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": false + } + } + }, + { + "id": "validation-007-1", + "task": "lookup", + "gold": 50, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": false + } + } + } + ] + }, + { + "epoch": 2, + "steps": [ + { + "capture": "000.npz", + "huber": 5.412282943725586, + "completion_ce": 1.240404725074768 + }, + { + "capture": "001.npz", + "huber": 5.291560173034668, + "completion_ce": 0.4346771240234375 + }, + { + "capture": "002.npz", + "huber": 5.254405975341797, + "completion_ce": 1.4337667226791382 + }, + { + "capture": "003.npz", + "huber": 5.112814426422119, + "completion_ce": 0.49626222252845764 + }, + { + "capture": "004.npz", + "huber": 4.9319281578063965, + "completion_ce": 0.5854136347770691 + }, + { + "capture": "005.npz", + "huber": 4.811761379241943, + "completion_ce": 0.5730641484260559 + }, + { + "capture": "006.npz", + "huber": 4.663804054260254, + "completion_ce": 1.0617586374282837 + }, + { + "capture": "007.npz", + "huber": 4.466916561126709, + "completion_ce": 0.34136962890625 + }, + { + "capture": "008.npz", + "huber": 4.245267868041992, + "completion_ce": 0.9211139678955078 + }, + { + "capture": "009.npz", + "huber": 4.138031959533691, + "completion_ce": 0.912613570690155 + }, + { + "capture": "010.npz", + "huber": 3.917837142944336, + "completion_ce": 0.7355403900146484 + }, + { + "capture": "011.npz", + "huber": 3.8383302688598633, + "completion_ce": 0.86811763048172 + }, + { + "capture": "012.npz", + "huber": 3.793792486190796, + "completion_ce": 0.525964081287384 + }, + { + "capture": "013.npz", + "huber": 3.7311267852783203, + "completion_ce": 0.6477171778678894 + }, + { + "capture": "014.npz", + "huber": 3.660640001296997, + "completion_ce": 0.3576374053955078 + }, + { + "capture": "015.npz", + "huber": 3.590545415878296, + "completion_ce": 0.42681822180747986 + }, + { + "capture": "016.npz", + "huber": 3.478916883468628, + "completion_ce": 0.2565886080265045 + }, + { + "capture": "017.npz", + "huber": 3.4254138469696045, + "completion_ce": 1.4864343404769897 + }, + { + "capture": "018.npz", + "huber": 3.2207138538360596, + "completion_ce": 0.25919023156166077 + }, + { + "capture": "019.npz", + "huber": 3.0474510192871094, + "completion_ce": 0.08626111596822739 + }, + { + "capture": "020.npz", + "huber": 2.88421893119812, + "completion_ce": 0.09066835790872574 + }, + { + "capture": "021.npz", + "huber": 2.696475028991699, + "completion_ce": 0.09523773193359375 + }, + { + "capture": "022.npz", + "huber": 2.649243116378784, + "completion_ce": 0.6278018951416016 + }, + { + "capture": "023.npz", + "huber": 2.5207579135894775, + "completion_ce": 0.4561271667480469 + } + ], + "validation": [ + { + "id": "validation-000-0", + "task": "lookup", + "gold": 44, + "arms": { + "lisa": { + "tokens": [ + 24, + 16, + 248046 + ], + "response": "91<|im_end|>", + "stop": "eos", + "answer": 91, + "correct": false + } + } + }, + { + "id": "validation-000-1", + "task": "lookup", + "gold": 91, + "arms": { + "lisa": { + "tokens": [ + 24, + 16, + 248046 + ], + "response": "91<|im_end|>", + "stop": "eos", + "answer": 91, + "correct": true + } + } + }, + { + "id": "validation-001-0", + "task": "lookup", + "gold": 33, + "arms": { + "lisa": { + "tokens": [ + 19, + 22, + 248046 + ], + "response": "47<|im_end|>", + "stop": "eos", + "answer": 47, + "correct": false + } + } + }, + { + "id": "validation-001-1", + "task": "lookup", + "gold": 28, + "arms": { + "lisa": { + "tokens": [ + 19, + 22, + 248046 + ], + "response": "47<|im_end|>", + "stop": "eos", + "answer": 47, + "correct": false + } + } + }, + { + "id": "validation-002-0", + "task": "lookup", + "gold": 42, + "arms": { + "lisa": { + "tokens": [ + 20, + 16, + 248046 + ], + "response": "51<|im_end|>", + "stop": "eos", + "answer": 51, + "correct": false + } + } + }, + { + "id": "validation-002-1", + "task": "lookup", + "gold": 56, + "arms": { + "lisa": { + "tokens": [ + 20, + 16, + 248046 + ], + "response": "51<|im_end|>", + "stop": "eos", + "answer": 51, + "correct": false + } + } + }, + { + "id": "validation-003-0", + "task": "lookup", + "gold": 93, + "arms": { + "lisa": { + "tokens": [ + 18, + 18, + 248046 + ], + "response": "33<|im_end|>", + "stop": "eos", + "answer": 33, + "correct": false + } + } + }, + { + "id": "validation-003-1", + "task": "lookup", + "gold": 83, + "arms": { + "lisa": { + "tokens": [ + 18, + 18, + 248046 + ], + "response": "33<|im_end|>", + "stop": "eos", + "answer": 33, + "correct": false + } + } + }, + { + "id": "validation-004-0", + "task": "lookup", + "gold": 23, + "arms": { + "lisa": { + "tokens": [ + 17, + 24, + 248046 + ], + "response": "29<|im_end|>", + "stop": "eos", + "answer": 29, + "correct": false + } + } + }, + { + "id": "validation-004-1", + "task": "lookup", + "gold": 89, + "arms": { + "lisa": { + "tokens": [ + 23, + 24, + 248046 + ], + "response": "89<|im_end|>", + "stop": "eos", + "answer": 89, + "correct": true + } + } + }, + { + "id": "validation-005-0", + "task": "lookup", + "gold": 63, + "arms": { + "lisa": { + "tokens": [ + 19, + 24, + 248046 + ], + "response": "49<|im_end|>", + "stop": "eos", + "answer": 49, + "correct": false + } + } + }, + { + "id": "validation-005-1", + "task": "lookup", + "gold": 49, + "arms": { + "lisa": { + "tokens": [ + 19, + 19, + 248046 + ], + "response": "44<|im_end|>", + "stop": "eos", + "answer": 44, + "correct": false + } + } + }, + { + "id": "validation-006-0", + "task": "lookup", + "gold": 78, + "arms": { + "lisa": { + "tokens": [ + 22, + 23, + 248046 + ], + "response": "78<|im_end|>", + "stop": "eos", + "answer": 78, + "correct": true + } + } + }, + { + "id": "validation-006-1", + "task": "lookup", + "gold": 29, + "arms": { + "lisa": { + "tokens": [ + 22, + 19, + 248046 + ], + "response": "74<|im_end|>", + "stop": "eos", + "answer": 74, + "correct": false + } + } + }, + { + "id": "validation-007-0", + "task": "lookup", + "gold": 64, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": false + } + } + }, + { + "id": "validation-007-1", + "task": "lookup", + "gold": 50, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": false + } + } + } + ] + } + ] +} diff --git a/results/lisa-combinations/shared-allocated/verified.json b/results/lisa-combinations/shared-allocated/verified.json new file mode 100644 index 0000000..4fe7b43 --- /dev/null +++ b/results/lisa-combinations/shared-allocated/verified.json @@ -0,0 +1,19 @@ +{ + "updates": 48, + "validation_correct": [ + 2, + 3 + ], + "selected_epoch": 2, + "selected_pairs_both_correct": 0, + "corrected_vs_prior": [], + "lost_vs_prior": [ + "validation-003-0", + "validation-003-1" + ], + "sha256": { + "config.json": "fb6392312500cbfd043b59f374a1605a50e50537fe7e7c5ce1f93e81d956cc10", + "trace.json": "5b2cc6113d00d4c9af92de29605127c5f7a2ad4d1e0b58300cc78639a5167db2", + "lisa.pt": "f77ab651298bb59af17d43bdf7a2bb9102b8f90ee45db2d8f8fd579c2557e31b" + } +} diff --git a/results/lisa-combinations/shared-uniform/config.json b/results/lisa-combinations/shared-uniform/config.json new file mode 100644 index 0000000..659d11d --- /dev/null +++ b/results/lisa-combinations/shared-uniform/config.json @@ -0,0 +1,17 @@ +{ + "diagnostic_correct": { + "baseline": 0, + "restore-15": 15, + "restore-19": 16, + "restore-23": 1 + }, + "ranks": { + "15": 40, + "19": 40, + "23": 40 + }, + "shared": true, + "parameters": 2476032, + "seed": 621011, + "epochs": 2 +} diff --git a/results/lisa-combinations/shared-uniform/trace.json b/results/lisa-combinations/shared-uniform/trace.json new file mode 100644 index 0000000..33a4f85 --- /dev/null +++ b/results/lisa-combinations/shared-uniform/trace.json @@ -0,0 +1,835 @@ +{ + "selected_epoch": 2, + "epochs": [ + { + "epoch": 1, + "steps": [ + { + "capture": "000.npz", + "huber": 6.466125965118408, + "completion_ce": 3.640169858932495 + }, + { + "capture": "001.npz", + "huber": 6.416173458099365, + "completion_ce": 2.7350101470947266 + }, + { + "capture": "002.npz", + "huber": 6.482085704803467, + "completion_ce": 2.03899884223938 + }, + { + "capture": "003.npz", + "huber": 6.430853366851807, + "completion_ce": 1.5210151672363281 + }, + { + "capture": "004.npz", + "huber": 6.329977512359619, + "completion_ce": 1.6759847402572632 + }, + { + "capture": "005.npz", + "huber": 6.335151195526123, + "completion_ce": 1.0699304342269897 + }, + { + "capture": "006.npz", + "huber": 6.317526340484619, + "completion_ce": 1.4101346731185913 + }, + { + "capture": "007.npz", + "huber": 6.251140594482422, + "completion_ce": 1.1468429565429688 + }, + { + "capture": "008.npz", + "huber": 6.1668524742126465, + "completion_ce": 1.6777559518814087 + }, + { + "capture": "009.npz", + "huber": 6.1963043212890625, + "completion_ce": 1.2596086263656616 + }, + { + "capture": "010.npz", + "huber": 6.088558673858643, + "completion_ce": 0.6729698181152344 + }, + { + "capture": "011.npz", + "huber": 6.079294681549072, + "completion_ce": 1.2998491525650024 + }, + { + "capture": "012.npz", + "huber": 6.054551601409912, + "completion_ce": 1.4103832244873047 + }, + { + "capture": "013.npz", + "huber": 5.936060428619385, + "completion_ce": 1.0076059103012085 + }, + { + "capture": "014.npz", + "huber": 5.830902576446533, + "completion_ce": 0.8567708134651184 + }, + { + "capture": "015.npz", + "huber": 5.81991720199585, + "completion_ce": 0.9816989898681641 + }, + { + "capture": "016.npz", + "huber": 5.782172679901123, + "completion_ce": 0.32713380455970764 + }, + { + "capture": "017.npz", + "huber": 5.763124465942383, + "completion_ce": 2.0601158142089844 + }, + { + "capture": "018.npz", + "huber": 5.706521511077881, + "completion_ce": 1.5579833984375 + }, + { + "capture": "019.npz", + "huber": 5.558866500854492, + "completion_ce": 0.44708251953125 + }, + { + "capture": "020.npz", + "huber": 5.477881908416748, + "completion_ce": 1.1636791229248047 + }, + { + "capture": "021.npz", + "huber": 5.311099529266357, + "completion_ce": 1.1208223104476929 + }, + { + "capture": "022.npz", + "huber": 5.279181957244873, + "completion_ce": 1.268227219581604 + }, + { + "capture": "023.npz", + "huber": 5.142008304595947, + "completion_ce": 0.9710490107536316 + } + ], + "validation": [ + { + "id": "validation-000-0", + "task": "lookup", + "gold": 44, + "arms": { + "lisa": { + "tokens": [ + 24, + 16, + 248046 + ], + "response": "91<|im_end|>", + "stop": "eos", + "answer": 91, + "correct": false + } + } + }, + { + "id": "validation-000-1", + "task": "lookup", + "gold": 91, + "arms": { + "lisa": { + "tokens": [ + 24, + 16, + 248046 + ], + "response": "91<|im_end|>", + "stop": "eos", + "answer": 91, + "correct": true + } + } + }, + { + "id": "validation-001-0", + "task": "lookup", + "gold": 33, + "arms": { + "lisa": { + "tokens": [ + 24, + 22, + 248046 + ], + "response": "97<|im_end|>", + "stop": "eos", + "answer": 97, + "correct": false + } + } + }, + { + "id": "validation-001-1", + "task": "lookup", + "gold": 28, + "arms": { + "lisa": { + "tokens": [ + 24, + 22, + 248046 + ], + "response": "97<|im_end|>", + "stop": "eos", + "answer": 97, + "correct": false + } + } + }, + { + "id": "validation-002-0", + "task": "lookup", + "gold": 42, + "arms": { + "lisa": { + "tokens": [ + 20, + 16, + 248046 + ], + "response": "51<|im_end|>", + "stop": "eos", + "answer": 51, + "correct": false + } + } + }, + { + "id": "validation-002-1", + "task": "lookup", + "gold": 56, + "arms": { + "lisa": { + "tokens": [ + 20, + 16, + 248046 + ], + "response": "51<|im_end|>", + "stop": "eos", + "answer": 51, + "correct": false + } + } + }, + { + "id": "validation-003-0", + "task": "lookup", + "gold": 93, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": true + } + } + }, + { + "id": "validation-003-1", + "task": "lookup", + "gold": 83, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": false + } + } + }, + { + "id": "validation-004-0", + "task": "lookup", + "gold": 23, + "arms": { + "lisa": { + "tokens": [ + 24, + 16, + 248046 + ], + "response": "91<|im_end|>", + "stop": "eos", + "answer": 91, + "correct": false + } + } + }, + { + "id": "validation-004-1", + "task": "lookup", + "gold": 89, + "arms": { + "lisa": { + "tokens": [ + 24, + 16, + 248046 + ], + "response": "91<|im_end|>", + "stop": "eos", + "answer": 91, + "correct": false + } + } + }, + { + "id": "validation-005-0", + "task": "lookup", + "gold": 63, + "arms": { + "lisa": { + "tokens": [ + 19, + 24, + 248046 + ], + "response": "49<|im_end|>", + "stop": "eos", + "answer": 49, + "correct": false + } + } + }, + { + "id": "validation-005-1", + "task": "lookup", + "gold": 49, + "arms": { + "lisa": { + "tokens": [ + 19, + 24, + 248046 + ], + "response": "49<|im_end|>", + "stop": "eos", + "answer": 49, + "correct": true + } + } + }, + { + "id": "validation-006-0", + "task": "lookup", + "gold": 78, + "arms": { + "lisa": { + "tokens": [ + 24, + 22, + 248046 + ], + "response": "97<|im_end|>", + "stop": "eos", + "answer": 97, + "correct": false + } + } + }, + { + "id": "validation-006-1", + "task": "lookup", + "gold": 29, + "arms": { + "lisa": { + "tokens": [ + 24, + 22, + 248046 + ], + "response": "97<|im_end|>", + "stop": "eos", + "answer": 97, + "correct": false + } + } + }, + { + "id": "validation-007-0", + "task": "lookup", + "gold": 64, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": false + } + } + }, + { + "id": "validation-007-1", + "task": "lookup", + "gold": 50, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": false + } + } + } + ] + }, + { + "epoch": 2, + "steps": [ + { + "capture": "000.npz", + "huber": 4.952552318572998, + "completion_ce": 1.4009037017822266 + }, + { + "capture": "001.npz", + "huber": 4.789427280426025, + "completion_ce": 0.5592880249023438 + }, + { + "capture": "002.npz", + "huber": 4.726945400238037, + "completion_ce": 1.2972265481948853 + }, + { + "capture": "003.npz", + "huber": 4.5856170654296875, + "completion_ce": 0.5974127650260925 + }, + { + "capture": "004.npz", + "huber": 4.457610607147217, + "completion_ce": 0.4448140561580658 + }, + { + "capture": "005.npz", + "huber": 4.406347274780273, + "completion_ce": 0.6005427241325378 + }, + { + "capture": "006.npz", + "huber": 4.3611578941345215, + "completion_ce": 1.11090087890625 + }, + { + "capture": "007.npz", + "huber": 4.287736415863037, + "completion_ce": 0.4663238525390625 + }, + { + "capture": "008.npz", + "huber": 4.187578201293945, + "completion_ce": 1.04208242893219 + }, + { + "capture": "009.npz", + "huber": 4.137438774108887, + "completion_ce": 0.754715621471405 + }, + { + "capture": "010.npz", + "huber": 3.979546308517456, + "completion_ce": 0.5380516052246094 + }, + { + "capture": "011.npz", + "huber": 3.8709640502929688, + "completion_ce": 0.7800388336181641 + }, + { + "capture": "012.npz", + "huber": 3.749253273010254, + "completion_ce": 0.5718275904655457 + }, + { + "capture": "013.npz", + "huber": 3.5951597690582275, + "completion_ce": 0.8369833827018738 + }, + { + "capture": "014.npz", + "huber": 3.4549624919891357, + "completion_ce": 0.37712350487709045 + }, + { + "capture": "015.npz", + "huber": 3.3932430744171143, + "completion_ce": 0.47049713134765625 + }, + { + "capture": "016.npz", + "huber": 3.3298141956329346, + "completion_ce": 0.24415016174316406 + }, + { + "capture": "017.npz", + "huber": 3.315248727798462, + "completion_ce": 1.5147151947021484 + }, + { + "capture": "018.npz", + "huber": 3.2439496517181396, + "completion_ce": 0.15868441760540009 + }, + { + "capture": "019.npz", + "huber": 3.1188666820526123, + "completion_ce": 0.05583127215504646 + }, + { + "capture": "020.npz", + "huber": 3.04500412940979, + "completion_ce": 0.022246679291129112 + }, + { + "capture": "021.npz", + "huber": 2.903524160385132, + "completion_ce": 0.07955551147460938 + }, + { + "capture": "022.npz", + "huber": 2.9015865325927734, + "completion_ce": 1.1182270050048828 + }, + { + "capture": "023.npz", + "huber": 2.8223178386688232, + "completion_ce": 0.44306373596191406 + } + ], + "validation": [ + { + "id": "validation-000-0", + "task": "lookup", + "gold": 44, + "arms": { + "lisa": { + "tokens": [ + 24, + 16, + 248046 + ], + "response": "91<|im_end|>", + "stop": "eos", + "answer": 91, + "correct": false + } + } + }, + { + "id": "validation-000-1", + "task": "lookup", + "gold": 91, + "arms": { + "lisa": { + "tokens": [ + 24, + 16, + 248046 + ], + "response": "91<|im_end|>", + "stop": "eos", + "answer": 91, + "correct": true + } + } + }, + { + "id": "validation-001-0", + "task": "lookup", + "gold": 33, + "arms": { + "lisa": { + "tokens": [ + 19, + 22, + 248046 + ], + "response": "47<|im_end|>", + "stop": "eos", + "answer": 47, + "correct": false + } + } + }, + { + "id": "validation-001-1", + "task": "lookup", + "gold": 28, + "arms": { + "lisa": { + "tokens": [ + 19, + 22, + 248046 + ], + "response": "47<|im_end|>", + "stop": "eos", + "answer": 47, + "correct": false + } + } + }, + { + "id": "validation-002-0", + "task": "lookup", + "gold": 42, + "arms": { + "lisa": { + "tokens": [ + 20, + 16, + 248046 + ], + "response": "51<|im_end|>", + "stop": "eos", + "answer": 51, + "correct": false + } + } + }, + { + "id": "validation-002-1", + "task": "lookup", + "gold": 56, + "arms": { + "lisa": { + "tokens": [ + 20, + 16, + 248046 + ], + "response": "51<|im_end|>", + "stop": "eos", + "answer": 51, + "correct": false + } + } + }, + { + "id": "validation-003-0", + "task": "lookup", + "gold": 93, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": true + } + } + }, + { + "id": "validation-003-1", + "task": "lookup", + "gold": 83, + "arms": { + "lisa": { + "tokens": [ + 23, + 18, + 248046 + ], + "response": "83<|im_end|>", + "stop": "eos", + "answer": 83, + "correct": true + } + } + }, + { + "id": "validation-004-0", + "task": "lookup", + "gold": 23, + "arms": { + "lisa": { + "tokens": [ + 23, + 24, + 248046 + ], + "response": "89<|im_end|>", + "stop": "eos", + "answer": 89, + "correct": false + } + } + }, + { + "id": "validation-004-1", + "task": "lookup", + "gold": 89, + "arms": { + "lisa": { + "tokens": [ + 23, + 24, + 248046 + ], + "response": "89<|im_end|>", + "stop": "eos", + "answer": 89, + "correct": true + } + } + }, + { + "id": "validation-005-0", + "task": "lookup", + "gold": 63, + "arms": { + "lisa": { + "tokens": [ + 19, + 19, + 248046 + ], + "response": "44<|im_end|>", + "stop": "eos", + "answer": 44, + "correct": false + } + } + }, + { + "id": "validation-005-1", + "task": "lookup", + "gold": 49, + "arms": { + "lisa": { + "tokens": [ + 19, + 19, + 248046 + ], + "response": "44<|im_end|>", + "stop": "eos", + "answer": 44, + "correct": false + } + } + }, + { + "id": "validation-006-0", + "task": "lookup", + "gold": 78, + "arms": { + "lisa": { + "tokens": [ + 22, + 23, + 248046 + ], + "response": "78<|im_end|>", + "stop": "eos", + "answer": 78, + "correct": true + } + } + }, + { + "id": "validation-006-1", + "task": "lookup", + "gold": 29, + "arms": { + "lisa": { + "tokens": [ + 22, + 19, + 248046 + ], + "response": "74<|im_end|>", + "stop": "eos", + "answer": 74, + "correct": false + } + } + }, + { + "id": "validation-007-0", + "task": "lookup", + "gold": 64, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": false + } + } + }, + { + "id": "validation-007-1", + "task": "lookup", + "gold": 50, + "arms": { + "lisa": { + "tokens": [ + 24, + 18, + 248046 + ], + "response": "93<|im_end|>", + "stop": "eos", + "answer": 93, + "correct": false + } + } + } + ] + } + ] +} diff --git a/results/lisa-combinations/shared-uniform/verified.json b/results/lisa-combinations/shared-uniform/verified.json new file mode 100644 index 0000000..9f274b4 --- /dev/null +++ b/results/lisa-combinations/shared-uniform/verified.json @@ -0,0 +1,18 @@ +{ + "updates": 48, + "validation_correct": [ + 3, + 5 + ], + "selected_epoch": 2, + "selected_pairs_both_correct": 1, + "corrected_vs_prior": [], + "lost_vs_prior": [], + "matches_prior_48_fit_loss_records": true, + "selected_tensors_match_prior": true, + "sha256": { + "config.json": "59b9f4c954269294a59ca40227a9fcd69f6a591e9a023f01a2cad4f51bcd15bb", + "trace.json": "34be3c67e5c82aed4bfdd6bdd17ac8bf8b6efb830faa08c7373dc3af03936d52", + "lisa.pt": "c82db5af7fa42cf58a349f3e53961da2360b211a7ed606f53a728860c64f6f29" + } +}