পরবর্তী আপপরবর্তী গাইড
পুনরাবৃত্তি পেনাল্টি এবং ডিকোডিং নিয়ন্ত্রণ
ভাষা এআই
ভাষা এআই গাইড
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 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.
টপ-কে এবং টপ-পি একটি নির্দিষ্ট থ্রেশহোল্ড প্রয়োগ করে, যখন মিরোস্ট্যাট একটি নিয়ন্ত্রণ ব্যবস্থার মতো পর্যবেক্ষিত আশ্চর্যের উপর ভিত্তি করে ক্রমাগত তার ছেদন সামঞ্জস্য করে।
Eta হল শেখার হার; এটি পরিমাপ করে যে কন্ট্রোল ভেরিয়েবল mu কতটা দৃঢ়ভাবে পর্যবেক্ষিত এবং লক্ষ্য বিস্ময়ের মধ্যে ত্রুটির প্রতিক্রিয়া হিসাবে আপডেট করা হয়েছে।
Mirostat 2 সংস্করণ 1 এ ব্যবহৃত Zipf-এর আইন অনুমানের উপর নির্ভরতা দূর করে, মডেল জুড়ে অ্যালগরিদমকে সহজ এবং আরও বিস্তৃতভাবে নির্ভরযোগ্য করে তোলে।
llama.cpp documents a Mirostat mode plus tau and eta parameters for its sampling implementation.
শিখতে থাকুন
এই বিষয়ের জন্য বাছাই করা আরও গাইড
পরবর্তী আপপরবর্তী গাইড
পুনরাবৃত্তি পেনাল্টি এবং ডিকোডিং নিয়ন্ত্রণ
ভাষা এআই