[cleanup] remove confusing newline (#6603)
This commit is contained in:
@@ -392,7 +392,6 @@ class GenerationMixin:
|
|||||||
|
|
||||||
# get encoder and store encoder outputs
|
# get encoder and store encoder outputs
|
||||||
encoder = self.get_encoder()
|
encoder = self.get_encoder()
|
||||||
|
|
||||||
encoder_outputs: tuple = encoder(input_ids, attention_mask=attention_mask)
|
encoder_outputs: tuple = encoder(input_ids, attention_mask=attention_mask)
|
||||||
|
|
||||||
# Expand input ids if num_beams > 1 or num_return_sequences > 1
|
# Expand input ids if num_beams > 1 or num_return_sequences > 1
|
||||||
|
|||||||
Reference in New Issue
Block a user