darwinkernelpanic commited on
Commit
42d3342
·
verified ·
1 Parent(s): 175f148

Upload train_autogrow.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. train_autogrow.py +1 -1
train_autogrow.py CHANGED
@@ -126,7 +126,7 @@ if __name__ == "__main__":
126
  api = HfApi()
127
  start_time = time.time()
128
  step = 0
129
- while True:
130
  for batch in dataloader:
131
  optimizer.zero_grad()
132
  input_ids = batch["input_ids"].to("cuda")
 
126
  api = HfApi()
127
  start_time = time.time()
128
  step = 0
129
+ while True: # UNLIMITED STEPS - Let him grow!
130
  for batch in dataloader:
131
  optimizer.zero_grad()
132
  input_ids = batch["input_ids"].to("cuda")