<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Do you know what is gen ai  & LLM?]]></title><description><![CDATA[Do you know what is gen ai  & LLM?]]></description><link>https://about-gen-ai.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 25 Sep 2026 21:45:28 GMT</lastBuildDate><atom:link href="https://about-gen-ai.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Do you know about Gen-Ai and how AI works?]]></title><description><![CDATA[What do you think? What do you need to learn about Gen-ai

Maths ❌

Stats ❌

Linear Equation ❌

Probability ❌

Calculus ❌


GENERATIVE-AI => Generating something

What is GPT?
GENERATED PRE-TRAINED TRANSFORM
The name of Chat GPT is what it does; it d...]]></description><link>https://about-gen-ai.hashnode.dev/do-you-know-about-gen-ai-and-how-ai-works</link><guid isPermaLink="true">https://about-gen-ai.hashnode.dev/do-you-know-about-gen-ai-and-how-ai-works</guid><category><![CDATA[ChaiCode]]></category><category><![CDATA[genai]]></category><dc:creator><![CDATA[Sahil Mahajan]]></dc:creator><pubDate>Mon, 26 May 2025 18:57:56 GMT</pubDate><content:encoded><![CDATA[<p>What do you think? What do you need to learn about Gen-ai</p>
<ol>
<li><p>Maths ❌</p>
</li>
<li><p>Stats ❌</p>
</li>
<li><p>Linear Equation ❌</p>
</li>
<li><p>Probability ❌</p>
</li>
<li><p>Calculus ❌</p>
</li>
</ol>
<p>GENERATIVE-AI =&gt; Generating something</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1748283130776/ac0809f5-3d53-4ab6-9846-150edad67b50.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-what-is-gpt">What is GPT?</h2>
<p><strong>GENERATED</strong> <strong>PRE-TRAINED</strong> <strong>TRANSFORM</strong></p>
<p><em>The name of Chat GPT is what it does; it does not differ, just in short form</em></p>
<h3 id="heading-generative-means-it-generates-for-example-it-generates-translation">Generative: means it generates, for example, it generates, translation</h3>
<ol>
<li><p>Hello =&gt; Namaste</p>
</li>
<li><p>Now =&gt; Abhi</p>
</li>
</ol>
<h3 id="heading-pretrained-means-its-already-trained-for-that">Pretrained: means it’s already trained for that</h3>
<h3 id="heading-transformer-just-like-a-translate-app">Transformer: Just like a translate app</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1748283666967/82f7049c-658f-401c-b39b-4745e01f8040.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-sequence-is-very-important-because-it-changes-everything">Sequence is very important because it changes everything:</h2>
<ol>
<li><p>Development is more interesting than Coding( many agree on this)</p>
<p> Coding is more interesting than Development (Reversed version, few will agree on this)</p>
</li>
</ol>
<h1 id="heading-working-of-an-ai-taking-inputs">Working of an AI (taking inputs)??</h1>
<h1 id="heading-step-1-tokenisation">Step -1 (Tokenisation)</h1>
<h3 id="heading-each-letter-is-treated-as-an-individual-token-because-the-system-does-not-have-inherent-knowledge-of-english-or-numbers">Each letter is treated as an individual token because the system does not have inherent knowledge of English or numbers.</h3>
<p>website: <a target="_blank" href="https://tiktokenizer.vercel.app/">Tiktokenizer</a></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1748283977523/0353127e-307c-4d49-89bb-43cd68270ffd.png" alt class="image--center mx-auto" /></p>
<p>Now in this, each single letter is taken differently, but in this situation, BEST (one token) DEVELOPER (other token) is <strong><em>also called vocab</em></strong></p>
<h1 id="heading-step-2-vector-embedding">Step 2 (Vector Embedding)</h1>
<p>Website: <a target="_blank" href="https://projector.tensorflow.org/">Embedding projector - visualization of high-dimensional data</a></p>
<h2 id="heading-how-vector-embedding-actually-looks"><strong><em>HOW VECTOR EMBEDDING ACTUALLY LOOKS</em></strong></h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1748284241502/8528edc6-588f-4b46-b3b9-9e332e3d5236.png" alt class="image--center mx-auto" /></p>
<p>⬆️ Overview of the website</p>
<p><strong><em>LET’S TAKE PROGRAMMERS</em></strong></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1748284448321/5ed71765-5079-465c-88ec-6bec1e52c160.png" alt class="image--center mx-auto" /></p>
<p><strong><em>THIS WHEN WE CLICK THE PROGRAMMERS</em></strong></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1748284491340/df0e1e82-60ef-48d2-b889-67314f3c2211.png" alt class="image--center mx-auto" /></p>
<p><strong><em>WE ACTAULLY GET THIS OUT OF IT</em></strong></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1748284577901/d219f40f-3c26-4cf4-a77e-7004665459f0.png" alt class="image--center mx-auto" /></p>
<p><strong><em>WHAT IT ACTUALLY HAS ;</em></strong></p>
<h1 id="heading-positional-encoding">POSITIONAL ENCODING</h1>
<p>Very important, as the position is important to choose for every word</p>
<h3 id="heading-not-every-word-does-not-mean-what-it-means-in-english">Not every word does not mean what it means in English</h3>
<ol>
<li>I have an apple (it’s the actual apple), I have the apple (this is an iPhone)</li>
</ol>
<h3 id="heading-google-based-research-paper-170603762httpsarxivorgpdf170603762">Google-based -research paper: <a target="_blank" href="https://arxiv.org/pdf/1706.03762">1706.03762</a></h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1748285592078/bfea7905-505c-4c57-a1ee-390797e3fd3a.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-1-inputs-positional-encoding"><strong>1. Inputs + Positional Encoding</strong></h3>
<ul>
<li><p><strong>Input Embedding</strong>: Converts each input token (like a word or subword) into a vector of fixed dimension.</p>
</li>
<li><p><strong>Positional Encoding</strong>: Since Transformers don’t have recurrence or convolution, positional encodings are added to help the model understand the <strong>order</strong> of tokens in a sequence.</p>
</li>
</ul>
<p>Final result:<br /><code>Input Embedding + Positional Encoding = Input to the Encoder Blocks</code></p>
<h3 id="heading-2-encoder-block-repeated-n-times"><strong>2. Encoder Block (repeated N times)</strong></h3>
<p>The encoder consists of <strong>N identical layers</strong> (often 6 in the original Transformer paper). Each layer has two main components:</p>
<h4 id="heading-a-multi-head-self-attention-yellow-block">A. <strong>Multi-Head Self-Attention</strong> (Yellow block)</h4>
<ul>
<li><p>The model compares each word to every other word in the input to capture contextual relationships.</p>
</li>
<li><p><strong>"Multi-head"</strong> means this is done multiple times in parallel with different parameter sets, allowing the model to learn different types of relationships.</p>
</li>
</ul>
<h1 id="heading-phasehttpsarxivorgpdf170603762-2"><a target="_blank" href="https://arxiv.org/pdf/1706.03762">Phase</a> 2</h1>
<h2 id="heading-interfencing">INTERFENCING</h2>
<p>Example: I am a developer</p>
<p><em>This line has ended; this should be known</em></p>
<h2 id="heading-training">Training</h2>
<p>training the model until it learns the correct thing, as it also makes mistakes sometimes</p>
<p>For example, I ask AI what is the best language to learn DSA for jobs?</p>
<p>answer: Python</p>
<p>(Now I would disagree with it until the AI gives me the correct answer, this is how it will know what it should give when someone asks it about the same thing)</p>
]]></content:encoded></item></channel></rss>