watsonx - default top p set to 1.0
This commit is contained in:
parent
dcf5e71358
commit
8bd1a42e27
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ class WatsonX extends BaseLLM {
|
|||
if (!!options.temperature) {
|
||||
parameters.decoding_method = "sample";
|
||||
parameters.temperature = options.temperature;
|
||||
parameters.top_p = options.topP || 1;
|
||||
parameters.top_p = options.topP || 1.0;
|
||||
parameters.top_k = options.topK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue