Ollama: deprecate Mirostat params Closes #4188

50cd88c5dc090f09b345a815ae19a888e5ff4ee9

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +2 -5Showing whitespace changes
public/index.html+1 -1
@@ -1499,7 +1499,7 @@
14991499 </div>
15001500 </div>
15011501 </div>
15021502 <div data-tg-type="ooba,infermaticai,koboldcpp,llamacpp,ollama,tabby" id="mirostat_block_ooba" class="wide100p">
15031503 <h4 class="wide100p textAlignCenter">
15041504 <label data-i18n="Mirostat (mode=1 is only for llama.cpp)">Mirostat</label>
15051505 <div class=" fa-solid fa-circle-info opacity50p " data-i18n="[title]Mirostat_desc" title="Mirostat is a thermostat for output perplexity.&#13;Mirostat matches the output perplexity to that of the input, thus avoiding the repetition trap&#13;(where, as the autoregressive inference produces text, the perplexity of the output tends toward zero)&#13;and the confusion trap (where the perplexity diverges).&#13;For details, see the paper Mirostat: A Neural Text Decoding Algorithm that Directly Controls Perplexity by Basu et al. (2020).&#13;Mode chooses the Mirostat version. 0=disable, 1=Mirostat 1.0 (llama.cpp only), 2=Mirostat 2.0."></div>
src/constants.js+1 -4
@@ -287,7 +287,7 @@ export const TOGETHERAI_KEYS = [
287287 'stop',
288288];
289289
290290// https://github.com/ollama/ollama/blob/main/docs/api.md#request-with-options8
291291export const OLLAMA_KEYS = [
292292 'num_predict',
293293 'num_ctx',
@@ -303,9 +303,6 @@ export const OLLAMA_KEYS = [
303303 'typical_p',
304304 'seed',
305305 'repeat_last_n',
306- 'mirostat',
307- 'mirostat_tau',
308- 'mirostat_eta',
309306 'min_p',
310307];
311308