Skip to content

Commit

Permalink
update to new model (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
devashishtyagi authored Feb 6, 2024
1 parent 4913cd8 commit 4fecd1c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
{
"cell_type": "code",
"source": [
"model_name = \"accounts/fireworks/models/fw-function-call-34b-v0\"\n",
"model_name = \"accounts/fireworks/models/firefunction-v1\"\n",
"clinet = client = openai.OpenAI(\n",
" base_url = \"https://api.fireworks.ai/inference/v1\",\n",
" api_key = \"YOUR_FW_API_KEY\",\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/function_calling/fireworks_functions_qa.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
" base_url = \"https://api.fireworks.ai/inference/v1\",\n",
" api_key = \"YOUR_FW_API_KEY\",\n",
")\n",
"model_name = \"accounts/fireworks/models/fw-function-call-34b-v0\""
"model_name = \"accounts/fireworks/models/firefunction-v1\""
],
"metadata": {
"id": "ZlTFlhtB5baq"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"llm = ChatOpenAI(\n",
" base_url=\"https://api.fireworks.ai/inference/v1\",\n",
" api_key=\"YOUR_FW_API_KEY\",\n",
" model=\"accounts/fireworks/models/fw-function-call-34b-v0\",\n",
" model=\"accounts/fireworks/models/firefunction-v1\",\n",
" temperature=0.0,\n",
" max_tokens=256,\n",
")\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/function_calling/fw_autogen_image_gen.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"source": [
"config_list = [\n",
" {\n",
" \"model\": \"accounts/fireworks/models/fw-function-call-34b-v0\",\n",
" \"model\": \"accounts/fireworks/models/firefunction-v1\",\n",
" \"api_key\": \"YOUR_FW_API_KEY\",\n",
" \"base_url\": \"https://api.fireworks.ai/inference/v1\",\n",
" \"temperature\": 0.0\n",
Expand Down

0 comments on commit 4fecd1c

Please sign in to comment.