mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-24 06:42:52 +08:00
parent
a65b5061af
commit
a3d47818b7
@ -349,7 +349,7 @@ def get_template_and_fix_tokenizer(
|
|||||||
name: Optional[str] = None,
|
name: Optional[str] = None,
|
||||||
tool_format: Optional[str] = None,
|
tool_format: Optional[str] = None,
|
||||||
) -> Template:
|
) -> Template:
|
||||||
if name == "qwen2_vl":
|
if name in ["llava", "paligemma", "qwen2_vl"]:
|
||||||
require_version(
|
require_version(
|
||||||
"transformers>=4.45.0.dev0", "To fix: pip install git+https://github.com/huggingface/transformers.git"
|
"transformers>=4.45.0.dev0", "To fix: pip install git+https://github.com/huggingface/transformers.git"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user