Spaces:
Running
Running
S-MurilloG
commited on
Commit
•
f352f73
1
Parent(s):
86cb607
Fine-tuning completition
Browse files- CARSE_02_FineTuning.ipynb +6 -4
- CARSE_03_LangChain +0 -0
CARSE_02_FineTuning.ipynb
CHANGED
@@ -250,7 +250,7 @@
|
|
250 |
},
|
251 |
{
|
252 |
"cell_type": "code",
|
253 |
-
"execution_count":
|
254 |
"metadata": {},
|
255 |
"outputs": [],
|
256 |
"source": [
|
@@ -258,23 +258,25 @@
|
|
258 |
"\n",
|
259 |
"response = client.chat.completions.create(\n",
|
260 |
" model=\"ft:gpt-3.5-turbo-1106:personal::8U9RIZTw\",\n",
|
|
|
|
|
261 |
" messages=[\n",
|
262 |
" {\"role\": \"system\", \"content\": system_content},\n",
|
263 |
-
" {\"role\": \"user\", \"content\": \"
|
264 |
" ]\n",
|
265 |
")"
|
266 |
]
|
267 |
},
|
268 |
{
|
269 |
"cell_type": "code",
|
270 |
-
"execution_count":
|
271 |
"metadata": {},
|
272 |
"outputs": [
|
273 |
{
|
274 |
"name": "stdout",
|
275 |
"output_type": "stream",
|
276 |
"text": [
|
277 |
-
"
|
278 |
]
|
279 |
}
|
280 |
],
|
|
|
250 |
},
|
251 |
{
|
252 |
"cell_type": "code",
|
253 |
+
"execution_count": 113,
|
254 |
"metadata": {},
|
255 |
"outputs": [],
|
256 |
"source": [
|
|
|
258 |
"\n",
|
259 |
"response = client.chat.completions.create(\n",
|
260 |
" model=\"ft:gpt-3.5-turbo-1106:personal::8U9RIZTw\",\n",
|
261 |
+
" #temperature=1,\n",
|
262 |
+
" \n",
|
263 |
" messages=[\n",
|
264 |
" {\"role\": \"system\", \"content\": system_content},\n",
|
265 |
+
" {\"role\": \"user\", \"content\": \"Tengo mucho sueño :(\"}\n",
|
266 |
" ]\n",
|
267 |
")"
|
268 |
]
|
269 |
},
|
270 |
{
|
271 |
"cell_type": "code",
|
272 |
+
"execution_count": 114,
|
273 |
"metadata": {},
|
274 |
"outputs": [
|
275 |
{
|
276 |
"name": "stdout",
|
277 |
"output_type": "stream",
|
278 |
"text": [
|
279 |
+
"Ay amorcito :(((((\\nIntenta acabar pronto tus cosas para que duermas mucho en casita\n"
|
280 |
]
|
281 |
}
|
282 |
],
|
CARSE_03_LangChain
ADDED
File without changes
|