Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
pengwa committed Mar 11, 2024
1 parent 2145da4 commit 1fdad1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def _get_bert_for_sequence_classification_sample_data_with_random_shapes(device)
return input_ids, input_mask, labels


def _get_bert_for_sequence_classification_sample_data(device, shape):
def _get_bert_for_sequence_classification_sample_data(device):
"""Returns sample data to be used with BertForSequenceClassification model"""

input_ids = torch.randint(0, 100, (32, 64), dtype=torch.long, device=device)
Expand Down

0 comments on commit 1fdad1d

Please sign in to comment.