Skip to content

Commit 41ccdf4

Browse files
committed
fix expected output
1 parent 4b8d1f7 commit 41ccdf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/quantization/ggml/test_ggml.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -630,9 +630,9 @@ def test_falcon7b_q2_k(self):
630630
)
631631

632632
text = tokenizer(self.example_text, return_tensors="pt")["input_ids"].to(torch_device)
633-
out = model.generate(text, max_new_tokens=10)
633+
out = model.generate(text, max_new_tokens=16)
634634

635-
EXPECTED_TEXT = "Hello All,\nI am new to this forum."
635+
EXPECTED_TEXT = 'Hello,\nI am trying to use the "get_post_meta"'
636636
self.assertEqual(tokenizer.decode(out[0], skip_special_tokens=True), EXPECTED_TEXT)
637637

638638
def test_falcon7b_weights_conversion_fp16(self):

0 commit comments

Comments
 (0)