[data] gemma3 plugin pan and scan (#7294)
* gemma3 pan and scan * add test case * fix test
This commit is contained in:
@@ -1263,6 +1263,7 @@ register_template(
|
||||
format_user=StringFormatter(slots=["{{content}}\n"]),
|
||||
format_prefix=EmptyFormatter(slots=[{"bos_token"}]),
|
||||
mm_plugin=get_mm_plugin(name="paligemma", image_token="<image>"),
|
||||
template_class=Llama2Template,
|
||||
)
|
||||
|
||||
|
||||
@@ -1277,6 +1278,7 @@ register_template(
|
||||
format_prefix=EmptyFormatter(slots=[{"bos_token"}]),
|
||||
stop_words=["<end_of_turn>"],
|
||||
mm_plugin=get_mm_plugin(name="paligemma", image_token="<image>"),
|
||||
template_class=Llama2Template,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user