File size: 1,101 Bytes
250b7b4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #!/usr/bin/env python3
"""Print an HF Jobs preflight checklist for ML Intern Codex tasks."""
from __future__ import annotations
import argparse
ITEMS = [
"Private GitHub repo exists or creation plan recorded",
"GitHub source branch/commit/PR identified",
"Reference implementation/docs used",
"Dataset repo/config/splits/columns verified",
"Model repo/tokenizer/license/gating verified",
"Smoke test completed",
"Hardware choice and timeout justified",
"Hub artifact output configured: push_to_hub or explicit upload",
"Monitoring configured: Trackio/dashboard/logged metrics",
"One-job-first plan for risky scripts or sweeps",
]
def main() -> None:
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("--task", default="<task>", help="Short task name")
parser.add_argument("--job", default="<job name>", help="Planned HF Job name")
args = parser.parse_args()
print(f"HF Jobs preflight for {args.task} ({args.job})")
for item in ITEMS:
print(f"- [ ] {item}:")
if __name__ == "__main__":
main()
|