التاليالدليل التالي
عقوبة التكرار وضوابط فك التشفير
لغة الذكاء الاصطناعي
دليل اللغة 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.
الحفاظ على القصة الطويلة أو أجيال لعب الأدوار في تطبيقات LLM المحلية مثل KoboldAI من الانهيار في حلقات متكررة.
تم عرضه في llama.cpp وOllama كإعدادات mirostat (الوضع 1 أو 2، tau، eta) للهواة الذين يقومون بضبط جودة الإخراج.
تثبيت استجابات روبوتات الدردشة بحيث لا تكرر العبارات ولا تنحرف إلى ظلال غير متماسكة خلال جلسة طويلة.
يستخدم من قبل الكتاب الذين يريدون مستوى ثابتًا من الإبداع عبر مقطع كامل تم إنشاؤه بدلاً من الجودة المتقلبة.
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 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 بضبط اقتطاعه بشكل مستمر بناءً على المفاجأة الملحوظة، مثل نظام التحكم.
إيتا هو معدل التعلم. فهو يقيس مدى قوة تحديث متغير التحكم mu استجابةً للخطأ بين المفاجأة المرصودة والمفاجأة المستهدفة.
يزيل Mirostat 2 الاعتماد على افتراضات قانون Zipf المستخدمة في الإصدار 1، مما يجعل الخوارزمية أبسط وأكثر موثوقية على نطاق واسع عبر النماذج.
llama.cpp documents a Mirostat mode plus tau and eta parameters for its sampling implementation.
استمر في التعلم
تم اختيار المزيد من الأدلة لهذا الموضوع
التاليالدليل التالي
عقوبة التكرار وضوابط فك التشفير
لغة الذكاء الاصطناعي