"git@developer.sourcefind.cn:wangsen/mineru.git" did not exist on "98adcbb9c844371b4e604d210e353a9688d2bf5e"
Commit 77e67750 authored by Patrick von Platen's avatar Patrick von Platen
Browse files

add current changes

parent 333affcb
...@@ -515,7 +515,8 @@ class BartModelIntegrationTest(unittest.TestCase): ...@@ -515,7 +515,8 @@ class BartModelIntegrationTest(unittest.TestCase):
max_length=max_length + 2, max_length=max_length + 2,
min_length=min_length + 1, min_length=min_length + 1,
no_repeat_ngram_size=3, no_repeat_ngram_size=3,
do_sample=False do_sample=False,
early_stopping=True
) )
decoded = [ decoded = [
tok.decode(g, skip_special_tokens=True, clean_up_tokenization_spaces=False) for g in hypotheses_batch tok.decode(g, skip_special_tokens=True, clean_up_tokenization_spaces=False) for g in hypotheses_batch
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment