From fe2d2f5cdf7897af9f9eb5666ac7da274c9cc61c Mon Sep 17 00:00:00 2001 From: bug-orz Date: Thu, 24 Jul 2025 13:39:14 +0800 Subject: [PATCH] Chinese comment to English Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- easydistill/mmkd/infer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easydistill/mmkd/infer.py b/easydistill/mmkd/infer.py index 13a4174..02add50 100644 --- a/easydistill/mmkd/infer.py +++ b/easydistill/mmkd/infer.py @@ -55,7 +55,7 @@ def load_tokenizer_and_vllm(config, eos_token=None): model_path = config["models"]["teacher"] logging.info(f"Loading processor & vLLM model from {model_path}") - # 1. 统一用 AutoProcessor(已整合 tokenizer + image_processor + video_processor) + # 1. Use AutoProcessor, which integrates the tokenizer, image_processor, and video_processor processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True) # 2. eos / pad token 处理(与官方示例保持一致,不再显式改 pad_token)