Add files via upload

This commit is contained in:
Yiying Yang
2026-03-01 23:40:10 +08:00
committed by GitHub
parent f7732e144d
commit 3fd7d89daa
+1 -3
View File
@@ -3724,8 +3724,6 @@ class LottieTensor:
if model_path is None: if model_path is None:
# 尝试多个可能的路径 # 尝试多个可能的路径
possible_paths = [ possible_paths = [
'/mnt/jfs-test/Qwen2.5-VL-3B-Instruct',
'/data/models/Qwen2.5-VL-3B-Instruct',
'Qwen/Qwen2.5-VL-3B-Instruct', # HuggingFace Hub 'Qwen/Qwen2.5-VL-3B-Instruct', # HuggingFace Hub
] ]
for path in possible_paths: for path in possible_paths:
@@ -3746,7 +3744,7 @@ class LottieTensor:
def get_tokenizer(cls): def get_tokenizer(cls):
if cls.tokenizer is None: if cls.tokenizer is None:
from transformers import AutoTokenizer from transformers import AutoTokenizer
cls.tokenizer = AutoTokenizer.from_pretrained('/mnt/jfs-test/Qwen2.5-VL-3B-Instruct') cls.tokenizer = AutoTokenizer.from_pretrained('Qwen/Qwen2.5-VL-3B-Instruct')
return cls.tokenizer return cls.tokenizer