<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Inference on Nalar</title>
    <link>https://nalar.dev/tags/inference/</link>
    <description>Recent content in Inference on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 02 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/inference/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Control LLM Randomness with Temperature and Top-p</title>
      <link>https://nalar.dev/control-llm-randomness-with-temperature-and-top-p/</link>
      <pubDate>Wed, 02 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/control-llm-randomness-with-temperature-and-top-p/</guid>
      <description>&lt;p&gt;Large language models usually generate text one token at a time. At each step, the model assigns scores to possible next tokens, those scores become probabilities, and a decoding strategy chooses what comes next.&lt;/p&gt;&#xA;&lt;p&gt;Two common controls in that process are &lt;strong&gt;temperature&lt;/strong&gt; and &lt;strong&gt;top-p&lt;/strong&gt;. They are often described as creativity settings, but that description is incomplete. They change how the model samples from its probability distribution, which affects repeatability, diversity, and the chance of selecting lower-probability tokens.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
