gpt4 book ai didi

openai-api - 开放人工智能 : Stream interrupted (client disconnected)

转载 作者:行者123 更新时间:2023-12-02 22:44:21 26 4
gpt4 key购买 nike

我正在尝试 OpenAI。

我已经准备好训练数据,并使用fine_tunes.create .几分钟后,显示 Stream interrupted (client disconnected) .

$ openai api fine_tunes.create -t data_prepared.jsonl
Upload progress: 100%|██████████████████████████████████████████████| 47.2k/47.2k [00:00<00:00, 44.3Mit/s]
Uploaded file from data_prepared.jsonl: file-r6dbTH7rVsp6jJMgbX0L0bZx
Created fine-tune: ft-JRGzkYfXm7wnScUxRSBA2M2h
Streaming events until fine-tuning is complete...

(Ctrl-C will interrupt the stream, but not cancel the fine-tune)
[2022-12-02 11:10:08] Created fine-tune: ft-JRGzkYfXm7wnScUxRSBA2M2h
[2022-12-02 11:10:23] Fine-tune costs $0.06
[2022-12-02 11:10:24] Fine-tune enqueued. Queue number: 11

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

openai api fine_tunes.follow -i ft-JRGzkYfXm7wnScUxRSBA2M2h

我试过了 fine_tunes.follow ,几分钟后,还是失败了:

$ openai api fine_tunes.follow -i ft-JRGzkYfXm7wnScUxRSBA2M2h
[2022-12-02 11:10:08] Created fine-tune: ft-JRGzkYfXm7wnScUxRSBA2M2h
[2022-12-02 11:10:23] Fine-tune costs $0.06
[2022-12-02 11:10:24] Fine-tune enqueued. Queue number: 11

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

openai api fine_tunes.follow -i ft-JRGzkYfXm7wnScUxRSBA2M2h

openai api fine_tunes.list显示:

$ openai api fine_tunes.list
{
"data": [
{
"created_at": 1669975808,
"fine_tuned_model": null,
"hyperparams": {
"batch_size": 2,
"learning_rate_multiplier": 0.1,
"n_epochs": 4,
"prompt_loss_weight": 0.01
},
"id": "ft-JRGzkYfXm7wnScUxRSBA2M2h",
"model": "curie",
"object": "fine-tune",
"organization_id": "org-YyoQqNIrjGHYDnKt9t3T6x2J",
"result_files": [],
"status": "pending",
"training_files": [
{
"bytes": 47174,
"created_at": 1669975808,
"filename": "data_prepared.jsonl",
"id": "file-r6dbTH7rVsp6jJMgbX0L0bZx",
"object": "file",
"purpose": "fine-tune",
"status": "processed",
"status_details": null
}
],
"updated_at": 1669975824,
"validation_files": []
}
],
"object": "list"
}

$ openai api completions.create -m ft-JRGzkYfXm7wnScUxRSBA2M2h -p aprompt返回 Error: That model does not exist (HTTP status code: 404) .

有人能帮忙吗?

最佳答案

显然,OpenAI API 存在问题。 (参见:this reddit postthis issue on Git)我通过运行
将我的版本降级到 v.0.25pip install openai==0.25.0
这对我来说是固定的。不过,公平地说,您可以期待这个问题在未来得到解决。

关于openai-api - 开放人工智能 : Stream interrupted (client disconnected),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74666268/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com