MCPcopy Create free account
hub / github.com/PrathamLearnsToCode/paper2code / load_config

Function load_config

skills/paper2code/scaffolds/train_template.py:25–28  ·  view source on GitHub ↗

Load training configuration.

(config_path: str = "configs/base.yaml")

Source from the content-addressed store, hash-verified

23
24
25def load_config(config_path: str = "configs/base.yaml") -> dict:
26 """Load training configuration."""
27 with open(config_path) as f:
28 return yaml.safe_load(f)
29
30
31def build_optimizer(

Callers 1

trainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected