Skip to content

Commit

Permalink
Set default params for watsonx chat and text gen
Browse files Browse the repository at this point in the history
Signed-off-by: Mandana Vaziri <[email protected]>
  • Loading branch information
claudiosv authored and vazirim committed Jan 24, 2025
1 parent fe5ccf7 commit 02ee1cb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pdl/pdl_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,12 @@ def get_default_model_parameters() -> list[dict[str, Any]]:
"""Model-specific defaults to apply"""
return [
{
"*watsonx*": {
"*watsonx/*": {
"temperature": 0,
},
},
{
"*watsonx_text*": {
"decoding_method": DECODING_METHOD,
"max_tokens": MAX_NEW_TOKENS,
"min_new_tokens": MIN_NEW_TOKENS,
Expand Down

0 comments on commit 02ee1cb

Please sign in to comment.