SıradakiSonraki rehber
Tekrarlama Cezası ve Kod Çözme Kontrolleri
Dil Yapay Zeka
Dil AI KILAVUZU
Mirostat is a feedback-based decoding algorithm that aims to regulate the average surprisal of generated tokens toward a target.
Bu kılavuzu dinleyinAI tarafından anlatılan · ~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 gibi yerel LLM uygulamalarında uzun hikaye veya rol oyunu nesillerinin tekrarlayan döngülere dönüşmesini önlemek.
Çıkış kalitesini ayarlama hobileri için llama.cpp ve Ollama'da mirostat ayarları (mod 1 veya 2, tau, eta) olarak sunulur.
Chatbot yanıtlarını, uzun bir oturum boyunca cümleleri tekrarlamayacak veya tutarsız teğetlere sapmayacak şekilde sabitliyoruz.
Kalitenin dalgalanması yerine, oluşturulan pasajın tamamında tutarlı bir yaratıcılık düzeyi isteyen yazarlar tarafından kullanılır.
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.
Ücretsiz bülten
Hafta içi her sabah sade İngilizce yazılmış, doğrulanmış üç yapay zeka hikayesi. Sonsuza kadar ücretsiz, reklam yok.
Hafta içi her gün bir e-posta. Tek tıklamayla aboneliğinizi iptal edin. Adresinizi asla satmayız veya paylaşmayız.
Kendinizi test edin
Her yanıtla ilgili anında geri bildirim ve bir kursu geçtiğinizde doğrulanabilir bir kimliğe sahip paylaşılabilir bir sertifika.
Ücretsiz AI eğitimini destekleyin. AI Understanding, bir 501(c)(3) kâr amacı gütmeyen kuruluştur; hiçbir zaman reklam yoktur, ödeme duvarı yoktur. Bağış yap
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 ve top-p sabit bir eşik uygularken Mirostat, bir kontrol sistemi gibi gözlemlenen sürprize göre kesintisini sürekli olarak ayarlar.
Eta öğrenme oranıdır; gözlemlenen ve hedef sürpriz arasındaki hataya yanıt olarak kontrol değişkeni mu'nun ne kadar güçlü güncellendiğini ölçeklendirir.
Mirostat 2, sürüm 1'de kullanılan Zipf yasası varsayımlarına olan bağımlılığı ortadan kaldırarak algoritmayı daha basit ve modeller arasında daha geniş anlamda güvenilir hale getiriyor.
llama.cpp documents a Mirostat mode plus tau and eta parameters for its sampling implementation.
Öğrenmeye devam et
Bu konu için daha fazla rehber seçildi
SıradakiSonraki rehber
Tekrarlama Cezası ve Kod Çözme Kontrolleri
Dil Yapay Zeka