From d8b1a94519aee5ef761d6a3e30235e58b8630f6d Mon Sep 17 00:00:00 2001 From: Andrej Karpathy Date: Thu, 2 Feb 2023 18:38:49 +0000 Subject: [PATCH] change grad accum to default off because i think it just confuses everyone --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 77e713b..7808a54 100644 --- a/train.py +++ b/train.py @@ -45,7 +45,7 @@ wandb_project = 'owt' wandb_run_name = 'gpt2' # 'run' + str(time.time()) # data dataset = 'openwebtext' -gradient_accumulation_steps = 5 # used to simulate larger batch sizes +gradient_accumulation_steps = 1 # used to simulate larger batch sizes batch_size = 12 # if gradient_accumulation_steps > 1, this is the micro-batch size block_size = 1024 # model