MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / parse_args

Function parse_args

scripts/download_embedding_model.py:25–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def parse_args() -> argparse.Namespace:
26 parser = argparse.ArgumentParser(description="Download a local embedding model snapshot.")
27 parser.add_argument("--model-id", default=DEFAULT_MODEL_ID, help="Hugging Face model id.")
28 parser.add_argument(
29 "--dest",
30 default=str(DEFAULT_DEST),
31 help="Local destination directory.",
32 )
33 return parser.parse_args()
34
35
36def main() -> int:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected