chore: import upstream snapshot with attribution
Lint test / lint (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:34:58 +08:00
commit a203934033
1368 changed files with 175001 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# 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