#Problem with training the API

8 messages · Page 1 of 1 (latest)

hoary fossil
#

I created a training data file with 1000 records, used the CLI Data preparation tool to validate the data and then created a fine-tune model. That was yesterday at night and let it loading during the night. Today When I woke up today, saw that the process got interrupted and used the openai api fine_tunes.follow -i to resume it

After it finished, I tested it in the playground, it started giving nonsense answers, talking with itself making no sense at all. Anyone know what I am doing wrong?

torn topaz
#

May I see your whole prompt?

#

I think you can add more descriptions to the header of the prompt

fresh lake
torn topaz
#

yes set human: and ai: as stop sequences

cunning laurel
#

hello i have an error 400 with the api of chatgpt

torn topaz
# cunning laurel hello i have an error 400 with the api of chatgpt

First, there is no chatgpt api, you may want to use text-completion. It seems that you are using imagine genration url not the text completion.
This an example in the document:

curl https://api.openai.com/v1/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"model": "text-davinci-003", "prompt": "Say this is a test", "temperature": 0, "max_tokens": 7}'