OpenAI ChatGPT: Beginners Tutorial | ChatGPT with Python | GPT3.5

preview_player
Показать описание
OpenAI's ChatGPT launched just 5 days ago and already crossed 1 million users. ChatGPT is a prototype artificial intelligence chatbot focused on usability and dialog. Developed by OpenAI, the chatbot uses a large language model trained using reinforcement learning and based on the GPT-3.5 architecture. OpenAI's ChatGPT is a large language model that was trained to generate human-like text based on the input it receives. It is based on the GPT-3 (Generative Pretrained Transformer 3) model, which is one of the most advanced language models available. ChatGPT can be used for a variety of natural language processing tasks, including generating human-like responses to questions and prompts, summarizing text, and translating between languages.

OpenAI, the company best known for Dall-E — the AI-based text-to-image generator - introduced a new chatbot called ChatGPT. ChatGPT is a ‘conversational’ AI and will answer queries just like a human would– well, at least that’s the promise and premise. So one can ask ChatGPT for anything; tips on how to set up a birthday party, write an essay on why parliamentary democracy is better, and even a fictional meeting between two well-known personalities. The reason ChatGPT has gone viral is because of the kind of responses it gives, being seen as a replacement for much of the daily mundane writing, from an email to even college-style essays. But what is ChatGPT and is it a replacement for humans. OpenAI has created ChatGPT, a start-up focused on artificial intelligence and its potential use cases. OpenAI’s notable investors include Microsoft, Khosla Ventures and Reid Hoffman’s charitable foundation. Greg Brockman is the company’s chairman and president, while Sam Altman is the CEO. Ilya Sutskever is Open AI’s chief scientist. According to OpenAI’s description, ChatGPT can answer “follow-up questions”, and can also “admit its mistakes, challenge incorrect premises, and reject inappropriate requests.” It is based on the company’s GPT 3.5 series of language learning models (LLM). GPT stands for Generative Pre-trained Transformer 3 and this is a kind of computer language model that relies on deep learning techniques to produce human-like text based on inputs. The model is trained to predict what will come next, and that’s why one can technically have a ‘conversation’ with ChatGPT. According to OpenAI’s blog post about ChatGPT, the chatbot was also trained using “Reinforcement Learning from Human Feedback (RLHF).” We trained an initial model using supervised fine-tuning: human AI trainers provided conversations in which they played both sides—the user and an AI assistant. We gave the trainers access to model-written suggestions to help them compose their responses,” explains the blog on how this was built. Currently, it is open in beta to all users. One can go to the OpenAI website and sign up to try out ChatGPT. However, you will need to create an account with OpenAI to access this service. The chatbot has already crossed one million users, and you might get a message that the beta is full. OpenAI CEO Sam Altman also hinted they might have to monetise this in the future due to the high costs of running these chats. OpenAI uses Microsoft Azure’s cloud infrastructure to run these models.

*I use affiliate links on the products that I recommend. These give me a small portion of the sales price at no cost to you. I appreciate the proceeds and they help me to improve my channel!

Equipments I use for recording the videos:

You can find me on:

#chatgpt #gpt3 #openai
Рекомендации по теме
Комментарии
Автор

I love this.. So informative and useful! Thank you

vishnuvardhansharma
Автор

Ran this direct on my Mac. Very useful and was able to expand on it right away. And I don't even know python.

ErnieOporto
Автор

Thanks a lot for this man it's awesome. How do you get it run so fast btw? I have to wait for ChatGPT to fully type the answer before I get the response, often taking a few minutes. Looks like a few seconds on your screen. Thanks!

jb_kc__
Автор

How can I convert YouTube videos to multiple content using chat GPT and Python, I watched a great video about that where you just put the video link from YouTube and the script converts the video into audio and then gives us outputs such as social media posts Twitter and LinkedIn and postal message

keorjjr
Автор

Looks like something changed? Was working fine for weeks now refuses to work :\

from pyChatGPT import ChatGPT
ImportError: cannot import name 'ChatGPT' from 'pyChatGPT'

wonder if something changed on chatGPT's end

AllanMcKay
Автор

is there anyway to getsession token chatgpt is not available in my country (I have tried VPN and virtual phone no. doesn't work)

whoisahmad
Автор

If I change the question on the script and re-execute it, GPT forget about the last sentences we've made, not like in the official chat web site. How to make her remember previous sentences ?

MrMagicmars
Автор

Very cool video, but as someone who has no experience with coding or machine learning before, I'm not sure what this is for. Out of genuine curiosity, what's a good reason for bringing this to colab, instead of using it directly on the openAI site?

sharksarecool
Автор

Work fine! how to leave chrome in the background so the user doesn't see it?

joaosilva-njkr
Автор

couldn't get it to work on collab it's trying to open a browser got a selenium, chrome browser issue. on my machine i'm logged in via brave but it's trying to open chrome browser which it did and i can see the chat in my brave browser on openai site (chat history) but in vs code terminal the response didn't get printed. Traceback (most recent call last):
File "/Users/wkriski/chatGPTTest/APICall.py", line 5, in <module>
response = chatGPT.send_message("who is elon musk")
File "//miniconda3/lib/python3.10/site-packages/pyChatGPT/pyChatGPT.py", line 460, in send_message
conversation_id = matches.group()
AttributeError: 'NoneType' object has no attribute 'group'. and i get ssl errors on rerunning

tradingwithwill
Автор

Is there any way to create an account without a phone number from an allowed country?

TheMidry
Автор

hi! I Have a problem. I typed api = ChatGPT(session_token)
but the result shows ValueError: Chrome installation not found. can u help me !!!

ltiyboe
Автор

I am not able to copy session token, please help me with this..Thanks in advance.

arpanasingh
Автор

api = session_token

response = api_send_message = "Hello"

jcv
Автор

always opening chrome browser when I execute the python script

robinhood
Автор

I can't get the + c doesn't work..

Chad
Автор

api = ChatGPT(session_token) is throwing an error

neerajprabhu
Автор

I have this error in the third row of code,
ValueError: Headless machine detected. Please install Xvfb to start a virtual display: sudo apt install xvfb

rdviberdart
Автор

Good attempt, it’s pretty hacky tho.

Given the new gpt3.5 models you may want to update your video.

karanbajaj
Автор

could u Integrate this in a telegram Bot.

firstnamelastname