Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintao-Huang committed Oct 5, 2024
1 parent 1b6cad3 commit 04f1748
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions swift/llm/template/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,6 @@ def __init__(self):


register_template(TemplateType.default_generation, DefaultGenerationTemplate(), is_generation=True)
register_template(
TemplateType.default_generation_bos,
Template([['bos_token_id']], ['{{QUERY}}'], None, [['eos_token_id']]),
is_generation=True)


class ChatmlTemplateMixin:
system = None
Expand Down

0 comments on commit 04f1748

Please sign in to comment.