<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Artificial Intelligence on Nalar</title>
    <link>https://nalar.dev/categories/artificial-intelligence/</link>
    <description>Recent content in Artificial Intelligence on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 01 Jan 0001 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://nalar.dev/categories/artificial-intelligence/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Control Diffusion Generation with Classifier-Free Guidance</title>
      <link>https://nalar.dev/control-diffusion-generation-with-classifier-free-guidance/</link>
      <pubDate>Fri, 11 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/control-diffusion-generation-with-classifier-free-guidance/</guid>
      <description>&lt;h1 id=&#34;control-diffusion-generation-with-classifier-free-guidance&#34;&gt;Control Diffusion Generation with Classifier-Free Guidance&lt;/h1&gt;&#xA;&lt;p&gt;A text-conditioned diffusion model can understand a prompt yet still produce a sample that only loosely follows it. Increasing prompt influence can make the requested content more prominent, but pushing too hard can reduce variation or introduce visual artifacts.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Classifier-free guidance (CFG)&lt;/strong&gt; gives diffusion systems a direct control for this trade-off. At each denoising step, the model produces one prediction with the condition and another without it. The sampler combines those predictions so the conditional signal can be strengthened.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Inspect Transformer Residual Streams with the Logit Lens</title>
      <link>https://nalar.dev/inspect-transformer-residual-streams-with-the-logit-lens/</link>
      <pubDate>Fri, 11 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/inspect-transformer-residual-streams-with-the-logit-lens/</guid>
      <description>&lt;h1 id=&#34;inspect-transformer-residual-streams-with-the-logit-lens&#34;&gt;Inspect Transformer Residual Streams with the Logit Lens&lt;/h1&gt;&#xA;&lt;p&gt;A language model returns token probabilities only after its final transformer block, but developers often need to inspect what happens before that point. A prompt may produce an unexpected completion, a fine-tuned checkpoint may behave differently from its base model, or a model modification may alter predictions several blocks before the final output.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;strong&gt;logit lens&lt;/strong&gt; is a simple diagnostic for these cases. It takes an intermediate residual-stream vector, maps it through the model&amp;rsquo;s output machinery, and ranks vocabulary tokens as if that intermediate state were already ready for prediction.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Use an Exponential Moving Average of Model Weights</title>
      <link>https://nalar.dev/use-an-exponential-moving-average-of-model-weights/</link>
      <pubDate>Fri, 11 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/use-an-exponential-moving-average-of-model-weights/</guid>
      <description>&lt;h1 id=&#34;use-an-exponential-moving-average-of-model-weights&#34;&gt;Use an Exponential Moving Average of Model Weights&lt;/h1&gt;&#xA;&lt;p&gt;Neural network parameters move after every optimizer step. Near the end of training, those updates can leave a model bouncing around a useful region instead of sitting at one especially representative point.&lt;/p&gt;&#xA;&lt;p&gt;An exponential moving average, usually shortened to EMA, keeps a second set of weights that changes more smoothly. The optimizer still updates the normal model. EMA simply tracks a weighted history of those parameters and can provide a separate set of weights for evaluation or deployment.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Use Gated Feed-Forward Blocks in Transformers</title>
      <link>https://nalar.dev/use-gated-feed-forward-blocks-in-transformers/</link>
      <pubDate>Fri, 11 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/use-gated-feed-forward-blocks-in-transformers/</guid>
      <description>&lt;h1 id=&#34;use-gated-feed-forward-blocks-in-transformers&#34;&gt;Use Gated Feed-Forward Blocks in Transformers&lt;/h1&gt;&#xA;&lt;p&gt;A transformer block does more than attention. After attention mixes information across token positions, a feed-forward block transforms each token representation independently. That second stage often accounts for a large share of the model&amp;rsquo;s parameters and computation.&lt;/p&gt;&#xA;&lt;p&gt;A gated feed-forward block changes this stage by adding a second projection that controls how much of another projected signal passes through. GLU, GEGLU, and SwiGLU are common names for members of this family.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
