|
@@ -16,7 +16,7 @@
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-<div class=" space-y-3">
|
|
|
|
|
|
+<div class=" space-y-3 text-xs">
|
|
<div>
|
|
<div>
|
|
<div class=" py-0.5 flex w-full justify-between">
|
|
<div class=" py-0.5 flex w-full justify-between">
|
|
<div class=" w-20 text-xs font-medium self-center">Seed</div>
|
|
<div class=" w-20 text-xs font-medium self-center">Seed</div>
|
|
@@ -75,8 +75,8 @@
|
|
type="range"
|
|
type="range"
|
|
min="0"
|
|
min="0"
|
|
max="1"
|
|
max="1"
|
|
- bind:value={options.temperature}
|
|
|
|
step="0.05"
|
|
step="0.05"
|
|
|
|
+ bind:value={options.temperature}
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
@@ -85,6 +85,9 @@
|
|
bind:value={options.temperature}
|
|
bind:value={options.temperature}
|
|
type="number"
|
|
type="number"
|
|
class=" bg-transparent text-center w-14"
|
|
class=" bg-transparent text-center w-14"
|
|
|
|
+ min="0"
|
|
|
|
+ max="1"
|
|
|
|
+ step="0.05"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -118,8 +121,8 @@
|
|
type="range"
|
|
type="range"
|
|
min="0"
|
|
min="0"
|
|
max="2"
|
|
max="2"
|
|
- bind:value={options.mirostat}
|
|
|
|
step="1"
|
|
step="1"
|
|
|
|
+ bind:value={options.mirostat}
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
@@ -128,6 +131,9 @@
|
|
bind:value={options.mirostat}
|
|
bind:value={options.mirostat}
|
|
type="number"
|
|
type="number"
|
|
class=" bg-transparent text-center w-14"
|
|
class=" bg-transparent text-center w-14"
|
|
|
|
+ min="0"
|
|
|
|
+ max="2"
|
|
|
|
+ step="1"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -161,8 +167,8 @@
|
|
type="range"
|
|
type="range"
|
|
min="0"
|
|
min="0"
|
|
max="1"
|
|
max="1"
|
|
- bind:value={options.mirostat_eta}
|
|
|
|
step="0.05"
|
|
step="0.05"
|
|
|
|
+ bind:value={options.mirostat_eta}
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
@@ -171,6 +177,9 @@
|
|
bind:value={options.mirostat_eta}
|
|
bind:value={options.mirostat_eta}
|
|
type="number"
|
|
type="number"
|
|
class=" bg-transparent text-center w-14"
|
|
class=" bg-transparent text-center w-14"
|
|
|
|
+ min="0"
|
|
|
|
+ max="1"
|
|
|
|
+ step="0.05"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -204,8 +213,8 @@
|
|
type="range"
|
|
type="range"
|
|
min="0"
|
|
min="0"
|
|
max="10"
|
|
max="10"
|
|
- bind:value={options.mirostat_tau}
|
|
|
|
step="0.5"
|
|
step="0.5"
|
|
|
|
+ bind:value={options.mirostat_tau}
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
@@ -214,6 +223,9 @@
|
|
bind:value={options.mirostat_tau}
|
|
bind:value={options.mirostat_tau}
|
|
type="number"
|
|
type="number"
|
|
class=" bg-transparent text-center w-14"
|
|
class=" bg-transparent text-center w-14"
|
|
|
|
+ min="0"
|
|
|
|
+ max="10"
|
|
|
|
+ step="0.5"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -247,8 +259,8 @@
|
|
type="range"
|
|
type="range"
|
|
min="0"
|
|
min="0"
|
|
max="100"
|
|
max="100"
|
|
- bind:value={options.top_k}
|
|
|
|
step="0.5"
|
|
step="0.5"
|
|
|
|
+ bind:value={options.top_k}
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
@@ -257,6 +269,9 @@
|
|
bind:value={options.top_k}
|
|
bind:value={options.top_k}
|
|
type="number"
|
|
type="number"
|
|
class=" bg-transparent text-center w-14"
|
|
class=" bg-transparent text-center w-14"
|
|
|
|
+ min="0"
|
|
|
|
+ max="100"
|
|
|
|
+ step="0.5"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -290,8 +305,8 @@
|
|
type="range"
|
|
type="range"
|
|
min="0"
|
|
min="0"
|
|
max="1"
|
|
max="1"
|
|
- bind:value={options.top_p}
|
|
|
|
step="0.05"
|
|
step="0.05"
|
|
|
|
+ bind:value={options.top_p}
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
@@ -300,6 +315,9 @@
|
|
bind:value={options.top_p}
|
|
bind:value={options.top_p}
|
|
type="number"
|
|
type="number"
|
|
class=" bg-transparent text-center w-14"
|
|
class=" bg-transparent text-center w-14"
|
|
|
|
+ min="0"
|
|
|
|
+ max="1"
|
|
|
|
+ step="0.05"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -333,8 +351,8 @@
|
|
type="range"
|
|
type="range"
|
|
min="0"
|
|
min="0"
|
|
max="2"
|
|
max="2"
|
|
- bind:value={options.repeat_penalty}
|
|
|
|
step="0.05"
|
|
step="0.05"
|
|
|
|
+ bind:value={options.repeat_penalty}
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
@@ -343,6 +361,9 @@
|
|
bind:value={options.repeat_penalty}
|
|
bind:value={options.repeat_penalty}
|
|
type="number"
|
|
type="number"
|
|
class=" bg-transparent text-center w-14"
|
|
class=" bg-transparent text-center w-14"
|
|
|
|
+ min="0"
|
|
|
|
+ max="2"
|
|
|
|
+ step="0.05"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -376,8 +397,8 @@
|
|
type="range"
|
|
type="range"
|
|
min="-1"
|
|
min="-1"
|
|
max="128"
|
|
max="128"
|
|
- bind:value={options.repeat_last_n}
|
|
|
|
step="1"
|
|
step="1"
|
|
|
|
+ bind:value={options.repeat_last_n}
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
@@ -386,6 +407,9 @@
|
|
bind:value={options.repeat_last_n}
|
|
bind:value={options.repeat_last_n}
|
|
type="number"
|
|
type="number"
|
|
class=" bg-transparent text-center w-14"
|
|
class=" bg-transparent text-center w-14"
|
|
|
|
+ min="-1"
|
|
|
|
+ max="128"
|
|
|
|
+ step="1"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -419,8 +443,8 @@
|
|
type="range"
|
|
type="range"
|
|
min="0"
|
|
min="0"
|
|
max="2"
|
|
max="2"
|
|
- bind:value={options.tfs_z}
|
|
|
|
step="0.05"
|
|
step="0.05"
|
|
|
|
+ bind:value={options.tfs_z}
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
@@ -429,6 +453,9 @@
|
|
bind:value={options.tfs_z}
|
|
bind:value={options.tfs_z}
|
|
type="number"
|
|
type="number"
|
|
class=" bg-transparent text-center w-14"
|
|
class=" bg-transparent text-center w-14"
|
|
|
|
+ min="0"
|
|
|
|
+ max="2"
|
|
|
|
+ step="0.05"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -462,8 +489,8 @@
|
|
type="range"
|
|
type="range"
|
|
min="1"
|
|
min="1"
|
|
max="16000"
|
|
max="16000"
|
|
- bind:value={options.num_ctx}
|
|
|
|
step="1"
|
|
step="1"
|
|
|
|
+ bind:value={options.num_ctx}
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
@@ -472,6 +499,9 @@
|
|
bind:value={options.num_ctx}
|
|
bind:value={options.num_ctx}
|
|
type="number"
|
|
type="number"
|
|
class=" bg-transparent text-center w-14"
|
|
class=" bg-transparent text-center w-14"
|
|
|
|
+ min="1"
|
|
|
|
+ max="16000"
|
|
|
|
+ step="1"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|