refactor(configs, data_loading): improve code clarity and add docstrings

This commit is contained in:
2026-02-28 22:07:25 +08:00
parent 88d1d0790d
commit f0479cc69b
6 changed files with 201 additions and 59 deletions

View File

@@ -1,3 +1,5 @@
"""Configuration management module for unified config."""
from .config import (
ConfigManager,
cfg_manager,
@@ -8,7 +10,6 @@ from .models import (
DatasetConfig,
ModelConfig,
OutputConfig,
PoolingType,
)
__all__ = [
@@ -17,7 +18,6 @@ __all__ = [
"OutputConfig",
"DatasetConfig",
"Config",
"PoolingType",
# Loader
"load_yaml",
"save_yaml",