mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-23 06:12:50 +08:00
[data] fix base plugin (#7924)
This commit is contained in:
parent
d8295cd601
commit
41ec928683
@ -393,7 +393,6 @@ class BasePlugin(MMPluginMixin):
|
|||||||
) -> list[dict[str, str]]:
|
) -> list[dict[str, str]]:
|
||||||
r"""Pre-process input messages before tokenization for VLMs."""
|
r"""Pre-process input messages before tokenization for VLMs."""
|
||||||
self._validate_input(processor, images, videos, audios)
|
self._validate_input(processor, images, videos, audios)
|
||||||
self._validate_messages(messages, images, videos, audios)
|
|
||||||
return messages
|
return messages
|
||||||
|
|
||||||
def process_token_ids(
|
def process_token_ids(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user