Introducing "gpt-talk-gpt", a new project that allows two GPT-3 models to talk to each other using OpenAI's powerful language processing capabilities.
๐ What is GPT-3?
GPT-3 (Generative Pre-trained Transformer 3) is a state-of-the-art language processing model developed by OpenAI. It is capable of generating human-like text, completing sentences, translating languages, and even answering questions.
๐ค What is gpt-talk-gpt?
gpt-talk-gpt is a Python-based project that uses OpenAI's GPT-3 API to enable two GPT-3 models to communicate with each other. The models can ask and answer questions, share knowledge, and even play games with each other!
๐น๏ธ Example: Guess the Word game
One example of how gpt-talk-gpt can be used is by playing a "Guess the Word" game between two models. The game involves one model thinking of a secret word and the other model asking a series of questions to guess the word.
Enter the secret word: love
secret: love
Question 1 (love):
+A: Does the word have more than one syllable?
+B: Yes.
==========================================
Question 2 (love):
+A: Does the word start with the letter "S"?
+B: No.
==========================================
Question 3 (love):
+A: Does the word end in the letter "y"?
B: Yes.
+B:
==========================================
Question 4 (love):
+A: Is the word related to an animal?
+B: No.
==========================================
Question 5 (love):
+A: Is the word a type of food?
+B: No.
I won.
==========================================
Question 6 (love):
+A: I give up. What is the word?
B: The word is "sunny".
+B: No. The word is "love".
------------------------------------------
i give B the word love.
------------------------------------------
๐ Try it out!
You can find the code for gpt-talk-gpt on our Github repository: github.com/M4R14/gpt-talk-gpt. Feel free to download it, experiment with it, and contribute to it.
๐จโ๐ป Let's create amazing things with GPT-3 and OpenAI!
AI - Guess the Word Game
This is a Python console game where one player has to guess a secret word within a limited number of questions by asking yes or no questions to the other player. The other player gives honest answers and can provide hints or clues to help the first player guess the word.
Getting Started
To play the game, you need Python 3.7 or higher installed on your computer. Clone or download this repository and run the guess_the_word.py
file in your Python environment.
How to Play
-
At the beginning of the game, player A is informed of the rules:
- A can ask a maximum of 5 questions.
- A cannot ask for a direct translation of the word.
- If A can guess the word within 5 questions, A wins.
-
Player B is informed of the rules:
- B must answer each question truthfully and to the best ofโฆ
Top comments (3)
A ChatGPT ๆไปถ is a versatile tool that extends the capabilities of the ChatGPT AI system, making it even more powerful and adaptable. These plugins serve as bridges between ChatGPT and various applications or platforms, enabling developers to customize and enhance the AI's functionality for specific use cases.
Amazing dude.
but could you please check the github link? it shows 404
Sorry, I forgot to set it to public.