Stream Interrupted (Client Disconnected) error

I faced a Stream interrupted (client disconnected) error while fine-tuning GPT3 and when I continue again and again it doesn’t complete? but the model which is not completely fine-tuned is saved in my openai account How to fix that error?

1 Like

Just faced same issue :frowning:
Any ideas how to fix it?

I have the same issue. Any fix? Windows user.

Hi,

This does not mean your fine-tune has stopped, it means you have been disconnected from the monitoring stream, you can reconnect with the command provided in the disconnect message.

1 Like

Thanks, now I get : [2023-08-11 XXXX] Fine-tune failed. Errors:
The number of classes in file-111111 does not match the number of classes specified in the hyperparameters.
The number of classes in file-111111 does not match the number of classes specified in the hyperparameters.

I tried adding class to training data:

data = [
{“prompt”: “Hello”, “completion”: “World”, “class”: 1},
{“prompt”: “Goodbye”, “completion”: “Moon”, “class”: 2},
# more prompt-completion JSON pairs with class information…
]

to no avail . It was automatically removed by the prepare tool. How does the Classification specific metrics (OpenAI Platform)
exactly works? How is it useful? My data has 16 categories/classes.