MCPcopy Create free account
hub / github.com/OpenMOSS/MOSS-TTS / load_source_config

Function load_source_config

scripts/extract_weights_llama_cpp.py:60–62  ·  view source on GitHub ↗
(model_dir: Path)

Source from the content-addressed store, hash-verified

58
59
60def load_source_config(model_dir: Path) -> dict:
61 with open(model_dir / "config.json") as f:
62 return json.load(f)
63
64
65def build_qwen3_config(moss_config: dict) -> dict:

Callers 1

extractFunction · 0.70

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected