I screwed up my fine-tuning: forgot to specify the model and now

So I’ve ran the fine_tunes.create in the Windows Powershell:

openai api fine_tunes.create -t "C:\Users\fredk\Desktop\dataset_prepared.jsonl"

It uploaded the file, gave me a file_ID, then a fine-tune id “ft-gbr94gr9g4h39g…g43”:

When I realized I forgot the model I ran the command again.

openai api fine_tunes.create -t C:\Users\fredk\Desktop\dataset_prepared.jsonl" -m curie

It found “duplicated file”, then asked to:
Enter file ID to reuse an already uploaded file, or an empty string to upload this file anyway.
So I entered the file_id and it created a new fine-tune id: “ft-8ghr9gr89e…gregre”.

Stream was interrupted (client disconnected). I resumed the stream with the fine_tunes.follow command prompt. Then it failed.

Anyone with a solution before I reach out to openai support and get an answer in “6 weeks”?

Hi @fredkzk

Can you share the response of the List Models request

1 Like

Indeed, I did find later in the eve one success status.
Can one delete the unsuccessful fine-tuning ‘ft-A1thCaPcmzWdg4UdkeRvzqQor’?

{
  "object": "list",
  "data": [
    {
      "object": "fine-tune",
      "id": "ft-2snrIPbdD0492HsfNtR15kN7d",
      "hyperparams": {
        "n_epochs": 4,
        "batch_size": 2,
        "prompt_loss_weight": 0.01,
        "learning_rate_multiplier": 0.1
      },
      "organization_id": "org-bCIV6lCT0A2nQfWb5jfFNYCI",
      "model": "curie",
      "training_files": [
        {
          "object": "file",
          "id": "file-pMkcpTW7e29smTJfHGSCbnxNt",
          "purpose": "fine-tune",
          "filename": "C:\\Users\\fredk\\Desktop\\dataset_prepared.jsonl",
          "bytes": 530886,
          "created_at": 1687278362,
          "status": "processed",
          "status_details": null
        }
      ],
      "validation_files": [],
      "result_files": [
        {
          "object": "file",
          "id": "file-KV1QaCBj1i7CKCTNOiKxm89t",
          "purpose": "fine-tune-results",
          "filename": "compiled_results.csv",
          "bytes": 130081,
          "created_at": 1687280871,
          "status": "processed",
          "status_details": null
        }
      ],
      "created_at": 1687278363,
      "updated_at": 1687280872,
      "status": "succeeded",
      "fine_tuned_model": "curie:ft-personal-2023-06-40-18-08-51"
    },
    {
      "object": "fine-tune",
      "id": "ft-A1thCaPcmzWdg4UdkeRvzqQor",
      "hyperparams": {
        "n_epochs": 4,
        "batch_size": 2,
        "prompt_loss_weight": 0.01,
        "learning_rate_multiplier": 0.1
      },
      "organization_id": "org-bCIV6lCT0A2nQfWb5jfFNYCI",
      "model": "curie",
      "training_files": [
        {
          "object": "file",
          "id": "file-pMkcpTW7e29smTJfHGSCbnxNt",
          "purpose": "fine-tune",
          "filename": "C:\\Users\\fredk\\Desktop\\dataset_prepared.jsonl",
          "bytes": 530886,
          "created_at": 1687278362,
          "status": "processed",
          "status_details": null
        }
      ],
      "validation_files": [],
      "result_files": [],
      "created_at": 1687279085,
      "updated_at": 1687283927,
      "status": "failed",
      "fine_tuned_model": null
    }
  ]
}

Fine-tuning job can be cancelled but cannot be deleted as of now.

1 Like