TGViewer
Data eXplore : Data Science, ML, Big Data, LLMs and AI Security Data eXplore : Data Science, ML, Big Data, LLMs and AI Security @dataxplore · 583 subscribers
Post #2040 162
7 parameters of LLM generation

1️⃣ Max tokens

☞ The upper limit on the number of tokens that the model can generate.
☞ Example: max = 15 (token count)
☞ Value range: from 1 to infinity

2️⃣ Temperature

☞ Controls the randomness in the response. The higher the temperature, the more creative and diverse the output will be.
☞ Value range: from 0 to 2 (typical range)
☞ Graph labels: Regular Distribution / Temperature-adjusted Distribution

3️⃣ Top_p

☞ Controls which part of the probability distribution is taken into account when sampling tokens.
☞ Example: top_p = 10%
☞ Value range: from 0 to 1

4️⃣ Top_k

☞ Limits the number of the most likely tokens from which the selection is made.
☞ Example: top_k = 2
☞ Value range: from 1 to vocab_size

5️⃣ Frequency penalty

☞ Punishes the repetition of tokens by frequency. Positive values reduce repetitions.
☞ Value range: from -2 to 2

6️⃣ Presence penalty

☞ Encourages the model to use new tokens that have not yet been used in the generation.
☞ Value range: from -2 to 2

7️⃣ Stop
☞ A list of tokens at which the model stops further generation.
☞ Value range: custom list

••••••••••••••••••••••••••••••••••••••••••••••
🤖 Data & ML | @DataXplore
More from @dataxplore
  1. Oct 1, 2026Monitoring and debugging "silent" token drift in LLM pipelines: frequency analysis of embe…
  2. Sep 30, 2026Online detection of feature collisions in TDA transformation When using Topological Data A…
  3. Sep 18, 2026Am going to announce something big (for me, it's really big) on October 11, 2026.
  4. Sep 14, 2026Post #2188
  5. Aug 31, 2026I joined a Russian community on Telegram. They share some Russian startup and technology u…
  6. Aug 22, 2026Post #2185
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →