How ChatGPT works?

chatgpt works

How ChatGPT works?

We all have heard about ChatGTP Right? So at first let’s get to know what ChatGPT exactly is.

Following are some key pointers:
•ChatGPT is a conversational Al model developed by OpenAl.

•It is trained on a diverse range of internet text, allowing it to generate human-like responses to a wide range of questions and prompts.

•ChatGPT can be integrated into chatbots, virtual assistants, and other conversational Al applications to provide real-time, automated responses to user queries.

•It uses the transformer architecture and has been fine-tuned on a large dataset, making it highly accurate and efficient in generating relevant and coherent responses.

•ChatGPT has applications in areas such as customer service, information retrieval, and language translation, among others.

• Apart from this, ChatGPT gives a response as if written or spoken by a thoughtful human.

How is ChatGPT trained to work?


Gather evidence, then train a supervised policy using it.
•A prompt is selected from our dataset of prompts.

•The required output behaviour is displayed by the labeler.

•With the use of supervised learning, this data is used to improve GPT-3.


Gather comparison information and develop a reward model.
•Samples of a prompt and various model outputs are taken.

•The outputs are ranked by a labeler from best to worst.

•The data so obtained is used to train reward model further.


Utilize reinforcement learning to improve a policy in relation to the reward model.
•Now the dataset is sampled with a fresh prompt.

• The policy produces an effect, as per the prompt.

•Hereafter, the reward model calculates a reward for the output.

•PPO, the incentive is utilised to amend the policy.


ChatGPT to put it simply, it is a “language machine” that uses statistics, reinforcement learning, and supervised learning for, phrases, and sentences. It helps humans to effectively answer questions, write blogs, summarize the given information, and much more.

So this was all about How Chatgpt works.

Leave a Reply

Your email address will not be published. Required fields are marked *