|
262 | 262 | "name": "stdout", |
263 | 263 | "output_type": "stream", |
264 | 264 | "text": [ |
265 | | - "Training file ID: file-6a5b85c3c79441aa94290f63a389e48d\n", |
266 | | - "Validation file ID: file-f827f2fff84c498fbb12940dc1e9ff33\n" |
| 265 | + "Training file ID: file-adcc886357074524b0158c9b28e75c23\n", |
| 266 | + "Validation file ID: file-2c40fbf6d80647b2ac0181e911b9e41c\n" |
267 | 267 | ] |
268 | 268 | } |
269 | 269 | ], |
|
296 | 296 | }, |
297 | 297 | { |
298 | 298 | "cell_type": "code", |
299 | | - "execution_count": 8, |
| 299 | + "execution_count": 7, |
300 | 300 | "id": "86ddf91d", |
301 | 301 | "metadata": {}, |
302 | 302 | "outputs": [ |
303 | 303 | { |
304 | 304 | "name": "stdout", |
305 | 305 | "output_type": "stream", |
306 | 306 | "text": [ |
307 | | - "Job ID: ftjob-bcf37c4d7a8947c8b281a2b3e6a1ed73\n", |
308 | | - "Status: ftjob-bcf37c4d7a8947c8b281a2b3e6a1ed73\n", |
| 307 | + "Job ID: ftjob-9a89ce8f64994a46befa93136433c43e\n", |
| 308 | + "Status: ftjob-9a89ce8f64994a46befa93136433c43e\n", |
309 | 309 | "{\n", |
310 | | - " \"id\": \"ftjob-bcf37c4d7a8947c8b281a2b3e6a1ed73\",\n", |
311 | | - " \"created_at\": 1762422994,\n", |
| 310 | + " \"id\": \"ftjob-9a89ce8f64994a46befa93136433c43e\",\n", |
| 311 | + " \"created_at\": 1762435747,\n", |
312 | 312 | " \"error\": null,\n", |
313 | 313 | " \"fine_tuned_model\": null,\n", |
314 | 314 | " \"finished_at\": null,\n", |
|
324 | 324 | " \"seed\": 105,\n", |
325 | 325 | " \"status\": \"pending\",\n", |
326 | 326 | " \"trained_tokens\": null,\n", |
327 | | - " \"training_file\": \"file-6a5b85c3c79441aa94290f63a389e48d\",\n", |
328 | | - " \"validation_file\": \"file-f827f2fff84c498fbb12940dc1e9ff33\",\n", |
329 | | - " \"estimated_finish\": 1762423895,\n", |
| 327 | + " \"training_file\": \"file-adcc886357074524b0158c9b28e75c23\",\n", |
| 328 | + " \"validation_file\": \"file-2c40fbf6d80647b2ac0181e911b9e41c\",\n", |
| 329 | + " \"estimated_finish\": 1762436649,\n", |
330 | 330 | " \"integrations\": null,\n", |
331 | 331 | " \"metadata\": null,\n", |
332 | 332 | " \"method\": null\n", |
|
346 | 346 | "response = client.fine_tuning.jobs.create(\n", |
347 | 347 | " training_file=training_file_id,\n", |
348 | 348 | " validation_file=validation_file_id,\n", |
349 | | - " model=\"gpt-4o\", # Enter base model name. Note that in Azure OpenAI the model name contains dashes and cannot contain dot/period characters.\n", |
| 349 | + " model=\"gpt-4o-2024-08-06\", # Enter base model name. Note that in Azure OpenAI the model name contains dashes and cannot contain dot/period characters.\n", |
350 | 350 | " seed = 105, # seed parameter controls reproducibility of the fine-tuning job. If no seed is specified one will be generated automatically.\n", |
351 | 351 | ")\n", |
352 | 352 | "\n", |
353 | | - "\n", |
354 | | - "\n", |
355 | 353 | "job_id = response.id\n", |
356 | 354 | "\n", |
357 | 355 | "# You can use the job ID to monitor the status of the fine-tuning job.\n", |
|
383 | 381 | "output_type": "stream", |
384 | 382 | "text": [ |
385 | 383 | "{\n", |
386 | | - " \"id\": \"ftjob-bcf37c4d7a8947c8b281a2b3e6a1ed73\",\n", |
387 | | - " \"created_at\": 1762422994,\n", |
| 384 | + " \"id\": \"ftjob-9a89ce8f64994a46befa93136433c43e\",\n", |
| 385 | + " \"created_at\": 1762435747,\n", |
388 | 386 | " \"error\": null,\n", |
389 | 387 | " \"fine_tuned_model\": null,\n", |
390 | 388 | " \"finished_at\": null,\n", |
391 | 389 | " \"hyperparameters\": {\n", |
392 | | - " \"batch_size\": -1,\n", |
| 390 | + " \"batch_size\": 1,\n", |
393 | 391 | " \"learning_rate_multiplier\": 1.0,\n", |
394 | | - " \"n_epochs\": -1\n", |
| 392 | + " \"n_epochs\": 3\n", |
395 | 393 | " },\n", |
396 | 394 | " \"model\": \"gpt-4o-2024-08-06\",\n", |
397 | 395 | " \"object\": \"fine_tuning.job\",\n", |
398 | 396 | " \"organization_id\": null,\n", |
399 | | - " \"result_files\": null,\n", |
| 397 | + " \"result_files\": [\n", |
| 398 | + " \"file-04cffffb55664b39bc9193f650dd991e\"\n", |
| 399 | + " ],\n", |
400 | 400 | " \"seed\": 105,\n", |
401 | 401 | " \"status\": \"running\",\n", |
402 | 402 | " \"trained_tokens\": null,\n", |
403 | | - " \"training_file\": \"file-6a5b85c3c79441aa94290f63a389e48d\",\n", |
404 | | - " \"validation_file\": \"file-f827f2fff84c498fbb12940dc1e9ff33\",\n", |
405 | | - " \"estimated_finish\": 1762423895,\n", |
| 403 | + " \"training_file\": \"file-adcc886357074524b0158c9b28e75c23\",\n", |
| 404 | + " \"validation_file\": \"file-2c40fbf6d80647b2ac0181e911b9e41c\",\n", |
| 405 | + " \"estimated_finish\": 1762437316,\n", |
406 | 406 | " \"integrations\": null,\n", |
407 | 407 | " \"metadata\": null,\n", |
408 | 408 | " \"method\": null\n", |
409 | 409 | "}\n", |
410 | | - "Elapsed time: 18 minutes 20 seconds\n", |
| 410 | + "Elapsed time: 58 minutes 18 seconds\n", |
411 | 411 | "Status: running\n" |
412 | 412 | ] |
413 | 413 | } |
|
0 commit comments