Download main.py from RL-MIND/Harness-Continual-Learning: direct link, hf CLI and curl.
- Browser
- Download file 421 Bytes
-
https://huggingface.co/RL-MIND/Harness-Continual-Learning/resolve/main/main.py
- Command line
-
hf download hf://RL-MIND/Harness-Continual-Learning/main.py
-
curl -L -o main.py https://huggingface.co/RL-MIND/Harness-Continual-Learning/resolve/main/main.py
421 Bytes
| """Repository-level entry point for HCL experiments.""" | |
| from __future__ import annotations | |
| import sys | |
| from hcl.cli import main as cli_main | |
| def main() -> int: | |
| """Run HCL while keeping ``python main.py --config ...`` convenient.""" | |
| argv = sys.argv[1:] | |
| if not argv or argv[0].startswith("-"): | |
| argv = ["run", *argv] | |
| return cli_main(argv) | |
| if __name__ == "__main__": | |
| raise SystemExit(main()) | |