File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -510,7 +510,7 @@ def test_simple_generate(self):
510510 EXPECTED_TEXTS = {
511511 # 7: "",
512512 8 : "<|begin_of_text|>Hey how are you doing on this lovely evening? I hope you are all having a good time." ,
513- # 9: "" ",
513+ 9 : "<|begin_of_text|>Hey how are you doing on this lovely evening? I hope you are doing well. I am here " ,
514514 }
515515
516516 self .model .to (torch_device )
@@ -549,7 +549,10 @@ def test_simple_batched_generate_with_padding(self):
549549 "<|begin_of_text|>Hey how are you doing on this lovely evening? I hope you are doing well. I am here" ,
550550 "!!!<|begin_of_text|>I am late! I need to get to work! I have to get to the" ,
551551 ],
552- 9 : [],
552+ 9 : [
553+ "<|begin_of_text|>Hey how are you doing on this lovely evening? I hope you are doing well. I am here" ,
554+ "!!!<|begin_of_text|>I am late! I need to be at the airport in 20 minutes! I" ,
555+ ],
553556 }
554557
555558 self .model .to (torch_device )
You can’t perform that action at this time.
0 commit comments