Weird default API parameters for Anthropic models #3376
hourianto
started this conversation in
Feature Requests & Suggestions
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
LibreChat has very weird default parameters for Anthropic models, with them being:
1
0.7
5
From 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
0
like0.4
and 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_p
andtop_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
Beta Was this translation helpful? Give feedback.
All reactions