Adds support for StarChat for autocomplete (#847)
Updates the handling of template generation to treat StarChat models the same as StarCoder models.
This commit is contained in:
parent
808af46182
commit
53c591f8d0
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ export function getTemplateForModel(model: string): AutocompleteTemplate {
|
|||
if (
|
||||
lowerCaseModel.includes("starcoder") ||
|
||||
lowerCaseModel.includes("star-coder") ||
|
||||
lowerCaseModel.includes("starchat") ||
|
||||
lowerCaseModel.includes("stable")
|
||||
) {
|
||||
return stableCodeFimTemplate;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue