clear output
This commit is contained in:
@@ -7,11 +7,7 @@
|
||||
"source": [
|
||||
"# The Product Pricer Continued\n",
|
||||
"\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."
|
||||
"A model that can estimate how much something costs, from its description.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -506,7 +502,7 @@
|
||||
"\n",
|
||||
"def gpt_fine_tuned(item):\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",
|
||||
" seed=42,\n",
|
||||
" max_tokens=7\n",
|
||||
@@ -549,7 +545,7 @@
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"display_name": ".venv",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
@@ -563,7 +559,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.11.12"
|
||||
"version": "3.12.12"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user