Skip to content

Commit aace2ad

Browse files
EYH0602Copilot
andcommitted
Update src/tfbench/lm/_hf.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 69351de commit aace2ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tfbench/lm/_hf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def __init__(self, model_name: str, pure: bool = False):
3333

3434
def _gen(self, prompt: str) -> LMAnswer:
3535
messages = [
36-
{"role": "user", "content": prompt},
3736
{"role": "system", "content": self.instruction},
37+
{"role": "user", "content": prompt},
3838
]
3939
text = self.tokenizer.apply_chat_template(
4040
messages,

0 commit comments

Comments
 (0)