Zuwa gabaJagora na gaba
Hukunci maimaituwa da Gudanar da yanke hukunci
Harshen AI
Jagoran Harshe AI
Mirostat is a feedback-based decoding algorithm that aims to regulate the average surprisal of generated tokens toward a target.
Saurara wannan jagoraAI da ake ba da labari · ~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.
Tsayar da dogon labari ko tsararrun wasan kwaikwayo a cikin ƙa'idodin LLM na gida kamar KoboldAI daga durkushewa zuwa madaukai masu maimaitawa.
An fallasa a cikin llama.cpp da Ollama azaman saitunan mirostat (yanayin 1 ko 2, tau, eta) don masu sha'awar sha'awa suna daidaita ingancin fitarwa.
Tsayar da martani na chatbot ta yadda ba za su sake maimaita jimloli ba ko kuma su shiga cikin abubuwan da ba su dace ba cikin dogon zama.
Marubuta ke amfani da su waɗanda ke son daidaiton matakin ƙirƙira a duk faɗin hanyar da aka ƙirƙira maimakon ingantacciyar inganci.
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.
Wasikar kyauta
Labarun AI guda uku da aka tabbatar a kowace safiya ta ranar mako, an rubuta su da Ingilishi a sarari. Kyauta har abada, babu talla.
Imel guda ɗaya kowace rana. Cire rajista a danna ɗaya. Ba mu taɓa siyarwa ko raba adireshin ku ba.
Gwada kanka
Amsa kai tsaye kan kowace amsa, da takardar shedar raba gardama tare da tabbataccen ID da zarar kun wuce kwas.
Taimakawa ilimin AI kyauta. AI Understanding ba riba ce ta 501(c)(3) - babu talla, babu bangon biya, har abada. Ba da gudummawa
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 da top-p suna amfani da ƙayyadaddun ƙofa, yayin da Mirostat ke ci gaba da daidaita tsattsauran ra'ayin sa bisa ga abin mamaki, kamar tsarin sarrafawa.
Eta shine ƙimar koyo; yana misalta yadda ƙarfin ikon sarrafa mu ke sabunta mu don amsa kuskure tsakanin abin da aka gani da abin mamaki.
Mirostat 2 yana kawar da dogaro da zato na dokar Zipf da aka yi amfani da shi a cikin sigar 1, yana mai da algorithm mafi sauƙi kuma mafi girman abin dogaro a cikin ƙira.
llama.cpp documents a Mirostat mode plus tau and eta parameters for its sampling implementation.
Ci gaba da koyo
An zaɓi ƙarin jagora don wannan batu
Zuwa gabaJagora na gaba
Hukunci maimaituwa da Gudanar da yanke hukunci
Harshen AI