clear output
This commit is contained in:
@@ -7,11 +7,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# The Product Pricer Continued\n",
|
"# The Product Pricer Continued\n",
|
||||||
"\n",
|
"\n",
|
||||||
"A model that can estimate how much something costs, from its description.\n",
|
"A model that can estimate how much something costs, from its description.\n"
|
||||||
"\n",
|
|
||||||
"## AT LAST - it's time for Fine Tuning!\n",
|
|
||||||
"\n",
|
|
||||||
"After all this data preparation, and old school machine learning, we've finally arrived at the moment you've been waiting for. Fine-tuning a model."
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -506,7 +502,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"def gpt_fine_tuned(item):\n",
|
"def gpt_fine_tuned(item):\n",
|
||||||
" response = openai.chat.completions.create(\n",
|
" response = openai.chat.completions.create(\n",
|
||||||
" model=fine_tuned_model_name,\n",
|
" model=\"ft:gpt-4o-mini-2024-07-18:gpt-pricer:pricer:CVwNdjUi\",\n",
|
||||||
" messages=messages_for(item),\n",
|
" messages=messages_for(item),\n",
|
||||||
" seed=42,\n",
|
" seed=42,\n",
|
||||||
" max_tokens=7\n",
|
" max_tokens=7\n",
|
||||||
@@ -549,7 +545,7 @@
|
|||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"kernelspec": {
|
"kernelspec": {
|
||||||
"display_name": "Python 3 (ipykernel)",
|
"display_name": ".venv",
|
||||||
"language": "python",
|
"language": "python",
|
||||||
"name": "python3"
|
"name": "python3"
|
||||||
},
|
},
|
||||||
@@ -563,7 +559,7 @@
|
|||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.11.12"
|
"version": "3.12.12"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
|||||||
Reference in New Issue
Block a user