Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions tests/models/cohere2/test_modeling_cohere2.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,6 @@ def test_generation_beyond_sliding_window(self, attn_implementation: str):
output_text = tokenizer.batch_decode(out)

self.assertEqual(output_text, EXPECTED_COMPLETIONS)


del CohereModelTest, CohereModelTester # So the parent tests don't run in this file too
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,6 @@ def test_model_generation(self):
text = tokenizer.decode(generated_ids[0], skip_special_tokens=True)

self.assertEqual(EXPECTED_TEXT_COMPLETION, text)


del BambaModelTest, BambaModelTester # So the parent tests don't run in this file too