tweak: adjust minimax m2 topK and add minimax m2.1 topP
This commit is contained in:
parent
a8f5e69ede
commit
b7a9cc5fd3
1 changed files with 5 additions and 2 deletions
|
|
@ -228,13 +228,16 @@ export namespace ProviderTransform {
|
||||||
export function topP(model: Provider.Model) {
|
export function topP(model: Provider.Model) {
|
||||||
const id = model.id.toLowerCase()
|
const id = model.id.toLowerCase()
|
||||||
if (id.includes("qwen")) return 1
|
if (id.includes("qwen")) return 1
|
||||||
if (id.includes("minimax-m2")) return 0.95
|
if (id.includes("minimax-m2")) {
|
||||||
|
if (id.includes("m2.1")) return 0.9
|
||||||
|
return 0.95
|
||||||
|
}
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
export function topK(model: Provider.Model) {
|
export function topK(model: Provider.Model) {
|
||||||
const id = model.id.toLowerCase()
|
const id = model.id.toLowerCase()
|
||||||
if (id.includes("minimax-m2")) return 40
|
if (id.includes("minimax-m2")) return 20
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue