<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Numerical Stability on Nalar</title>
    <link>https://nalar.dev/tags/numerical-stability/</link>
    <description>Recent content in Numerical Stability on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 14 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/numerical-stability/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Bound Extreme Logits with Soft Capping</title>
      <link>https://nalar.dev/bound-extreme-logits-with-soft-capping/</link>
      <pubDate>Mon, 14 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/bound-extreme-logits-with-soft-capping/</guid>
      <description>&lt;p&gt;A transformer can produce logits whose magnitudes grow far beyond the range needed to express a strong preference. Large attention scores can make a softmax distribution extremely concentrated, while large output logits can make token probabilities nearly one-hot. A hard clamp can bound those values, but it introduces a flat region with an abrupt derivative change at the threshold.&lt;/p&gt;&#xA;&lt;p&gt;Logit soft capping uses a smooth saturating function instead. One common form is:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
