We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d17482 commit cb5ccccCopy full SHA for cb5cccc
bigcode_eval/tasks/santacoder_fim.py
@@ -59,11 +59,12 @@ def __init__(
59
fim_prefix: str = "<fim-prefix>",
60
fim_middle: str = "<fim-middle>",
61
fim_suffix: str = "<fim-suffix>",
62
+ stop_words: List[str] = ["<|endoftext|>", "<|filename|>"],
63
+ requires_execution: bool = False
64
):
- stop_words = ["<|endoftext|>", "<|filename|>"]
65
super().__init__(
66
stop_words=stop_words,
- requires_execution=False,
67
+ requires_execution=requires_execution,
68
)
69
self.fim_prefix = fim_prefix
70
self.fim_middle = fim_middle
0 commit comments