[feat] topp

This commit is contained in:
kwaroran
2023-12-03 19:21:53 +09:00
parent 390e3bcb62
commit 7abce105c8
3 changed files with 14 additions and 3 deletions

View File

@@ -292,6 +292,8 @@
{:else}
<SliderInput min={0} max={200} bind:value={$DataBase.temperature}/>
{/if}
<SliderInput min={0} max={2} step={0.01} bind:value={$DataBase.top_p}/>
<span class="text-textcolor2 mb-6 text-sm">{($DataBase.temperature / 100).toFixed(2)}</span>
{#if $DataBase.aiModel === 'textgen_webui' || $DataBase.aiModel === 'mancer' || $DataBase.aiModel.startsWith('local_')}