feat: Add support for minP, repeatLastN, and repeatPenalty model settings

This commit is contained in:
n4ze3m
2024-12-28 17:38:52 +05:30
parent ef40b9a242
commit aa49f03f63
10 changed files with 209 additions and 26 deletions

View File

@@ -32,6 +32,7 @@ type ModelSettings = {
useMLock?: boolean
useMMap?: boolean
vocabOnly?: boolean
minP?: number
}
const keys = [
@@ -62,7 +63,8 @@ const keys = [
"typicalP",
"useMLock",
"useMMap",
"vocabOnly"
"vocabOnly",
"minP",
]
export const getAllModelSettings = async () => {