Towards Data Science By Utkarsh Mangal

Why Temperature 0 Isn't Deterministic

Read the original on Towards Data Science →

The article explains that even with a temperature setting of 0, which is intended to produce deterministic outputs, large language models (LLMs) can still produce different top tokens over time. It presents a simple formula that predicts how frequently the LLM’s top token will change and discusses how identical completions tend to diverge after roughly a hundred tokens.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Towards Data Science.

Towards Data Science
Aug 24

Can an LLM Forget the Right Things?

The article discusses a specialized LLM inference runtime designed for real-time applications, such as a 33 ms robot control cycle. Unlike typical runtimes that ignore physical deadlines, this system refuses new requests when the deadline is at risk, evicts key‑value cache entries based on meaning rather than age, and is implemented entirely in hand‑written CUDA without relying on cuBLAS or libtorch.

By Anubhab Banerjee
arXiv Machine Learning
6d ago

TempQuant: Learning Adaptive Temperatures for Quantized Language Models

TempQuant introduces a method to learn adaptive sampling temperatures and top‑p values for quantized language models, aiming to align their next‑token probability distributions with those of full‑precision counterparts. The approach operates at two granularities: a global setting per requested temperature and a token‑wise setting that adjusts temperature and top‑p based on whether token rankings flip under quantization. Experiments on 3‑bit Qwen3‑4B show that TempQuant can significantly boost accuracy—raising MATH scores from 34% to 51%—and generally improves the fidelity of quantized models to their full‑precision behavior.

By Mukund Athmaram, Liang Ma, Manoj Rao
Towards Data Science
Nov 16

After 10 Heads in a Row, Small LLMs Bet Up to 82% on an 11th

The article discusses how eight base and instruction‑tuned open language models, when told that a coin is fair and flips are independent, reduce their bias after a streak of ten heads but still bet up to 82% that the next flip will be heads. It highlights the models’ tendency to overestimate the probability of a head following a long streak, even when given information that should eliminate such bias.

By Utkarsh Mangal
Towards Data Science
Aug 28

Why Claude Code Time Estimates Are Poor

The article titled "Why Claude Code Time Estimates Are Poor" discusses the challenges and shortcomings of using Claude, an LLM, for estimating code development time. It highlights how these estimates can be unreliable and offers insights into improving communication when working with LLM programming tools.

By Eivind Kjosbakken