Questions tagged [gpt-3]

Use this tag with Generative Pre-trained Transformer 3 (GPT-3). Do not use with GPT-2 or the ad tagging library (GPT).

References:

GPT-3 (Wikipedia)

Related tags:

296 questions
1
vote
1 answer

OpenAI GPT-3 API error: "You must provide a model parameter"

I am trying to POST a question to openAI API via SWIFT. It works fine, if I use the same payload via Postman, but in the Xcode-Condole I got the following response from openAI: Response data string: { "error": { "message": "you must…
1
vote
2 answers

Stream interrupted (client disconnected). To resume the stream, run: openai api fine_tunes.follow -i ft-***, while fine tuning openai

(Ctrl-C will interrupt the stream, but not cancel the fine-tune) [2023-02-22 07:37:41] Created fine-tune: ft-LaoFNTDDUfQbmxTHkViCcuc2 Stream interrupted (client disconnected). To resume the stream, run: openai api fine_tunes.follow -i…
1
vote
1 answer

GPT3 fine tuned model returns additional questions and answers

I have fine tuned a custom dataset using GPT3. I created a simple program to take user input (a question) and return the correct response. The program works, however it returns additional question and answers from the dataset I uploaded to the…
Archie
  • 13
  • 3
1
vote
1 answer

OpenAI ChatGPT API: CORS policy error when fetching data

I am trying to write a simple JavaScript script which uses the ChatGPT API to ask a question and get a response. However I am getting the following error message: "Access to fetch…
sw123456
  • 3,339
  • 1
  • 24
  • 42
1
vote
2 answers

OpenAI fine-tune with python return null model

I am trying to get fine-tune model from OpenAI GPT-3 using python with following code #upload training data upload_response = openai.File.create( file=open(file_name, "rb"), purpose='fine-tune' ) file_id = upload_response.id print(f'\nupload…
Martin
  • 39
  • 5
1
vote
2 answers

Error 400 when using GPT API (in JavaScript)

I keep getting a 400 Error when I try to run my very basic chatbot using the GPT API: error Attached is my code; am I doing something wrong with the API key? const chatHistoryContent = document.querySelector("#chat-history-content"); const…
Max R
  • 13
  • 3
1
vote
2 answers

Fine Tuning GPT-3 for Consistent Output Format

I am trying to use Open AI API to create quiz questions with three incorrect answers and one correct answer. The prompt I use is `Write a quiz on ${quiz_topic} with 5 questions. Each question has 3 incorrect answers and 1 correct answer. The correct…
Cyril Gaillard
  • 909
  • 9
  • 28
1
vote
0 answers

GPT-J (6b): how to properly formulate autocomplete prompts

I'm new to the AI playground and for this purpose I'm experimenting with the GPT-J (6b) model on an Amazon SageMaker notebook instance (g4dn.xlarge). So far, I've managed to register an endpoint and run the predictor but I'm sure I'm making the…
1
vote
0 answers

Training / using OpenAI GPT-3 for translations

I'm trying to use OpenAI for translation of my products descriptions from one language to some other languages (EN, DE, CZ, SK, HU, PL, SI...). The translations, especially to SK/CZ/HU/PL languages are (mainly gramatically) quite bad (using…
gabriel
  • 345
  • 1
  • 5
  • 16
1
vote
1 answer

OpenAI GPT-3 API error: "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth"

I am getting an error for the following PHP code: $curl = curl_init("https://api.openai.com/v1/engines/davinci/completions"); $data = array( 'prompt' => 'how many sundays in 2023', 'max_tokens' => 256, 'temperature' => 0.7, 'model' =>…
Susan
  • 13
  • 6
1
vote
2 answers

OpenAI GPT-3 API error: "TypeError: Converting circular structure to JSON" using ExpressJS

Just experimenting with OpenAI's api and have a very basic express app up and running. What I'm trying to do is just get it to send me back an appropriate response with a basic input but it currently keeps failing. I'm using Postman to iterate on…
1
vote
1 answer

Error in formating the URL for chatGPT's API

I am trying to make a program where a user can asks GPT-3 a question through its API. I tried to get GPT-3's assistant to design code for me, however there were some errors because it uses outdated information from 2021. Below is my modified code…
Isaac
  • 29
  • 1
  • 7
1
vote
1 answer

OpenAI and Javascript error : Getting 'TypeError: Cannot read properties of undefined (reading 'create') at Object."

I am sorry for basic question but getting no where with what seems to be a very basic piece of code. I have npm installed latest version of openai. I am getting a constant error in my terminal: TypeError: Cannot read properties of undefined (reading…
1
vote
1 answer

Can you create a custom model using GPT-3 to answer questions only about a specific topic?

I'm using GPT-3 to create a chatbot that can answer questions related to a specific topic. Can GPT-3 be trained to detect questions that are irrelevant to the topic and refuse to answer them? Example: Let's say I want to create a chatbot that can…
Ajay Ullal
  • 378
  • 2
  • 10
1
vote
1 answer

Prepare json file for GPT

I would like to create a dataset to use it for fine-tuning GPT3. As I read from the following site https://beta.openai.com/docs/guides/fine-tuning, the dataset should look like this {"prompt": "", "completion": "