mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
add current changes
This commit is contained in:
parent
333affcb81
commit
77e6775065
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue