| 16 | |
| 17 | |
| 18 | def parse_args() -> argparse.Namespace: |
| 19 | parser = argparse.ArgumentParser( |
| 20 | description="Personalization Lab - Memory Evaluation System", |
| 21 | formatter_class=argparse.RawDescriptionHelpFormatter, |
| 22 | ) |
| 23 | |
| 24 | parser.add_argument("-m", "--method", type=str, help="Method config name") |
| 25 | parser.add_argument("-d", "--dataset", type=str, help="Dataset name") |
| 26 | parser.add_argument("-o", "--output-dir", type=str, default="./outputs", help="Output directory") |
| 27 | parser.add_argument("--dry-run", action="store_true", help="Dry run mode") |
| 28 | parser.add_argument("-q", "--quiet", action="store_true", help="Quiet mode") |
| 29 | parser.add_argument("--list-methods", action="store_true", help="List available methods") |
| 30 | parser.add_argument("--list-datasets", action="store_true", help="List available datasets") |
| 31 | parser.add_argument("--list-agents", action="store_true", help="List available agent types") |
| 32 | parser.add_argument("--resume", action="store_true", help="Resume from checkpoint") |
| 33 | |
| 34 | return parser.parse_args() |
| 35 | |
| 36 | |
| 37 | def list_methods(config_loader: ConfigLoader) -> None: |