[Bugfix] Fix arguments passed to Sequence
in stop checker test (#5092)
This commit is contained in:
parent
5bd3c65072
commit
18c1f16d86
@ -15,8 +15,11 @@ def sequence_with_eos(text: str, eos_token: str,
|
||||
"""
|
||||
seq = Sequence(
|
||||
seq_id=0,
|
||||
prompt="",
|
||||
prompt_token_ids=[],
|
||||
inputs={
|
||||
"prompt": "",
|
||||
"prompt_token_ids": [],
|
||||
"multi_modal_data": None,
|
||||
},
|
||||
block_size=16,
|
||||
eos_token_id=eos_token_id,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user