Spaces:
Running
Running
S-MurilloG
commited on
Commit
•
86cb607
1
Parent(s):
5ebf09b
Fine-tuning completition
Browse files- CARSE_02_FineTuning.ipynb +9 -12
CARSE_02_FineTuning.ipynb
CHANGED
@@ -250,7 +250,7 @@
|
|
250 |
},
|
251 |
{
|
252 |
"cell_type": "code",
|
253 |
-
"execution_count":
|
254 |
"metadata": {},
|
255 |
"outputs": [],
|
256 |
"source": [
|
@@ -260,29 +260,26 @@
|
|
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 |
-
"
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
"execution_count": 87,
|
280 |
-
"metadata": {},
|
281 |
-
"output_type": "execute_result"
|
282 |
}
|
283 |
],
|
284 |
"source": [
|
285 |
-
"response.choices[0].message.content"
|
286 |
]
|
287 |
},
|
288 |
{
|
|
|
250 |
},
|
251 |
{
|
252 |
"cell_type": "code",
|
253 |
+
"execution_count": 106,
|
254 |
"metadata": {},
|
255 |
"outputs": [],
|
256 |
"source": [
|
|
|
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\": \"Holis mi amor, espero que tengas un muy bonito día, te amooooo\"}\n",
|
264 |
" ]\n",
|
265 |
")"
|
266 |
]
|
267 |
},
|
268 |
{
|
269 |
"cell_type": "code",
|
270 |
+
"execution_count": 107,
|
271 |
"metadata": {},
|
272 |
"outputs": [
|
273 |
{
|
274 |
+
"name": "stdout",
|
275 |
+
"output_type": "stream",
|
276 |
+
"text": [
|
277 |
+
"Awwww hola hoooolaaa\\nEspeor que también tu tengas un bonito diaaa\\nTe maaaa adorooooo, y eso que ya es mucho amor\\nTuviste toooda la nochepte un buen descanso? A mí me soño que sí, el tiempito que soñé contigo es el mejor del día\n"
|
278 |
+
]
|
|
|
|
|
|
|
279 |
}
|
280 |
],
|
281 |
"source": [
|
282 |
+
"print(f'{response.choices[0].message.content}')"
|
283 |
]
|
284 |
},
|
285 |
{
|