openai-workingcourse-introduction-to-chatgpt-api-introduction-to-chatgpt
openai-workingcourse-introduction-to-chatgpt-api-introduction-to-chatgpt
info
Limitations
This is a gentle introduction. So there is a little bit of Python
programming. The information might not be the most up to date as
OpenAI releases new features.
ChatGPT
ChatGPT is a powerful and innovative language model designed by OpenAI
based on the GPT-3.5 architecture. ChatGPT capabilities allow it to
understand and respond to natural language input in a way that is
strikingly similar to human conversation.
There are several different versions of the GPT architecture that have been
developed over the years, each with its own unique characteristics and
capabilities. Here are a few examples:
GPT-1: This was the original version of the GPT architecture, which was
introduced by OpenAI in 2018. It was trained on a massive corpus of text
data and was capable of generating coherent and grammatically correct
text, although its output was sometimes repetitive and lacked coherence.
GPT-3: This is the one of most recent and advanced version of the GPT
architecture, which was introduced by OpenAI in 2020. It was trained on a
massive corpus of text data and is capable of generating text that is often
indistinguishable from that written by humans. It also includes a wide
range of built-in tasks, such as translation and summarization, making it a
versatile tool for a wide range of NLP applications.
In addition to the GPT models, there are several other related architectures
and models that have been developed in recent years, such as BERT,
XLNet, and T5. These models each have their own unique strengths and
weaknesses, and are often used in combination with each other to achieve
the best possible results.
Overall, the different models used by ChatGPT and other language models
represent a significant step forward in the field of natural language
processing, and have the potential to revolutionize the way we interact
with and understand human language.
ChatGPT models
ChatGPT when generating a response give users a set of models to choose
from. The models are GPT-3.5(default), GPT-3.5(Legacy), GPT-4. When
selecting a model for a specific task, ChatGPT considers three key factors:
reasoning, speed, and consciousness.
In terms of models the default GPT-3.5 is the fastest model. However, the
GPT-4 model has a higher level of reasoning and consciousness.
Speed: This refers to the model’s processing speed and efficiency, which is
important for applications that require real-time or near-real-time
responses, such as chatbots or voice assistants. A model that is able to
generate responses quickly and accurately can improve the user
experience and make the interaction more seamless and natural.
The link should bring you to a website that looks like the image below:
You can enter your credential if you already have an OpenAI account
otherwise you will have to sign up.
In the previous version there was a drop down with the model we will use
for the response we want to generate.
At the bottom in the middle of the page, there is space for us users to send a
message. This will be the location where we write our prompt.
On the top left, there should be space that says create a new chat. Under the
new chat, there should be a history of all your previous interactions with
ChatGPT. This is one of the most amazing features of ChatGPT its ability to
remember what user said earlier in the conversation. It also allows user to
provide follow-up corrections.
Please note that the bottom left setting can look a little different if you have
ChatGPT subscription.
Plus:
The main difference, is the second thing under clear conversations. If you
have a subscription you should see my plan and if not you should see
upgrade to Plus.
Under that we can access the settings button. Inside the settings tab, we can
switch our ChatGPT to a dark version mode. Additionally, we can use to
export our data. The delete account, which will be used to delete our
ChatGPT account.
img/settings
After the setting, the is the get help link. Following, that we have the logout
button.
Take some time and look at the help section provided by ChatGPT.
Results
ChatGPT can be used to generate prompts now go to the webpage and try
the following prompts. This will help with practice and interaction with the
product. Also, feel free to generate the responses in different chats.
One of the feature we can make use of is the ability to edit our past
prompts. Click the edit button on the prompt you wrote earlier, not the
result.Now change your prompt to the following:
ezgif.com-video-to-gif
Additionally, in the gif, you can see next to the response generated there
are thumps up and down if you want as a user to give some feedback.
To help generate better results, there are a few strategies that can be
employed. Firstly, it is important to provide clear and specific prompts or
questions to ChatGPT. This helps the model to understand what
information is being requested and generate more relevant responses.
img/feebdack
This helps the model to learn and adapt to new patterns and trends in
language, and generate even better results over time.
Coding Exercise
Coding Exercise Requirement :
* Use the lowest in cost model
* Print only the string response