Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions tests/models/bamba/test_modeling_bamba.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def test_simple_generate(self):
EXPECTED_TEXTS = {
# 7: "",
8: "<|begin_of_text|>Hey how are you doing on this lovely evening? I hope you are all having a good time.",
# 9: """,
9: "<|begin_of_text|>Hey how are you doing on this lovely evening? I hope you are doing well. I am here",
}

self.model.to(torch_device)
Expand Down Expand Up @@ -549,7 +549,10 @@ def test_simple_batched_generate_with_padding(self):
"<|begin_of_text|>Hey how are you doing on this lovely evening? I hope you are doing well. I am here",
"!!!<|begin_of_text|>I am late! I need to get to work! I have to get to the",
],
9: [],
9: [
"<|begin_of_text|>Hey how are you doing on this lovely evening? I hope you are doing well. I am here",
"!!!<|begin_of_text|>I am late! I need to be at the airport in 20 minutes! I",
],
}

self.model.to(torch_device)
Expand Down