Skip to content

Error in fine tune #658

@odinhorizontal

Description

@odinhorizontal

Describe the bug

when I do !openai tools fine_tunes.prepare_data --file data/prepared_data.csv --quiet, it works successfully.
But when I do !openai api fine_tunes.create --training_file data/prepared_data_prepared.jsonl --model curie --suffix "ultraman", It report an error:


Found potentially duplicated files with name 'prepared_data_prepared.jsonl', purpose 'fine-tune' and size 446199 bytes
file-hK8jbDzaub5ORlsodyrgQUo8
Enter file ID to reuse an already uploaded file, or an empty string to upload this file anyway: file-hK8jbDzaub5ORlsodyrgQUo8
Reusing already uploaded file: file-hK8jbDzaub5ORlsodyrgQUo8
Created fine-tune: ft-dUygZsOEXNv50BJuvDHA3vKE
Streaming events until fine-tuning is complete...

(Ctrl-C will interrupt the stream, but not cancel the fine-tune)
[2023-10-17 09:08:41] Created fine-tune: ft-dUygZsOEXNv50BJuvDHA3vKE

Stream interrupted (client disconnected).
To resume the stream, run:

  openai api fine_tunes.follow -i ft-dUygZsOEXNv50BJuvDHA3vKE

then I !openai api fine_tunes.follow -i ft-dUygZsOEXNv50BJuvDHA3vKE,
it returns

[2023-10-17 09:08:41] Created fine-tune: ft-dUygZsOEXNv50BJuvDHA3vKE
[2023-10-17 09:13:37] Fine-tune costs $3.67
[2023-10-17 09:13:37] Fine-tune enqueued. Queue number: 0

Stream interrupted (client disconnected).
To resume the stream, run:

  openai api fine_tunes.follow -i ft-dUygZsOEXNv50BJuvDHA3vKE

To Reproduce

Stream interrupted (client disconnected).
To resume the stream, run:

openai api fine_tunes.follow -i ft-dUygZsOEXNv50BJuvDHA3vKE

Code snippets

No response

OS

colab

Python version

Python 3.10

Library version

openai 0.28.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions