Skip to content

Commit

Permalink
Remove duplicate code.
Browse files Browse the repository at this point in the history
  • Loading branch information
justusc committed Sep 13, 2023
1 parent 499df3e commit 46bdbf2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/together/finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,6 @@ def create(
f"The number of checkpoints must be < the number of epochs, setting to {n_checkpoints}"
)

# Set default batch size
if batch_size is None:
if model in [
"togethercomputer/llama-2-70b",
"togethercomputer/llama-2-70b-chat",
]:
batch_size = 144
else:
batch_size = 32

if (
model
in ["togethercomputer/llama-2-70b", "togethercomputer/llama-2-70b-chat"]
Expand Down

0 comments on commit 46bdbf2

Please sign in to comment.