Unverified Commit 18c1f16d authored by Cyrus Leung's avatar Cyrus Leung Committed by GitHub
Browse files

[Bugfix] Fix arguments passed to `Sequence` in stop checker test (#5092)

parent 5bd3c650
...@@ -15,8 +15,11 @@ def sequence_with_eos(text: str, eos_token: str, ...@@ -15,8 +15,11 @@ def sequence_with_eos(text: str, eos_token: str,
""" """
seq = Sequence( seq = Sequence(
seq_id=0, seq_id=0,
prompt="", inputs={
prompt_token_ids=[], "prompt": "",
"prompt_token_ids": [],
"multi_modal_data": None,
},
block_size=16, block_size=16,
eos_token_id=eos_token_id, eos_token_id=eos_token_id,
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment