Skip to content

Commit 52ca075

Browse files
Update losses.py
1 parent 3945c87 commit 52ca075

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

open_flamingo/train/losses.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def __call__(
5757
attention_mask: torch.Tensor,
5858
autocast: callable,
5959
):
60-
print(input_ids[0])
6160
# set up labels; language model is expected to handle shifting
6261
labels = input_ids.clone()
6362
labels[labels == tokenizer.pad_token_id] = -100
@@ -88,4 +87,4 @@ def unwrap_model(model):
8887
):
8988
return model.module
9089
else:
91-
return model
90+
return model

0 commit comments

Comments
 (0)