Skip to content

Commit

Permalink
chore: formating.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilabhra committed May 13, 2024
1 parent 92e0993 commit 83c70cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/models/falcon/test_modeling_falcon.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,9 +610,9 @@ def test_lm_generate_falcon_11b(self):
"tiiuae/falcon-11B", device_map={"": torch_device}, load_in_8bit=True
)
model.eval()
inputs = tokenizer("Two roads diverged in a yellow wood,", return_tensors="pt", return_token_type_ids=False).to(
torch_device
)
inputs = tokenizer(
"Two roads diverged in a yellow wood,", return_tensors="pt", return_token_type_ids=False
).to(torch_device)

EXPECTED_OUTPUT = "Two roads diverged in a yellow wood,\nAnd sorry I could not travel both\n"

Expand Down

0 comments on commit 83c70cd

Please sign in to comment.