AstrAI/astrai/model
ViperEkura e12f1a7ee5 feat: BaseModelConfig + DeepSeekMoE + 工厂模式替代 if/else
- BaseModelConfig: fields() 精确字段匹配 + 类型矫正 + 未知key警告
- DeepSeekMoE: 共享专家 + 路由专家 + top-K 门控
- AttnFactory/FFNFactory: 装饰器注册,DecoderBlock 零分支
- config 用 attn_type/ffn_type 驱动组件选择
2026-05-15 20:34:52 +08:00
..
components feat: BaseModelConfig + DeepSeekMoE + 工厂模式替代 if/else 2026-05-15 20:34:52 +08:00
__init__.py refactor: 拆分 module.py 为 components 子包 2026-05-15 20:08:36 +08:00
automodel.py refactor: 消除多处重复模式,统一工厂和参数传递 2026-05-14 18:00:50 +08:00
transformer.py feat: BaseModelConfig + DeepSeekMoE + 工厂模式替代 if/else 2026-05-15 20:34:52 +08:00