TGViewer
AI Scope AI Scope @scopeofai · 143 subscribers
Post #529 113
کنترل خروجی فراتر از دما

دما تنها ابزار کنترل نیست. برای گرفتن خروجی دقیق‌تر، اینا هم کاربرد دارن:

❇️حداکثر طول (max length): جلوی پرحرفی یا بی‌راهه رفتن مدل رو می‌گیره.

✳️Stop sequences: به مدل می‌گه کجا متوقف بشه.

❎Frequency penalty: جلوی تکرار زیاد یه کلمه رو می‌گیره.

✅Presence penalty: تنوع ایجاد می‌کنه و باعث میشه مدل دنبال همون کلمات قبلی نره.

ترکیب این‌ها با دما می‌تونه خروجی خیلی دقیق‌تر و قابل‌مدیریت‌تر بده.

Controlling Output Beyond Temperature

Temperature isn't the only knob. To get output that better fits what you want, you often combine parameters and control mechanisms.


Here are other levers:

❇️Maximum length: how many tokens the model can output. Keeps responses from going off-tangent.

❇️Stop sequences: define sequences that tell the model, “stop here.” Handy for structured output: emails, lists, dialogues.

❇️Frequency penalty: penalizes tokens (words) that are used often in output; discourages repetition.

❇️Presence penalty: penalizes simply for whether a token has already appeared (not how many times). Helps ensure variety.


Combining these with temperature + sampling parameters gives you fine-grained control over what the LLM produces.


🦴 @scopeofai | #concepts
  • ❤ 1
More from @scopeofai
  1. Oct 13, 2026سونیک‌ رقصان
  2. Oct 13, 2026جالب‌ترین بخشش، بخش case ئه کلا دو تا کیس الان توی سایت وجود داره ولی هر دوتاشون‌ مغزتونو‌…
  3. Oct 13, 2026خیلی خیلی خیلی کار داره اما وقتی می‌خوام چیزی بسازم اول کاری می‌کنم که "وجود" داشته باشه و…
  4. Oct 13, 2026به زودی بیشتر در مورد EyeQ صحبت می‌کنم ولی به طور خلاصه جاییه‌ برای دوست‌داران معما و ژانر…
  5. Oct 13, 2026اولین نسخشه‌ اما می‌تونید در مورد کارآگاه‌ها بخونید توی بخش cases کیس‌ معمایی حل کنید، حدس…
  6. Oct 13, 2026https://eyeq.sa-app.workers.dev/
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 →