Reorder stableCodeFimTemplate.stop order
Some providers have a limited number of STOPs that can be accepted (e.g., NVIDIA NIMs, groq, etc). This means that the ordering of the first 4 default STOPS is important. Starcoder has an interesting issue where it emits <file_sep> as part of it's completion and having this supplied as part of the 4 first stops helps to provide better completions. Signed-off-by: Adam Wallis <awallis@nvidia.com>
This commit is contained in:
parent
0db1112ccc
commit
c408bf62fb
1 changed files with 2 additions and 2 deletions
|
|
@ -33,8 +33,8 @@ const stableCodeFimTemplate: AutocompleteTemplate = {
|
|||
"<fim_prefix>",
|
||||
"<fim_suffix>",
|
||||
"<fim_middle>",
|
||||
"<|endoftext|>",
|
||||
"<file_sep>",
|
||||
"<|endoftext|>",
|
||||
"</fim_middle>",
|
||||
"</code>",
|
||||
],
|
||||
|
|
@ -134,8 +134,8 @@ const starcoder2FimTemplate: AutocompleteTemplate = {
|
|||
"<fim_prefix>",
|
||||
"<fim_suffix>",
|
||||
"<fim_middle>",
|
||||
"<|endoftext|>",
|
||||
"<file_sep>",
|
||||
"<|endoftext|>",
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue