You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: automatic dataset download at evaluation time #1353
When a user runs an evaluation, the dataset should be available without a separate manual step. Today, users must run ng_prepare_data with +should_download=true before they can evaluate. For evaluation workflows, this is unnecessary friction — the run command should handle it transparently.
Proposal
When gym run (or ng_collect_rollouts) is invoked and the dataset JSONL file is not present locally, Gym should automatically download it from the configured registry (HuggingFace or GitLab) based on the dataset config's huggingface_identifier or gitlab_identifier.
Expected behavior
User runs gym run --env vals --agent simple_agent --model Qwen/Qwen3-30B-A3B
Gym checks whether the dataset JSONL exists at the configured jsonl_fpath
If missing, downloads from the registry specified in the dataset config
Proceeds with evaluation
No separate ng_prepare_data step required for evaluation.
Acceptance Criteria
gym run (or equivalent) automatically downloads missing datasets before evaluation
Download source is determined from the dataset config (huggingface_identifier or gitlab_identifier)
Downloaded datasets are cached locally so subsequent runs don't re-download
Clear progress output during download (dataset name, source, size)
ng_prepare_data remains available as a standalone command for training data preparation and PR validation workflows
Activity