fix the issue where penalty_decay and global_penalty are not being passed to the backend default config when running the model through client
This commit is contained in:
parent
1c7436c34b
commit
91eb72e515
@ -212,7 +212,9 @@ export const RunButton: FC<{ onClickRun?: MouseEventHandler, iconMode?: boolean
|
|||||||
temperature: modelConfig.apiParameters.temperature,
|
temperature: modelConfig.apiParameters.temperature,
|
||||||
top_p: modelConfig.apiParameters.topP,
|
top_p: modelConfig.apiParameters.topP,
|
||||||
presence_penalty: modelConfig.apiParameters.presencePenalty,
|
presence_penalty: modelConfig.apiParameters.presencePenalty,
|
||||||
frequency_penalty: modelConfig.apiParameters.frequencyPenalty
|
frequency_penalty: modelConfig.apiParameters.frequencyPenalty,
|
||||||
|
penalty_decay: modelConfig.apiParameters.penaltyDecay,
|
||||||
|
global_penalty: modelConfig.apiParameters.globalPenalty
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user