Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
azure model name
  • Loading branch information
sonichi committed Apr 6, 2023
commit 1da255ed5b0a62073dfc92bcf47ecea38bff8e05
4 changes: 2 additions & 2 deletions flaml/autogen/oai/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Completion:
chat_models = {
"gpt-3.5-turbo",
"gpt-3.5-turbo-0301",
"chatgpt-35-turbo-0301",
"gpt-35-turbo",
"gpt-4",
"gpt-4-32k",
"gpt-4-32k-0314",
Expand All @@ -76,7 +76,7 @@ class Completion:
"text-davinci-003": 0.02,
"gpt-3.5-turbo": 0.002,
"gpt-3.5-turbo-0301": 0.002,
"chatgpt-35-turbo-0301": 0.002,
"gpt-35-turbo": 0.002,
"gpt-4": (0.03, 0.06),
"gpt-4-0314": (0.03, 0.06),
"gpt-4-32k": (0.06, 0.12),
Expand Down
2 changes: 1 addition & 1 deletion notebook/autogen_chatgpt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
" # num_samples can further limit the number of trials for different hyperparameter configurations;\n",
" # -1 means decided by the optimization budget only\n",
" num_samples=-1,\n",
" # model=\"chatgpt-35-turbo-0301\", # uncomment if using Azure OpenAI\n",
" # model=\"gpt-35-turbo\", # the gpt-3.5-turbo model name in Azure OpenAI\n",
" # model=\"gpt-3.5-turbo\", # uncomment if you don't have access to gpt-4\n",
" prompt=prompts, # the prompt templates to choose from\n",
" # stop=\"###\", # the stop sequence\n",
Expand Down