Bläddra i källkod

logit bias: update tooltip message

dannyl1u 2 månader sedan
förälder
incheckning
34e3cb6881
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte

+ 3 - 3
src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte

@@ -302,7 +302,7 @@
 	<div class=" py-0.5 w-full justify-between">
 		<Tooltip
 			content={$i18n.t(
-				'Boosting or penalizing specific tokens for constrained responses. Bias values will be normalized to be between -100 and 100 (inclusive). (Default: none)'
+				'Boosting or penalizing specific tokens for constrained responses. Bias values will be clamped between -100 and 100 (inclusive). (Default: none)'
 			)}
 			placement="top-start"
 			className="inline-tooltip"
@@ -331,9 +331,9 @@
 			<div class="flex mt-0.5 space-x-2">
 				<div class=" flex-1">
 					<input
-						class="w-full rounded-lg py-2 px-1 text-sm dark:text-gray-300 dark:bg-gray-850 outline-hidden"
+						class="w-full rounded-lg pl-2 py-2 px-1 text-sm dark:text-gray-300 dark:bg-gray-850 outline-hidden"
 						type="text"
-						placeholder={$i18n.t('Enter logit bias as comma-seperated "token_id:bias_value" pairs')}
+						placeholder={$i18n.t('Enter comma-seperated "token:bias_value" pairs (example: 5432:100, 413:-100)')}
 						bind:value={params.logit_bias}
 						autocomplete="off"
 					/>