Skip to content

Commit 1926467

Browse files
authored
change chat template (#216)
1 parent 038ebcf commit 1926467

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: src/alpaca_eval/models_configs/internlm2-chat-20b-ppo/configs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ internlm2-chat-20b-ppo:
1010
max_new_tokens: 2048
1111
batch_size: 32
1212
eos_token_id: 92542
13-
remove_ending: "[UNUSED_TOKEN_145]"
13+
remove_ending: "<|im_end|>"
1414
pretty_name: "InternLM2 Chat 20B"
1515
link: "https://huggingface.co/internlm/internlm2-chat-20b"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[UNUSED_TOKEN_146]user
2-
{instruction}[UNUSED_TOKEN_145]
3-
[UNUSED_TOKEN_146]assistant
1+
<|im_start|>user
2+
{instruction}<|im_end|>
3+
<|im_start|>assistant

0 commit comments

Comments
 (0)