mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-01 18:51:14 +06:00
[cleanup] remove confusing newline (#6603)
This commit is contained in:
parent
18ca0e9140
commit
93c5c9a528
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user