mirror of
https://github.com/openai/openai-cookbook
synced 2024-11-04 06:00:33 +00:00
Merge pull request #105 from wa11breaker/main
docs: fix example code in fine-tuned_qa section 2.3
This commit is contained in:
commit
7de1f3c272
@ -256,7 +256,7 @@
|
||||
" try:\n",
|
||||
" response = openai.Completion.create(\n",
|
||||
" engine=\"davinci-instruct-beta-v3\",\n",
|
||||
" prompt=f\"Write questions based on the text below\\n\\nText: {row.context}\\n\\nQuestions:\\n{row.questions}\\n\\nAnswers:\\n1.\",\n",
|
||||
" prompt=f\"Write answer based on the text below\\n\\nText: {row.context}\\n\\nQuestions:\\n{row.questions}\\n\\nAnswers:\\n1.\",\n",
|
||||
" temperature=0,\n",
|
||||
" max_tokens=257,\n",
|
||||
" top_p=1,\n",
|
||||
|
Loading…
Reference in New Issue
Block a user