AstrAI/tests/data
ViperEkura 6ae1828449 refactor : 清理工厂和配置系统中的死代码与冗余抽象
- 删除 Registry 中未使用的 category/priority 字段,_entries 简化为直接存储类引用
- 修正 __init_subclass__ 避免叶子类(AutoRegressiveLM 等)创建空注册表
- 删除 5 个工厂的薄 create() 覆写,统一使用 BaseFactory.create(name, *args, **kwargs)
- 删除 3 处零调用的 available_types/available_strategies 别名死代码
- 删除零调用的 BaseModelConfig.to_file 死代码
- 将 BaseConfig.from_json/to_json 重命名为 from_file/to_file,消除与子类重复
- 移除两个 inference builder 中总是被覆写的 prompt_tokens=0
2026-06-07 11:39:50 +08:00
..
conftest.py feat : preprocessing 支持 DPO/GRPO 多输出格式 2026-06-03 10:32:10 +08:00
test_checkpoint.py refactor: 统一序列化层,消除分散的 I/O 路径 2026-05-26 16:44:40 +08:00
test_dataset.py test : SFT 测试数据补全 position_ids 字段 2026-06-04 14:01:04 +08:00
test_preprocess_builder.py refactor : BaseFactory 基类类型自动推导 + 移除冗余代码 2026-06-06 21:23:41 +08:00
test_preprocess_config.py refactor : 清理工厂和配置系统中的死代码与冗余抽象 2026-06-07 11:39:50 +08:00
test_preprocess_pipeline.py feat : preprocessing 支持 DPO/GRPO 多输出格式 2026-06-03 10:32:10 +08:00
test_sampler.py chore: 将data 模块命名为dataset 2026-04-04 16:16:27 +08:00