Files
wehub-resource-sync a203934033
Lint test / lint (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:34:58 +08:00

12 lines
650 B
Python

# Copyright (c) ModelScope Contributors. All rights reserved.
from . import templates
from .base import MaxLengthError, Template
from .constant import TemplateType
from .grounding import draw_bbox
from .register import TEMPLATE_MAPPING, get_template, get_template_meta, register_template
from .template_inputs import StdTemplateInputs, TemplateInputs
from .template_meta import TemplateMeta
from .utils import (ContextType, History, Messages, Prompt, Tool, Word, get_last_user_round, history_to_messages,
messages_to_history, split_str_parts_by, update_generation_config_eos_token)
from .vision_utils import load_file, load_image