Skip to content

Commit

Permalink
Update recommenders/models/newsrec/models/base_model.py
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Fierro <[email protected]>
  • Loading branch information
sumana-2705 and miguelgfierro authored Jul 6, 2024
1 parent 2a9604e commit 650ad36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recommenders/models/newsrec/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def fit(
)

for batch_data_input in tqdm_util:
if step_limit is not None and step_limit>=step_limit:
if step_limit is not None and step>=step_limit:
break

step_result = self.train(batch_data_input)
Expand Down

0 comments on commit 650ad36

Please sign in to comment.