mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 23:58:11 +08:00
[data] fix base plugin (#7924)
This commit is contained in:
parent
052ca871bd
commit
c566e39b7d
@ -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