اگلااگلا گائیڈ
تکرار جرمانہ اور ضابطہ کشائی کے کنٹرولز
زبان AI
زبان AI گائیڈ
Mirostat is a feedback-based decoding algorithm that aims to regulate the average surprisal of generated tokens toward a target.
اس گائیڈ کو سنیں۔اے آئی نے بیان کیا۔ · ~2 min
In its standard formulation tau specifies a target cross-entropy in bits, corresponding to perplexity 2^tau; it adjusts a truncation threshold, without guaranteeing every passage’s perplexity or factual correctness.
Standard top-k and top-p decoding apply fixed cutoffs, while the predictability of generated text can vary across a passage. Mirostat, proposed by Basu and colleagues in 2020, treats decoding as a feedback-control problem. In the standard formulation, tau is a target average surprisal or cross-entropy in bits; the corresponding perplexity is 2^tau. The sampler measures token surprisal and adjusts a truncation threshold based on the difference from the target. If generated tokens are less surprising than the target, the threshold can be loosened; if they are more surprising, it can be tightened. This aims to regulate average surprise over generation and does not require each token or passage to match the target exactly. It does not measure factual correctness.
KoboldAI جیسی مقامی LLM ایپس میں لمبی کہانی یا کردار ادا کرنے والی نسلوں کو دہرائے جانے والے لوپس میں ٹوٹنے سے بچانا۔
llama.cpp اور اولاما میں بطور میروسٹیٹ سیٹنگز (موڈ 1 یا 2، ٹاؤ، ایٹا) آؤٹ پٹ کوالٹی کو ٹیوننگ کرنے والے شوقین افراد کے لیے بے نقاب۔
چیٹ بوٹ کے جوابات کو مستحکم کرنا تاکہ وہ طویل سیشن میں نہ تو جملے کو دہرائیں اور نہ ہی متضاد ٹینجنٹ کی طرف متوجہ ہوں۔
ان مصنفین کے ذریعہ استعمال کیا جاتا ہے جو معیار کے اتار چڑھاؤ کے بجائے تخلیقی صلاحیتوں کی ایک مستقل سطح چاہتے ہیں۔
Mirostat options are exposed in some local inference tools; llama.cpp, for example, documents mode, tau and eta parameters. Availability and behavior depend on the runtime and version. Its control-theoretic framing is inspiring further adaptive decoders that regulate other signals like factuality or diversity. As long-form generation grows, expect feedback-driven sampling to be combined with retrieval and repetition penalties, and possibly auto-tuned tau values that adapt to genre, replacing manual perplexity targets.
مفت نیوز لیٹر
ہر ہفتے کے دن صبح تین تصدیق شدہ AI کہانیاں، سادہ انگریزی میں لکھی گئیں۔ ہمیشہ کے لیے مفت، کوئی اشتہار نہیں۔
ہر ہفتے کے دن ایک ای میل۔ ایک کلک میں ان سبسکرائب کریں۔ ہم کبھی بھی آپ کا پتہ فروخت یا شیئر نہیں کرتے۔
اپنے آپ کو جانچیں۔
ہر جواب پر فوری فیڈبیک، اور کورس پاس کرنے کے بعد قابلِ تصدیق ID کے ساتھ شیئر کرنے کے قابل سرٹیفکیٹ۔
مفت AI تعلیم کی حمایت کریں۔ AI Understanding ایک 501(c)(3) غیر منافع بخش ادارہ ہے — کوئی اشتہار نہیں، کوئی پے وال نہیں، کبھی نہیں۔ عطیہ کریں۔
Mirostat is a feedback-based decoding algorithm that aims to regulate the average surprisal of generated tokens toward a target. In its standard formulation tau specifies a target cross-entropy in bits, corresponding to perplexity 2^tau; it adjusts a truncation threshold, without guaranteeing every passage’s perplexity or factual correctness.
Mirostat uses feedback to adjust its sampling threshold toward a target surprise or perplexity level.
Top-k اور top-p ایک مقررہ حد کو لاگو کرتے ہیں، جبکہ Mirostat مسلسل مشاہدہ شدہ حیرت کی بنیاد پر، ایک کنٹرول سسٹم کی طرح اپنی کٹائی کو ایڈجسٹ کرتا ہے۔
Eta سیکھنے کی شرح ہے؛ یہ اس بات کی پیمائش کرتا ہے کہ مشاہدہ اور ہدف حیرت کے درمیان خرابی کے جواب میں کنٹرول متغیر mu کو کتنی مضبوطی سے اپ ڈیٹ کیا جاتا ہے۔
Mirostat 2 ورژن 1 میں استعمال ہونے والے Zipf کے قانون کے مفروضوں پر انحصار کو ہٹاتا ہے، جس سے الگورتھم کو ماڈلز میں آسان اور وسیع پیمانے پر قابل اعتماد بنایا جاتا ہے۔
llama.cpp documents a Mirostat mode plus tau and eta parameters for its sampling implementation.
سیکھتے رہیں
اس موضوع کے لیے مزید گائیڈز چنے گئے ہیں۔
اگلااگلا گائیڈ
تکرار جرمانہ اور ضابطہ کشائی کے کنٹرولز
زبان AI