InayofuataMwongozo unaofuata
Adhabu ya Kurudia na Vidhibiti vya Kusimbua
Lugha AI
Lugha AI MWONGOZO
Mirostat is a feedback-based decoding algorithm that aims to regulate the average surprisal of generated tokens toward a target.
Sikiliza mwongozo huuInaonyeshwa na AI · ~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.
Kuhifadhi hadithi ndefu au vizazi vya igizo katika programu za LLM za karibu kama vile KoboldAI zisivunjike katika misururu inayojirudia.
Imeonyeshwa katika llama.cpp na Ollama kama mipangilio ya mirostat (hali ya 1 au 2, tau, eta) kwa watu wanaopenda kutayarisha ubora wa matokeo.
Inaimarisha majibu ya chatbot ili yasirudie vifungu vya maneno au kugeukia katika tanjiti zisizofuatana kwa kipindi kirefu.
Inatumiwa na waandishi ambao wanataka kiwango thabiti cha ubunifu katika kifungu kizima kilichozalishwa badala ya ubora unaobadilika.
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.
Jarida halali
Hadithi tatu za AI zilizothibitishwa kila asubuhi ya wiki, zimetengenezwa kwa Kiingereza rahisi. Bila malipo daima, hakuna matangazo.
Barua pepe moja kila siku ya wiki. Jiondoe kwa bonyeza moja. Hatutauza au kushiriki anwani yako.
Jijaribu mwenyewe
Maoni ya haraka juu ya kila jibu, na cheti kinachoweza kushirikishwa na kitambulisho kinachoweza kuthibitishwa baada ya kupita kozi.
Changia elimu ya AI bila malipo. AI Understanding ni 501(c)(3) isiyo na faida — hakuna matangazo, hakuna kizuizi cha malipo, daima. Toa mchango
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 na top-p hutumia kizingiti kisichobadilika, huku Mirostat ikiendelea kurekebisha ukataji wake kulingana na mshangao unaoonekana, kama mfumo wa kudhibiti.
Eta ni kiwango cha kujifunza; inakadiria jinsi utofauti wa kidhibiti mu unavyosasishwa kwa kujibu hitilafu kati ya mshangao unaozingatiwa na lengwa.
Mirostat 2 huondoa utegemezi wa dhana ya sheria ya Zipf inayotumiwa katika toleo la 1, na kufanya algoriti kuwa rahisi na kutegemewa kwa upana zaidi katika miundo yote.
llama.cpp documents a Mirostat mode plus tau and eta parameters for its sampling implementation.
Endelea kujifunza
Miongozo zaidi imechaguliwa kwa mada hii
InayofuataMwongozo unaofuata
Adhabu ya Kurudia na Vidhibiti vya Kusimbua
Lugha AI