[bugfix] do not add extra linebreak for score/rerank with chat template (#38617)
Signed-off-by: augusto.yjh <augusto.yjh@antgroup.com> Signed-off-by: wang.yuqi <noooop@126.com> Co-authored-by: wang.yuqi <yuqi.wang@daocloud.io> Co-authored-by: wang.yuqi <noooop@126.com> Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
This commit is contained in:
co-authored by
wang.yuqi
wang.yuqi
Cyrus Leung
parent
eb47454987
commit
ef53395e2c
@@ -150,6 +150,7 @@ def _parse_score_content(
|
||||
mm_tracker=mm_tracker,
|
||||
wrap_dicts=False,
|
||||
interleave_strings=False,
|
||||
multimodal_content_part_separator="",
|
||||
)
|
||||
|
||||
if parse_res:
|
||||
|
||||
Reference in New Issue
Block a user