Skip to content

Commit

Permalink
Remove completion part
Browse files Browse the repository at this point in the history
  • Loading branch information
Kostis Gourgoulias committed Jun 20, 2024
1 parent fede26a commit 66e5db2
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions examples/notebooks/Local-Model-With-LMStudio.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@
"# start a server with lm-studio and point it to the right address; here we use the default address. \n",
"client = OpenAI(base_url=\"http://localhost:1234/v1\", api_key=\"lm-studio\")\n",
"\n",
"completion = client.chat.completions.create(\n",
" model=\"mlabonne/NeuralBeagle14-7B-GGUF\",\n",
" messages=[\n",
" {\"role\": \"system\", \"content\": \"Always answer in rhymes.\"},\n",
" {\"role\": \"user\", \"content\": \"Introduce yourself.\"}\n",
" ],\n",
" temperature=0.1,\n",
" max_tokens=100\n",
")\n",
"\n",
"\n",
"engine = ChatExternalClient(client=client, model_string='mlabonne/NeuralBeagle14-7B-GGUF')"
]
},
Expand Down

0 comments on commit 66e5db2

Please sign in to comment.