ViperEkura
|
4d3c9341c1
|
refactor: rewrite IFD evaluation with clean three-layer architecture
|
2026-07-04 18:33:51 +08:00 |
ViperEkura
|
1adca39cd8
|
fix: handle long sequences and optimize IFD computation
|
2026-07-04 08:35:45 +08:00 |
ViperEkura
|
204873fa2f
|
fix: handle long sequences and optimize IFD computation
|
2026-07-04 08:23:32 +08:00 |
ViperEkura
|
84d4769163
|
feat: SVD 有效秩/权重统计分析脚本
|
2026-06-29 21:39:22 +08:00 |
ViperEkura
|
b4587c5d08
|
refactor : metric_logger 改用事件类型 (type=step/validation/epoch)
- 每种事件独立 schema,不再混入 null 字段
- 回调顺序 validation 移到 metric_logger 之前,确保 on_optimizer_step 先跑
- 用内部 _last_val_loss 代替 TrainContext.last_val_iter 判断新验证
- 修复 factory.py 未使用导入、evaluate_ifeval.py 多余 f 前缀
|
2026-06-25 17:18:20 +08:00 |
ViperEkura
|
7348bac6ab
|
fix: 规范 generate.py 命令行接口
- generate.py 清理描述文字,help 统一标注默认值
- max_tokens 默认改为 None,回退 model config max_len
- evaluate_ppl.py 同步清理描述文字
- params.md 同步 max_tokens 默认值
|
2026-06-19 14:03:02 +08:00 |
ViperEkura
|
376e9eba80
|
feat: IFEval 使用 chat template 格式化 prompt,添加 model.eval()
- generate_one 用 tokenizer.apply_chat_template 包 user 消息
- 新增 model.eval() 关闭 dropout,确保确定性输出
|
2026-06-18 16:45:16 +08:00 |
ViperEkura
|
a62c2e11a2
|
feat: IFD 默认使用 chat template,支持裸文本模式
- 新增 _compute_ifd_with_template,用 tokenizer chat template 格式化后计算 IFD
- 默认开启 chat template,可通过 --no_chat_template 切换回裸拼接
- chat template 缺失时给出 RuntimeError 提示
|
2026-06-18 16:35:05 +08:00 |
ViperEkura
|
1818d06576
|
feat: 新增 IFD 数据质量评分工具, 移动 ppl 至 eval
- 计算指令遵循难度分数用于数据筛选
- IFD = 条件交叉熵 / 无条件交叉熵
- perplexity 移至 scripts/eval/
|
2026-06-16 22:03:45 +08:00 |
ViperEkura
|
4e8d1ee24e
|
feat: 新增 IFEval 指令遵循评测
- 实现 25 种正则约束 verifier
- 将评测脚本从 scripts/tools/ 移至 scripts/eval/
|
2026-06-16 21:57:34 +08:00 |