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
77e67750
"git@developer.sourcefind.cn:chenpangpang/ComfyUI.git" did not exist on "422d16c027009cd6165c86179dad937166de5312"
Commit
77e67750
authored
Mar 06, 2020
by
Patrick von Platen
Browse files
add current changes
parent
333affcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/test_modeling_bart.py
tests/test_modeling_bart.py
+2
-1
No files found.
tests/test_modeling_bart.py
View file @
77e67750
...
...
@@ -515,7 +515,8 @@ class BartModelIntegrationTest(unittest.TestCase):
max_length
=
max_length
+
2
,
min_length
=
min_length
+
1
,
no_repeat_ngram_size
=
3
,
do_sample
=
False
do_sample
=
False
,
early_stopping
=
True
)
decoded
=
[
tok
.
decode
(
g
,
skip_special_tokens
=
True
,
clean_up_tokenization_spaces
=
False
)
for
g
in
hypotheses_batch
...
...
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