Skip to content

Commit 8613c5c

Browse files
committed
align fim tokens
1 parent 8d6a6a9 commit 8613c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigcode_eval/tasks/santacoder_fim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def __init__(self):
124124
fim_prefix = "<fim_prefix>"
125125
fim_middle = "<fim_middle>"
126126
fim_suffix = "<fim_suffix>"
127-
stop_words = ["<|endoftext|>"]
127+
stop_words = ["<|endoftext|>", "<|filename|>"]
128128
super().__init__(
129129
stop_words=stop_words,
130130
requires_execution=False,

0 commit comments

Comments
 (0)