<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Generative AI |</title><link>https://dr-houichime.github.io/academic-website/tags/generative-ai/</link><atom:link href="https://dr-houichime.github.io/academic-website/tags/generative-ai/index.xml" rel="self" type="application/rss+xml"/><description>Generative AI</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sun, 01 Feb 2026 00:00:00 +0000</lastBuildDate><image><url>https://dr-houichime.github.io/academic-website/media/icon_hu_702a800cd775dbac.png</url><title>Generative AI</title><link>https://dr-houichime.github.io/academic-website/tags/generative-ai/</link></image><item><title>Generative AI and Large Language Models</title><link>https://dr-houichime.github.io/academic-website/courses/gen-ai-llms/</link><pubDate>Sun, 01 Feb 2026 00:00:00 +0000</pubDate><guid>https://dr-houichime.github.io/academic-website/courses/gen-ai-llms/</guid><description>&lt;p&gt;Designed and lectured by &lt;strong&gt;Pr. Houichime&lt;/strong&gt; at Ibn Tofaïl University, this course offers a technical deep dive into &lt;strong&gt;Generative AI&lt;/strong&gt; and &lt;strong&gt;Large Language Models (LLMs)&lt;/strong&gt;. The curriculum bridges the gap between foundational AI concepts and the sophisticated mathematical architectures that empower machines to comprehend and synthesize human language.&lt;/p&gt;
&lt;h2 id="1-ai-paradigms-analysis-vs-creation"&gt;1. AI Paradigms: Analysis vs. Creation&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Discriminative AI:&lt;/strong&gt; Learns the boundaries between categories to classify data, such as identifying spam or labeling an image as a &amp;ldquo;cat&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generative AI:&lt;/strong&gt; Learns the underlying structure and internal essence of data to produce new, original instances that resemble the training set.&lt;/p&gt;
&lt;h2 id="2-large-language-models-llms--transformers"&gt;2. Large Language Models (LLMs) &amp;amp; Transformers&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;The Fundamental Task:&lt;/strong&gt; LLMs function by predicting the most probable next word in a sequence.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Transformer Revolution:&lt;/strong&gt; Unlike older models (RNNs) that struggled with short-term memory, Transformers use an attention mechanism to look at all previous words simultaneously.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tokenization:&lt;/strong&gt; Text is broken down into &amp;ldquo;atoms&amp;rdquo; called tokens, which can be words, characters, or groups of letters.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Semantic Embeddings:&lt;/strong&gt; Tokens are converted into high-dimensional vectors (e.g., 12,288 dimensions for GPT-3) where words with similar meanings are mathematically closer to each other.&lt;/p&gt;
&lt;h2 id="3-inside-the-decoder-block"&gt;3. Inside the Decoder Block&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Multi-Head Attention:&lt;/strong&gt; Acts like a committee of experts, with each &amp;ldquo;head&amp;rdquo; analyzing the text from a different perspective, such as grammar or context.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Feed-Forward Networks (FFN):&lt;/strong&gt; These layers &amp;ldquo;digest&amp;rdquo; the information gathered by attention to find complex, non-linear patterns.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Residual Connections (Add &amp;amp; Norm):&lt;/strong&gt; These maintain a &amp;ldquo;backup copy&amp;rdquo; of the original input to ensure the model doesn&amp;rsquo;t lose the initial word&amp;rsquo;s meaning during complex calculations.&lt;/p&gt;
&lt;h2 id="4-the-learning-algorithm"&gt;4. The Learning Algorithm&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Forward Pass:&lt;/strong&gt; The model makes a prediction and produces a probability distribution across its entire vocabulary.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Loss Function:&lt;/strong&gt; Measures the &amp;ldquo;surprise&amp;rdquo; or error by comparing the prediction to the actual ground truth.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Backpropagation:&lt;/strong&gt; The error signal flows backward through the network, assigning &amp;ldquo;responsibility&amp;rdquo; to every weight in the model.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Gradient Descent:&lt;/strong&gt; An optimizer adjusts the weights in the opposite direction of the error to minimize future mistakes.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="-downloads--resources"&gt;📥 Downloads &amp;amp; Resources&lt;/h2&gt;
&lt;p&gt;Access the full course materials and practical exercises below:&lt;/p&gt;
&lt;div class="d-flex flex-column gap-3 mt-4"&gt;
&lt;a class="btn btn-primary btn-lg" href="https://dr-houichime.github.io/academic-website/uploads/gen-ai-course.pdf" target="_blank" rel="noopener"&gt;
&lt;i class="fas fa-file-pdf me-2"&gt;&lt;/i&gt; Download Course Slides/Notes (PDF)
&lt;/a&gt;
&lt;a class="btn btn-primary btn-lg" href="https://dr-houichime.github.io/academic-website/uploads/gen-ai-exercises.zip" target="_blank" rel="noopener"&gt;
&lt;i class="fas fa-file-archive me-2"&gt;&lt;/i&gt; Download Exercises (ZIP)
&lt;/a&gt;
&lt;/div&gt;</description></item></channel></rss>