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

This commit is contained in:
Cyrus Leung 2024-05-29 15:16:41 +08:00 committed by GitHub
parent 5bd3c65072
commit 18c1f16d86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
)