Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyouga authored and Yu Wang committed Sep 5, 2024
1 parent a0eb320 commit d5ebb20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llamafactory/data/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def get_template_and_fix_tokenizer(
name: Optional[str] = None,
tool_format: Optional[str] = None,
) -> Template:
if name == "qwen2_vl":
if name in ["llava", "paligemma", "qwen2_vl"]:
require_version(
"transformers>=4.45.0.dev0", "To fix: pip install git+https://github.com/huggingface/transformers.git"
)
Expand Down

0 comments on commit d5ebb20

Please sign in to comment.