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
0
votes
1 answer

How to store API keys in environment variable? and call the same in google colab

I'm not sure how to make a ".json" file with my GPT-3 API key/environment variable, but I'd like to utilize it in Google Colab for automatic code generation. Could someone please show me how to do this? I want to get the API key from the.json file…
kumaran T
  • 27
  • 2
  • 8
0
votes
3 answers

How to get th content of a string inside a request response?

I was coding a webapp based on GPT-2 but it was not good so I decided to switch to official OpenAI GPT-3. So I make that request: response = openai.Completion.create( engine="davinci", prompt="Hello", temperature=0.7, max_tokens=64, …
oscarEGN
  • 3
  • 1
  • 2
0
votes
2 answers

Fine-tuning GPT-2/3 on new data

I'm trying to wrap my head around training OpenAI's language models on new data sets. Is there anyone here with experience in that regard? My idea is to feed either GPT-2 or 3 (I do not have API access to 3 though) with a textbook, train it on it…
Quantizer
  • 275
  • 3
  • 13
0
votes
1 answer

Using AI generators to ask questions to provoke thinking instead of giving answers?

I have a use case that I want to use to help independent creators talk about their interests on Twitter using their experiences. It goes like this: You have an interest you want to talk about Entrepreneurship You have an experience like Pain Is…
Shavin Peiris
  • 81
  • 1
  • 9
0
votes
2 answers

GPT3 : from next word to Sentiment analysis, Dialogs, Summary, Translation ....?

How does GPT3 or other model goes from next word prediction to do Sentiment analysis, Dialogs, Summaries, Translation .... ? what is the idea and algorithms ? How does it work ? F.e. generating paragraph is generate next word then the next…
sten
  • 7,028
  • 9
  • 41
  • 63
-1
votes
1 answer

Issue with gpt 3.5 Turbo while putting my API key in a basic code

import openai import os import sys try: openai.api_key = os.environ['OPENAI_API_KEY'] except KeyError: sys.stderr.write(""" You haven't set up your API key yet. If you don't have an API key yet, visit: …
RDK
  • 1
-1
votes
0 answers

OpenAI api is not working after i changed the api

void callAPIs(String personalityType, String weightCount) async { ImageService imageService = ImageService(); String gptPrompt = "Analyze My personality type and create a stable diffusion prompt. Do not ever write a word except the…
-1
votes
1 answer

Interact oobabooga webui running in Collab with my local pc

How to interact with oogabooga webui with my python terminal? I am running wizard models or the Pygmalion model. Have anyone tried this before if yes can u provide the code? I have tried to do it with the api examples gives in his GitHub but I…
-1
votes
1 answer

OpenAI GPT-3 API error: Why do I still get the "You exceeded your current quota" error even though I set up a paid account (subscribed)?

Why did I get RateLimitError: You exceeded your current quota, please check your plan and billing details.? I was subscribed, and this is my first request. I paid for my subscription. Here is my code: import openai KEY = "mykeyhere it is checked…
Your Death
  • 11
  • 2
-1
votes
2 answers

problem with running OpenAI Cookbook's chatbot

I'm having trouble running the chatbot app in the OpenAI Cookbook repository. What I tried I installed the necessary packages with 'pip install -r requirements.txt'. I made .env file with my OpenAI API Key, and inserted the code below in chatbot.py…
torano
  • 97
  • 7
-1
votes
1 answer

Invalid URL (POST /v1/chat/completions) error in Python

I have a tts Python program that interprets speech-to-text data, and after that it asks this prompt to the GPT davinci-003 API and answers back, but I just switched to GPT 3.5 turbo, and it doesn't work because of the Invalid URL (POST…
Ege
  • 11
  • 1
-1
votes
1 answer

How to generate gpt-3 completion beyond max token limit

I want to ask if there's a way to properly use OpenAI API to generate complete responses even after the max token limit. I'm using the official OpenAI python package but can't find any way to replicate that in GPT-3 (text-davinci-003) since it…
Pranav Purwar
  • 49
  • 1
  • 10
-1
votes
1 answer

OpenAI GPT-3 API error: "InvalidRequestError: Resource not found"

I've been trying to upload a json file that I will use for fine tuning my GPT-3 model. I get an error when trying to upload it. openai.File.create(file=open("training_data.jsonl"), purpose="fine-tune") When I run the command above I get the…
Teekay
  • 1
  • 1
  • 1
-1
votes
1 answer

OpenAI GPT-3 API: Why do I get a response that makes no sense in relation to the question?

When I ask a question in parameters of the request, the response has no sentence, and i get other questions in the response. I tried with every "temperature" and the response is never the same that I could get on chatGPT-3. I also tried with every…
-1
votes
1 answer

Is GPT-3 a model or a framework?

We all hear GPT-3 being called a large language model (LLM), but is it really more of a framework since you can use GPT-3 with your own dataset, to train your own version of a GPT-3 model? My understanding is that a model is the result of training,…
rekay
  • 53
  • 1
  • 7