Skip to content

Commit

Permalink
Update the train method to use the passkey test
Browse files Browse the repository at this point in the history
  • Loading branch information
jshuadvd committed Jul 5, 2024
1 parent b601dcf commit 1400108
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,15 @@ def main():
scheduler = CosineAnnealingLR(optimizer, T_max=10)

# Train the recovered model
train(recovered_model, train_loader, val_loader, optimizer, criterion, scheduler)
train(
recovered_model,
train_loader,
val_loader,
optimizer,
criterion,
scheduler,
tokenizer,
)

# Finish logging and close the Weights & Biases run
wandb.finish()
Expand Down

0 comments on commit 1400108

Please sign in to comment.