mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-11-05 18:32:14 +08:00
parent
79dc670256
commit
5cb08a30c2
@ -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