# Pick a Number Between 1 and 10

DevFeed: [Pick a Number Between 1 and 10](<https://devfeed.tech/articles/pick-a-number-between-1-and-10-109150.md>)

Original publisher: [Read original article](<https://towardsdatascience.com/pick-a-number-between-1-and-10/>)

Author: Spyros Georgopoulos

Published: 2026-10-30T15:30:00Z

Content type: article

Language: en

Sources: [Towards Data Science](<https://devfeed.tech/sources/towards-data-science.md>)

Topics: [post-training](<https://devfeed.tech/topics/post-training.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [all](<https://devfeed.tech/tags/all.md>), [api](<https://devfeed.tech/tags/api.md>), [api-access](<https://devfeed.tech/tags/api-access.md>), [apps](<https://devfeed.tech/tags/apps.md>), [artifical-intellegence](<https://devfeed.tech/tags/artifical-intellegence.md>), [autocomplete](<https://devfeed.tech/tags/autocomplete.md>), [base](<https://devfeed.tech/tags/base.md>), [bayes](<https://devfeed.tech/tags/bayes.md>), [bayesian](<https://devfeed.tech/tags/bayesian.md>), [best](<https://devfeed.tech/tags/best.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [first](<https://devfeed.tech/tags/first.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [gradient-descent](<https://devfeed.tech/tags/gradient-descent.md>), [it-s](<https://devfeed.tech/tags/it-s.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [number](<https://devfeed.tech/tags/number.md>), [post](<https://devfeed.tech/tags/post.md>), [random-generators](<https://devfeed.tech/tags/random-generators.md>), [statistics](<https://devfeed.tech/tags/statistics.md>), [viral](<https://devfeed.tech/tags/viral.md>)

## AI overview

Gradient descent can explain why an LLM's answer distribution peaks at 7, but not why it becomes a spike. Training on human answers should reproduce their uneven distribution; the article attributes further concentration to post-training preferences for typical answers and decoding at temperatures below 1, which amplifies the leading choice. It illustrates temperature's effect with an assumed human distribution, not a newly queried or trained model, and notes that real post-training may already have thinned the distribution's tails. For randomness, it recommends running code such as random.randint(1, 10); raising temperature may help but cannot restore tails already suppressed by post-training.

## Source excerpt

A viral tweet says LLMs pick 7 because of gradient descent. The math says it's more interesting than that. The post Pick a Number Between 1 and 10 appeared first on Towards Data Science.