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
2 changes: 1 addition & 1 deletion tests/models/helium/test_modeling_helium.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_model_2b(self):
model_id = "kyutai/helium-1-preview"
expected_texts = Expectations(
{
("rocm", (9, 5)): ["Hello, today is a great day to start a new project. I have been working on a new project for a while now, and I"],
("rocm", (9, 5)): ["Hello, today is a great day to start a new project. I have been working on a new project for a while now, and I have"],
(None, None): ["Hello, today is a great day to start a new project. I have been working on a new project for a while now and I have"],
("cuda", 8): ['Hello, today is a great day to start a new project. I have been working on a new project for a while now, and I'],
}
Expand Down
2 changes: 1 addition & 1 deletion tests/models/openai/test_modeling_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,5 +300,5 @@ def test_lm_generate_openai_gpt(self):
481,
] # the president is a very good man. " \n " i\'m sure he is, " said the

output_ids = model.generate(input_ids, do_sample=False)
output_ids = model.generate(input_ids, do_sample=False, max_length=20)
self.assertListEqual(output_ids[0].tolist(), expected_output_ids)