[fix] Revert "fixing mm placeholder replacement issue with gemma3" (#28285)

Signed-off-by: Kevin H. Luu <khluu000@gmail.com>
This commit is contained in:
Kevin H. Luu
2025-11-07 04:09:09 -08:00
committed by GitHub
parent 1958bda9b4
commit 8e19d470af

View File

@@ -401,7 +401,7 @@ class Gemma3MultiModalProcessor(BaseMultiModalProcessor[Gemma3ProcessingInfo]):
def get_repl_toks(tok: int) -> list[int]:
if tok == newline_3:
return [newline_2, newline_1]
return [newline_1, newline_2]
if tok == newline_4:
return [newline_2, newline_2]