- fixture 替代重复实例化和 tokenizer 落盘 - parametrize 合并同构测试 - helper 消除 save_h5 + DatasetFactory.load 样板 - 净减 272 行 |
||
|---|---|---|
| .. | ||
| test_encoder.py | ||
| test_forward_configs.py | ||
| test_lora.py | ||
| test_tie_weight.py | ||
- fixture 替代重复实例化和 tokenizer 落盘 - parametrize 合并同构测试 - helper 消除 save_h5 + DatasetFactory.load 样板 - 净减 272 行 |
||
|---|---|---|
| .. | ||
| test_encoder.py | ||
| test_forward_configs.py | ||
| test_lora.py | ||
| test_tie_weight.py | ||