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

fix: raise default anthropic token limit #5246

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/phoenix-evals/src/phoenix/evals/models/anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AnthropicModel(BaseModel):
model (str, optional): The model name to use. Defaults to "claude-2.1".
temperature (float, optional): Sampling temperature to use. Defaults to 0.0.
max_tokens (int, optional): Maximum number of tokens to generate in the completion.
Defaults to 256.
Defaults to 1024.
top_p (float, optional): Total probability mass of tokens to consider at each step.
Defaults to 1.
top_k (int, optional): The cutoff where the model no longer selects the words.
Expand All @@ -54,7 +54,7 @@ class AnthropicModel(BaseModel):

model: str = "claude-2.1"
temperature: float = 0.0
max_tokens: int = 256
max_tokens: int = 1024
top_p: float = 1
top_k: int = 256
stop_sequences: List[str] = field(default_factory=list)
Expand Down
Loading