Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(watsonx): add an optional params for min_new_tokens, repetition_penalty & stop_sequences #178

Merged

Conversation

anirudhaBapat
Copy link
Contributor

@anirudhaBapat anirudhaBapat commented Jul 21, 2023

  • Adds a new optional parm - min_new_tokens, repetition_penalty & stop_sequences in the watsonx openAPI spec file.
  • Updated actions.json file to have new session variables for these params and set the default value 1 & 1.10 & ["\n\n"] respectively
  • Readme

@anirudhaBapat anirudhaBapat changed the title feat(watsonx): add an optional param for min_new_tokens feat(watsonx): add an optional params for min_new_tokens, repetition_penalty Jul 21, 2023
@anirudhaBapat anirudhaBapat changed the title feat(watsonx): add an optional params for min_new_tokens, repetition_penalty feat(watsonx): add an optional params for min_new_tokens, repetition_penalty & model_parameters_stop_sequences Jul 21, 2023
@anirudhaBapat anirudhaBapat changed the title feat(watsonx): add an optional params for min_new_tokens, repetition_penalty & model_parameters_stop_sequences feat(watsonx): add an optional params for min_new_tokens, repetition_penalty & stop_sequences Jul 21, 2023
Copy link
Member

@jwm4 jwm4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works well.

@jwm4 jwm4 merged commit f95c1b7 into watson-developer-cloud:master Jul 21, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants