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

[Vertex AI] Add presencePenalty and frequencyPenalty #13899

Merged
merged 4 commits into from
Oct 16, 2024

Conversation

andrewheard
Copy link
Contributor

@andrewheard andrewheard commented Oct 15, 2024

Added presencePenalty and frequencyPenalty to GenerationConfig.

@andrewheard
Copy link
Contributor Author

cc: @rachelsaunders Please let us know if we should update the doc comments for presencePenalty and frequencyPenalty... I copied the Cloud docs but they leave more than a little to be desired.

@andrewheard andrewheard marked this pull request as ready for review October 15, 2024 23:20
@andrewheard
Copy link
Contributor Author

andrewheard commented Oct 16, 2024

cc: @rachelsaunders Please let us know if we should update the doc comments for presencePenalty and frequencyPenalty... I copied the Cloud docs but they leave more than a little to be desired.

I found more details in the generate content guide and Gemini helped me write some comments but feel free to wordsmith.

cc: @rlazo in case these docs are helpful since Android has the same ones I did.

@andrewheard andrewheard merged commit 4b96944 into main Oct 16, 2024
38 checks passed
@andrewheard andrewheard deleted the ah/vertex-penalties branch October 16, 2024 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants