Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
93c5c9a5
Unverified
Commit
93c5c9a5
authored
Aug 20, 2020
by
Oren Amsalem
Committed by
GitHub
Aug 20, 2020
Browse files
[cleanup] remove confusing newline (#6603)
parent
18ca0e91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/transformers/generation_utils.py
src/transformers/generation_utils.py
+0
-1
No files found.
src/transformers/generation_utils.py
View file @
93c5c9a5
...
...
@@ -392,7 +392,6 @@ class GenerationMixin:
# get encoder and store encoder outputs
encoder
=
self
.
get_encoder
()
encoder_outputs
:
tuple
=
encoder
(
input_ids
,
attention_mask
=
attention_mask
)
# Expand input ids if num_beams > 1 or num_return_sequences > 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment