Skip to content

Commit 2643079

Browse files
benlipkinloubnabnl
andauthored
Update model names
Co-authored-by: Loubna Ben Allal <[email protected]>
1 parent d46a99c commit 2643079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lm_eval/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def _make_infill_prompt(self, prefix, suffix, preprefix=""):
9595
return f"{preprefix}{prefix}<|mask:0|>{suffix}<|mask:0|>"
9696
elif model_id in ["bigcode/santacoder"]:
9797
return f"<fim-prefix>{preprefix}{prefix}<fim-suffix>{suffix}<fim-middle>"
98-
elif model_id in ["bigcode/large-model", "bigcode/temp-model"]:
98+
elif model_id in ["bigcode/starcoder", "bigcode/starcoderbase"]:
9999
return f"<fim_prefix>{preprefix}{prefix}<fim_suffix>{suffix}<fim_middle>"
100100
else:
101101
raise ValueError(f"Infilling not yet supported for: {model_id}")

0 commit comments

Comments
 (0)