Skip to content

Commit

Permalink
Remove eval_frequency as it is better to evaluate constantly
Browse files Browse the repository at this point in the history
  • Loading branch information
jshuadvd committed Jul 8, 2024
1 parent ebb16dd commit f03ea61
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ def train(
epochs=10,
gradient_accumulation_steps=4,
resume_from_checkpoint=None,
eval_frequency=5,
):
"""
Train the LongRoPE model.
Expand All @@ -156,7 +155,6 @@ def train(
epochs (int): Number of training epochs.
gradient_accumulation_steps (int): Number of steps to accumulate gradients.
resume_from_checkpoint (str): Path to a checkpoint to resume training from.
eval_frequency (int): Number of epochs between evaluations.
Returns:
None
Expand Down

0 comments on commit f03ea61

Please sign in to comment.