Autocomplete: make Granite 3 detection broader
The Granite 3 models on Hugging Face use names like: https://huggingface.co/ibm-granite/granite-3.1-8b-instruct Compared to: https://ollama.com/library/granite3.1-dense Use the hole-filler template for names with or without the dash.
This commit is contained in:
parent
af175c6fd9
commit
71186117ef
1 changed files with 2 additions and 1 deletions
|
|
@ -399,7 +399,8 @@ export function getTemplateForModel(model: string): AutocompleteTemplate {
|
|||
lowerCaseModel.includes("gpt") ||
|
||||
lowerCaseModel.includes("davinci-002") ||
|
||||
lowerCaseModel.includes("claude") ||
|
||||
lowerCaseModel.includes("granite3")
|
||||
lowerCaseModel.includes("granite3") ||
|
||||
lowerCaseModel.includes("granite-3")
|
||||
) {
|
||||
return holeFillerTemplate;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue