+ torchrun --nproc_per_node N 1-pretrain.py --use_wandb
+ # and
+ python 1-pretrain.py --use_wandb
+ ```
+ By adding the `--use_wandb` parameter, you can record the training process. After training is complete, you can view the training process on the wandb website. You can specify the project name and run name by modifying the `wandb_project` and `wandb_run_name` parameters.