Skip to content

Commit

Permalink
lInTiNG
Browse files Browse the repository at this point in the history
  • Loading branch information
SalmanMohammadi committed Aug 5, 2024
1 parent e76304c commit 4e6be43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchtune/utils/collate.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ def padded_collate(
(0, labels_seq_len - input_ids_seq_len),
value=padding_idx,
)
return {"tokens": input_ids.long(), "labels": labels.long()}
return {"tokens": input_ids.long(), "labels": labels.long()}

0 comments on commit 4e6be43

Please sign in to comment.