Skip to content

Commit

Permalink
Merge branch 'main' into release/2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintao-Huang committed Oct 21, 2024
2 parents 6e49bf6 + 1756257 commit 64d8080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swift/llm/utils/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3173,7 +3173,7 @@ def data_collator(self, batch: List[Dict[str, Any]], padding_to: Optional[int] =
return res


register_template(TemplateType.molmo, MolmoTemplate())
register_template(TemplateType.molmo, MolmoTemplate(), lazy_tokenize=True, use_model=True)


class PaliGemmaTemplate(Template):
Expand Down

0 comments on commit 64d8080

Please sign in to comment.