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

Expose presence-penalty and frequency-penalty parameters for the OpenAI API #70

Open
inthewaterwheel opened this issue Oct 15, 2022 · 2 comments

Comments

@inthewaterwheel
Copy link

I've found that the presence & frequency penalties are rather important in tasks related to rephrasing - as the agent tends to fail via repeating input verbatim otherwise.

These feel like useful API parameters to expose - I could perhaps put a PR up for this if this sounds good.

@lslunis
Copy link
Collaborator

lslunis commented Oct 17, 2022

@stuhlmueller @reppertj @CG80499 Thoughts?

@CG80499
Copy link
Contributor

CG80499 commented Oct 17, 2022

This would be really helpful. Although generally I get better results changing the temperature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants