Skip to content

Commit

Permalink
remove temperature param
Browse files Browse the repository at this point in the history
  • Loading branch information
zack-anthropic committed Sep 25, 2023
1 parent 86209fb commit e5cd4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion long_context/pdf_upload_summarization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"CLIENT = anthropic.Client(api_key=API_KEY)\n",
"def get_completion(client, prompt, max_tokens=3000, model='claude-2'):\n",
" return client.completions.create(\n",
" prompt=prompt, max_tokens_to_sample=max_tokens, model=model, temperature=temperature\n",
" prompt=prompt, max_tokens_to_sample=max_tokens, model=model\n",
" ).completion"
]
},
Expand Down

0 comments on commit e5cd4da

Please sign in to comment.