Updating the default Anthropic Officlal Claude 3 max_tokens to 4096

fix bug
This commit is contained in:
Caixiaopig
2024-04-05 09:45:57 -05:00
committed by GitHub
parent 09463bc584
commit 3d96e810b0
+1 -1
View File
@@ -52,7 +52,7 @@ class AnthropicConfig:
def __init__(
self,
max_tokens: Optional[int] = None, # You can pass in a value yourself or use the default value 4096
max_tokens: Optional[int] = 4096, # You can pass in a value yourself or use the default value 4096
stop_sequences: Optional[list] = None,
temperature: Optional[int] = None,
top_p: Optional[int] = None,