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
0 answers

Fine-tune Openai GPT - Set general instructions?

I want to make GPT summarise paragraphs. So far I'm sending him a prompt like this: Please summarize each of the 7 paragraphs below into 7 new summarized paragraphs containing no more than 40 words. Parragraph1: fadsfas Parragraph2:…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
0
votes
2 answers

Out of 4 methods for Document Question Answering in LangChain, which one if the fastest and why (ignoring the LLM model used)?

NOTE:: My reference document data changes periodically so if I use Embedding Vector space method, I have to Modify the embedding, say once a day I want to know these factors so that I can design my system to compensate my reference document data…
Deshwal
  • 3,436
  • 4
  • 35
  • 94
0
votes
1 answer

I ran into an error when I try to use YoutubeLoader.from_youtube_url

There is my code snippet import os,openai from langchain.document_loaders import YoutubeLoader from langchain.embeddings.openai import OpenAIEmbeddings from langchain.vectorstores import Chroma from langchain.text_splitter import…
0
votes
0 answers

fine tune gpt3 with tabular data

As the title says, how would one fine tune a LLM with tabular data? My initial sense is that LLM are not suited to learn from tabular data unless the tabular data is restructured into grammatical form, and even then, I have reservations about this…
darrahts
  • 365
  • 1
  • 10
0
votes
0 answers

How can I improve my ChatGPT API prompts?

I am having an issue with ChatGPT API relating to prompt engineering I have a dataset which consists of individual product titles, and product descriptions which was awful design, but I didn't have control over that part. I need to create aggregate…
0
votes
4 answers

How do I extract only code content from chat gpt response?

I use chatGpt to generate SQL query using openai api(/v1/chat/completions) and gpt-3.5-turbo as the model. But I am facing difficulty in extracting SQL query from the response. Because sometime chatGpt will provide some explanation for query…
Avinash
  • 275
  • 1
  • 4
  • 12
0
votes
0 answers

Twitch Chat Bot program not responding

I am trying to make a python program which takes twitch chat as input, uses gpt3 to generate response, then say that response using pyttsx3 library. When running the program, it is neither responding to the chat nor showing any error. I am not able…
0
votes
0 answers

What is language model will fit in my 7950x 16core & rtx3090 with 64 gb of ddr 5 ram

What is the best language model fits my hardware with longer context. Can any one guide me (Noobe)
Harsha Kodali
  • 74
  • 1
  • 8
0
votes
0 answers

How to fix "TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'" when using gpt-index/llama-index?

I am trying to use gpt-index/llama-index to feed ChatGPT with custom data to build a custom chatbot. When I try to import either gpt-index or llama-index to Jupyter, I get the following error. I have tried uninstalling and reinstalling, but the…
0
votes
1 answer

OpenAI GPT-3 API error: "AttributeError: 'builtin_function_or_method' object has no attribute 'text'"

I'm looking for some help in extracting the "text" from ChatGPT's "openai.Completion.create" function. This the function I'm using to generate the "response": #Have ChatGPT generate keywords from article def generate_keywords(article): response…
0
votes
1 answer

Convert Python Script to Work with "GPT-3.5-turbo" model

I have the following python code working for the text-davinci-003 import openai import time openai.api_key = "skXXXXXXX" model_engine = "text-davinci-003" # Define the prompt for the conversation prompt = "Conversation with an AI:" while True: …
Ghulam
  • 135
  • 1
  • 8
0
votes
0 answers

How can I put a python program with specific module dependencies into an HTML page?

I am trying to make a modified GPT model, designed with Python, available for questions on an HTML page. I have tried using PyScript but I do not know how to give it access to the modules that I want. Here is my python code in the file gpt.py: from…
Nico Rose
  • 13
  • 4
0
votes
0 answers

TextCompleition Latency with Large Prompts - How to Avoid?

We've been experimenting back and forth between text completion and Chat completion to build an interactive AI. What we've found is with Text completion the AI follows instructions much better, but after a number of messages being added to the…
0
votes
0 answers

I never get embedded files loaded with from langchain.document_loaders import DirectoryLoader

My code with from langchain.document_loaders import TextLoader, with a single .txt file it works but with DirectoryLoader nothing. Attach image of the code:(https://i.stack.imgur.com/VAKxn.png) Attach image of contect of the texts:enter image…
0
votes
0 answers

How can we set a scope to a fine tuned chat gpt3 chatbot

How can we set a scope to a fine tuned chat gpt3 chatbot and limit it within a particular context? In order to avoid replying to unnecessary questions unrelated to the context.