Skip to content

Commit

Permalink
update hyperparams
Browse files Browse the repository at this point in the history
  • Loading branch information
tloen committed Mar 14, 2023
1 parent 5cd474b commit 648af26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def generate_prompt(data_point):
MICRO_BATCH_SIZE = 4 # this could actually be 5 but i like powers of 2
BATCH_SIZE = 128
GRADIENT_ACCUMULATION_STEPS = BATCH_SIZE // MICRO_BATCH_SIZE
EPOCHS = 3 # from the result
LEARNING_RATE = 2e-5 # also from the result
EPOCHS = 1 # we don't need 3 tbh
LEARNING_RATE = 3e-4 # the karpathy constant
CUTOFF_LEN = 256 # 256 accounts for about 96% of the data

data = data.shuffle().map(
Expand Down

0 comments on commit 648af26

Please sign in to comment.