Skip to content

Commit

Permalink
training time
Browse files Browse the repository at this point in the history
  • Loading branch information
puririshi98 committed Oct 1, 2024
1 parent 5d9d16f commit 0fa3490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/llm/g_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def adjust_learning_rate(param_group, LR, epoch):
print("testing on 500 random instances to start...")
break
with torch.no_grad():
eval_output.append(inference_step(model, batch, model_save_name))
eval_output.append(inference_step(model, batch, model_save_name=model_save_name))
progress_bar_test.update(1)

compute_metrics(eval_output)
Expand Down

0 comments on commit 0fa3490

Please sign in to comment.