Error uploading JSONL files for OpenAI Custom Model

Tan Luong 5 Reputation points

I followed this tutorial:

I was able to upload training and testing data on East US but got internalFailure on South Central US. I also used OpenAI CLI data preparation tool and uploaded via Azure OpenAI Studio but still didn't work.

Please advise. Thanks!

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,255 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 42,761 Reputation points Microsoft Employee

    Tan Luong I think in the above case when I added the above text to my file, I noticed the commas are added. I think these are not required for JSONL. I removed them and ran the file through the data validation tool which them updated my file with the below suggestions.

    User's image

    Following these guidelines, changed the file to following:

    {"prompt":"When I go to the store test, I want an ->","completion":" apple."}
    {"prompt":"When I go to work, I want a ->","completion":" coffee."}
    {"prompt":"When I go home, I want a ->","completion":" soda."}
    {"prompt":"Item is a handbag. Colour is army green. Price is midrange. Size is small.->","completion":"This stylish small green handbag will add a unique touch to your look, without costing you a fortune."}
    {"prompt": "When I go to the store, I want an", "completion": "apple"}
    {"prompt": "When I go to work, I want a", "completion": "coffee"}
    {"prompt": "When I go home, I want a", "completion": "soda"}

    Some of the prompts and completions are from my previous file.

    The above content uploaded as a file was successfully uploaded.

    User's image

    I hope this helps!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments