{"id":7820,"date":"2023-03-10T16:42:49","date_gmt":"2023-03-10T11:12:49","guid":{"rendered":"https:\/\/www.idslogic.com\/blog\/?p=7820"},"modified":"2024-05-29T16:30:42","modified_gmt":"2024-05-29T11:00:42","slug":"chatgpt-how-it-actually-works-a-guide-for-non-technical-people","status":"publish","type":"post","link":"https:\/\/www.idslogic.com\/blog\/chatgpt-how-it-actually-works-a-guide-for-non-technical-people","title":{"rendered":"ChatGPT: How It Actually Works (A Guide for Non-Technical People)?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_72 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.idslogic.com\/blog\/chatgpt-how-it-actually-works-a-guide-for-non-technical-people\/#ChatGPT_is_Laid_on_the_Foundation_of_Transformer_Architecture\" title=\"ChatGPT is Laid on the Foundation of Transformer Architecture\">ChatGPT is Laid on the Foundation of Transformer Architecture<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.idslogic.com\/blog\/chatgpt-how-it-actually-works-a-guide-for-non-technical-people\/#Role_of_NLP_Natural_Language_Processing_in_ChatGPT\" title=\"Role of NLP (Natural Language Processing) in ChatGPT\">Role of NLP (Natural Language Processing) in ChatGPT<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.idslogic.com\/blog\/chatgpt-how-it-actually-works-a-guide-for-non-technical-people\/#Different_Iterations_of_ChatGPT\" title=\"Different Iterations of ChatGPT\">Different Iterations of ChatGPT<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.idslogic.com\/blog\/chatgpt-how-it-actually-works-a-guide-for-non-technical-people\/#Working_of_ChatGPT\" title=\"Working of ChatGPT\">Working of ChatGPT<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.idslogic.com\/blog\/chatgpt-how-it-actually-works-a-guide-for-non-technical-people\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n<p><span style=\"font-size: 14pt;\">ChatGPT (Chat Generative Pre-Trained Transformer) is the next big thing in AI technology. Its debut on November 30, 2022 has drawn a great attention worldwide due to its capability to produce high-quality responses to human input.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: 14pt;\">Surprisingly, by December 4, 2022, it crossed one million users. Indeed, a big milestone for OpenAI! This can be attributed to its power of creating human-like text to all sorts of questions. It is much more advanced than other chatbots developed in the past.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: 14pt;\">The good part is that ChatGPT has been designed to perform a plethora of tasks such as writing code, content creation and translation, and many more. It is highly versatile, reliable, and efficient to propel your business to greater heights.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: 14pt;\">If you\u2019re from a non-technical background and want to understand ChatGPT at its core in the simplest way possible, you\u2019re on the right track. This post by <strong>IDS Logic<\/strong> is created to help you learn how ChatGPT works, so you can get the best out of this tool.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Without any further ado, let\u2019s begin!<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"ChatGPT_is_Laid_on_the_Foundation_of_Transformer_Architecture\"><\/span><span style=\"font-size: 14pt; color: #008000;\"><strong><em>ChatGPT is Laid on the Foundation of Transformer Architecture<\/em><\/strong><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-size: 14pt;\">ChatGPT is transformer-based, which is a form of neural network that has been trained to understand the sequence of data like a text or a speech. It can create texts that are more humanly and relevant to the context using attention and self-attention mechanisms.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: 14pt;\">Its main components are encoder and decoder that analyze and comprehends the input and generates output in relevance to input respectively.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">In easy words, ChatGPT is trained to interact in a conversational way and maintains relevancy in a conversation through accurate responses.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Role_of_NLP_Natural_Language_Processing_in_ChatGPT\"><\/span><span style=\"font-size: 14pt; color: #008000;\"><strong><em>Role of NLP (Natural Language Processing) in ChatGPT<\/em><\/strong><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-size: 14pt;\">ChatGPT has pushed natural language processing to a new level by generating machine text that gives a human feel. Within NLP, an input undergoes following stages:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Preprocessing- <\/strong>sentence segmentation, tokenization (splitting text into small pieces), stemming (deleting suffixes and prefixes) are done to clean the text<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Encoding- <\/strong>text conversion into a vector of numbers for model processing<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Model Processing- <\/strong>the encoded input is passed to the model for processing<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Fetching Result- <\/strong>gives result of potential words presented in vectors of numbers using the model.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Decoding<\/strong>&#8211; translating vectors in real words<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Post-processing- <\/strong>refining output by spell checking, grammar checking, punctuation, and many more. <strong>\u00a0<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">After passing through these stages, a meaningful and coherent output is generated!<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Different_Iterations_of_ChatGPT\"><\/span><span style=\"font-size: 14pt; color: #008000;\"><strong><em>Different Iterations of ChatGPT <\/em><\/strong><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-size: 14pt;\"><strong>GPT- <\/strong>As a generative model, it generates relevant output for the input provided. Its decoders can easily guess the next token in the sequence and processes it continuously using the past results to produce long sentences.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>GPT2- \u00a0<\/strong>It is an iteration of GPT that has 1.5B parameters along with corpus. It has been trained to handle a range of language-related tasks with ease.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>GPT3- <\/strong>It comes with 175 billion parameters with huge number of words from the web and Wikipedia. It is considered as the dynamic version of ChatGPT that has self-attention layers to do multitasking and create an authentic response in real-time.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">To ensure that GPT3 understands the human intent effectively, it has been fine-tuned using supervised learning and RLHF (Reinforcement Learning from Human Feedback), leading to the development of InstructGPT and ChatGPT.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Working_of_ChatGPT\"><\/span><span style=\"font-size: 14pt; color: #008000;\"><strong><em>Working of ChatGPT<\/em><\/strong><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-size: 14pt;\">Earlier, it\u2019s quite challenging to create a conversational AI system that produces responses in context to the conversation. This is the biggest problem with traditional language models.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">But, the inception of ChatGPT has solved this problem as it generates a response that maintains relevancy and coherency due to its training and fine-tuning. It uses a big set of data (conversational text) to understand the patterns and create responses in a meaningful way.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: 14pt;\">One more thing that conversational AI system struggles with its ability to maintain conversational flow and creating natural and different responses. Thanks to ChatGPT, this thing has been addressed too. Its deep learning techniques are extremely useful in generating varied responses that give a human touch.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><span style=\"font-size: 14pt; color: #008000;\"><strong>Conclusion<\/strong><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-size: 14pt;\">There are very few tech innovations that have increased much interest on the internet. ChatGPT is amongst them. It comes with several capabilities, including text generation, summarization, translation, question-answering, and a lot more. It creates text that is in-line with the previous conversation and makes sense. Adding this AI-powered tool can boost business efficiency to a great extent.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: 14pt;\">If you\u2019re interested in learning more about ChatGPT and where it\u2019s heading, you should stay tuned to <a href=\"https:\/\/www.idslogic.com\/\"><strong>IDS Logic<\/strong><\/a> blog. We can provide you valuable insights on this tool to utilize its potential to the fullest.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":8900,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[511],"tags":[1246,1247,1245,1244],"class_list":["post-7820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence","tag-ai-tool","tag-chatbot-app-guide","tag-chatgpt","tag-chatgpt-guide"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts\/7820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/comments?post=7820"}],"version-history":[{"count":2,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts\/7820\/revisions"}],"predecessor-version":[{"id":8902,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts\/7820\/revisions\/8902"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/media\/8900"}],"wp:attachment":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/media?parent=7820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/categories?post=7820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/tags?post=7820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}