Weird default API parameters for Anthropic models #3376
hourianto
started this conversation in
Feature Requests & Suggestions
Replies: 2 comments 3 replies
|
Moved to suggestions. These “weird” values are just the old defaults. If they remain the same (untouched) then they get removed from the API payload anyway. These need to be updated to the latest defaults according to the API docs you linked |
2 replies
|
Whats the story with this right now? Leave at default for top p and top k and they are not used? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What happened?
LibreChat has very weird default parameters for Anthropic models, with them being:
10.75From what I know, most uses of Claude models should by default only change the temperature and not touch other values, so that most requests are done with temperature of e.g. 0.4 and 0.5, and top_p and top_k aren't changed to let the API use the default values.
And, to quote Anthropic themselves from https://docs.anthropic.com/en/api/messages:
So yeah, I'm really curious as to why this is done, when in most cases applications just set the temperature to a value closer to
0like0.4and don't touch those other parameters? And, if this is done deliberately, can you please add a way to NOT set those values? The Anthropic docs do not specify the default values fortop_pandtop_k, so I think it should be possible to just set the temperature and let the API take care about other parameters in case I don't agree with the defaults that LibreChat sets.Steps to Reproduce
Select Anthropic, go into preset settings, observe the weird values.
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Screenshots
Code of Conduct
All reactions