Skip to content

Commit 008ee8c

Browse files
skandermoallaThe gemma Authors
authored andcommitted
Remove unused redundant chat template.
The template used everywhere in the codebase is from `gemma.gm.text._template`. PiperOrigin-RevId: 830388073
1 parent 8f06a6f commit 008ee8c

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

gemma/gm/data/_tasks.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@
2929
import numpy as np
3030

3131

32-
# Note: The template end by `\n` !
33-
_PROMPT_TEMPLATE = """\
34-
<start_of_turn>user
35-
{}<end_of_turn>
36-
<start_of_turn>model
37-
"""
38-
_ANSWER_TEMPLATE = "{}<end_of_turn>"
39-
40-
4132
@dataclasses.dataclass(kw_only=True, frozen=True)
4233
class Seq2SeqTask(grain.MapTransform):
4334
"""Sequence-to-sequence task.

0 commit comments

Comments
 (0)