prompt
FreeAutonomous ML Research Agent for unattended experiment iteration on single-GPU nanochat training.
About prompt
A system prompt designed to instruct a large language model to function as an autonomous ML research agent. The agent runs a closed loop of machine-learning experiments on a fixed codebase, modifying train.py, training for a fixed wall-clock budget, measuring a single ground-truth metric (val_bpb, memory_gb), and either keeping or discarding changes. It operates without human intervention, forming hypotheses, running 5-minute experiments, and iterating overnight. Based on the karpathy/autoresearch project (MIT license, 80k+ stars), this prompt enables unattended search through code and hyperparameter space for nano-scale language model training on a single GPU.
Key Features
Pros & Cons
- Enables fully autonomous, unattended ML research experimentation
- Structured loop of hypothesis formation, implementation, and validation
- Reduces human effort for repetitive hyperparameter sweeps
- Open-source prompt with MIT license, freely usable and modifiable
- Designed for reproducibility with baseline establishment and versioned changes
- Requires a properly set up environment and training data to function
- Limited to single-GPU nano-scale training scenarios described in the repo
- May consume significant compute resources over prolonged iteration
- Not suitable for multi-GPU or large-scale model training experiments
- Assumes the agent has write access to a specific codebase and Git branch