Skip to content

Commit

Permalink
clean jupyter output
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-x-c committed Jan 17, 2024
1 parent bba0405 commit a422ac8
Showing 1 changed file with 15 additions and 30 deletions.
45 changes: 15 additions & 30 deletions notebook/distributed_debate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,39 +46,24 @@
"metadata": {},
"outputs": [],
"source": [
"# model_configs = [\n",
"# {\n",
"# \"type\": \"openai\",\n",
"# \"name\": \"gpt-3.5-turbo\",\n",
"# \"parameters\": {\n",
"# \"api_key\": \"xxx\",\n",
"# \"organization_id\": \"xxx\",\n",
"# \"temperature\": 0.0\n",
"# }\n",
"# },\n",
"# {\n",
"# \"type\": \"openai\",\n",
"# \"name\": \"gpt-4\",\n",
"# \"parameters\": {\n",
"# \"api_key\": \"xxx\",\n",
"# \"organization_id\": \"xxx\",\n",
"# \"temperature\": 0.0\n",
"# }\n",
"# }\n",
"# ]\n",
"model_configs = [\n",
" {\n",
" \"type\": \"post_api\",\n",
" \"type\": \"openai\",\n",
" \"name\": \"gpt-3.5-turbo\",\n",
" \"api_url\": \"https://api.mit-spider.alibaba-inc.com/chatgpt/api/ask\",\n",
" \"headers\": {\n",
" \"Content-Type\": \"application/json\",\n",
" \"Authorization\": \"Bearer eyJ0eXAiOiJqd3QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6IjIyNTE4NiIsInBhc3N3b3JkIjoiMjI1MTg2IiwiZXhwIjoyMDA2OTMzNTY1fQ.wHKJ7AdJ22yPLD_-1UHhXek4b7uQ0Bxhj_kJjjK0lRM\"\n",
" },\n",
" \"json_args\": {\n",
" \"model\": \"gpt-3.5-turbo\"\n",
" },\n",
" \"messages_key\": \"messages\"\n",
" \"parameters\": {\n",
" \"api_key\": \"xxx\",\n",
" \"organization_id\": \"xxx\",\n",
" \"temperature\": 0.0\n",
" }\n",
" },\n",
" {\n",
" \"type\": \"openai\",\n",
" \"name\": \"gpt-4\",\n",
" \"parameters\": {\n",
" \"api_key\": \"xxx\",\n",
" \"organization_id\": \"xxx\",\n",
" \"temperature\": 0.0\n",
" }\n",
" }\n",
"]"
]
Expand Down

0 comments on commit a422ac8

Please sign in to comment.