Skip to content

Commit

Permalink
Merge pull request #86 from Aleph-Alpha/fix-deprecated-client
Browse files Browse the repository at this point in the history
Fix parameter passing in deprecated client
  • Loading branch information
volkerstampa authored Feb 10, 2023
2 parents ce41a7b + 2e86f7e commit 343ae52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aleph_alpha_client/aleph_alpha_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,9 @@ def complete(
"sequence_penalty": sequence_penalty,
"sequence_penalty_min_length": sequence_penalty_min_length,
"use_multiplicative_sequence_penalty": use_multiplicative_sequence_penalty,
"completion_bias_inclusion": completion_bias_inclusion,
"completion_bias_inclusion": completion_bias_inclusion or [],
"completion_bias_inclusion_first_token_only": completion_bias_inclusion_first_token_only,
"completion_bias_exclusion": completion_bias_exclusion,
"completion_bias_exclusion": completion_bias_exclusion or [],
"completion_bias_exclusion_first_token_only": completion_bias_exclusion_first_token_only,
}

Expand Down

0 comments on commit 343ae52

Please sign in to comment.