Enable XTC
This commit is contained in:
parent
e59dacc27f
commit
8bd1c88d15
|
@ -1679,6 +1679,10 @@
|
|||
Ooba only. Determines the order of samplers.
|
||||
</div>
|
||||
<div id="sampler_priority_container" class="prompt_order">
|
||||
<div data-name="repetition_penalty" draggable="true"><span>Repetition Penalty</span><small></small></div>
|
||||
<div data-name="presence_penalty" draggable="true"><span>Presence Penalty</span><small></small></div>
|
||||
<div data-name="frequency_penalty" draggable="true"><span>Frequency Penalty</span><small></small></div>
|
||||
<div data-name="dry" draggable="true"><span>DRY</span><small></small></div>
|
||||
<div data-name="temperature" draggable="true"><span>Temperature</span><small></small></div>
|
||||
<div data-name="dynamic_temperature" draggable="true"><span>Dynamic Temperature</span><small></small></div>
|
||||
<div data-name="quadratic_sampling" draggable="true"><span>Quadratic / Smooth Sampling</span><small></small></div>
|
||||
|
@ -1692,6 +1696,8 @@
|
|||
<div data-name="min_p" draggable="true"><span>Min P</span><small></small></div>
|
||||
<div data-name="mirostat" draggable="true"><span>Mirostat</span><small></small></div>
|
||||
<div data-name="xtc" draggable="true"><span>XTC</span><small></small></div>
|
||||
<div data-name="encoder_repetition_penalty" draggable="true"><span>Encoder Repetition Penalty</span><small></small></div>
|
||||
<div data-name="no_repeat_ngram" draggable="true"><span>No Repeat Ngram</span><small></small></div>
|
||||
</div>
|
||||
<div id="textgenerationwebui_default_order" class="menu_button menu_button_icon">
|
||||
<span data-i18n="Load default order">Load default order</span>
|
||||
|
|
|
@ -68,6 +68,10 @@ const LLAMACPP_DEFAULT_ORDER = [
|
|||
'temperature',
|
||||
];
|
||||
const OOBA_DEFAULT_ORDER = [
|
||||
'repetition_penalty',
|
||||
'presence_penalty',
|
||||
'frequency_penalty',
|
||||
'dry',
|
||||
'temperature',
|
||||
'dynamic_temperature',
|
||||
'quadratic_sampling',
|
||||
|
@ -81,6 +85,8 @@ const OOBA_DEFAULT_ORDER = [
|
|||
'min_p',
|
||||
'mirostat',
|
||||
'xtc',
|
||||
'encoder_repetition_penalty',
|
||||
'no_repeat_ngram',
|
||||
];
|
||||
const BIAS_KEY = '#textgenerationwebui_api-settings';
|
||||
|
||||
|
|
Loading…
Reference in New Issue