15 пре 1 месец
родитељ
комит
1a078657d8
No account linked to committer's email address

+ 3
- 4
web/app/components/base/param-item/score-threshold-item.tsx Прегледај датотеку

max: 1, max: 1,
} }


const key = 'score_threshold'
const ScoreThresholdItem: FC<Props> = ({ const ScoreThresholdItem: FC<Props> = ({
className, className,
value, value,
return ( return (
<ParamItem <ParamItem
className={className} className={className}
id={key}
name={t(`appDebug.datasetConfig.${key}`)}
tip={t(`appDebug.datasetConfig.${key}Tip`) as string}
id='score_threshold'
name={t('appDebug.datasetConfig.score_threshold')}
tip={t('appDebug.datasetConfig.score_thresholdTip') as string}
{...VALUE_LIMIT} {...VALUE_LIMIT}
value={value} value={value}
enable={enable} enable={enable}

+ 3
- 4
web/app/components/base/param-item/top-k-item.tsx Прегледај датотеку

max: maxTopK, max: maxTopK,
} }


const key = 'top_k'
const TopKItem: FC<Props> = ({ const TopKItem: FC<Props> = ({
className, className,
value, value,
return ( return (
<ParamItem <ParamItem
className={className} className={className}
id={key}
name={t(`appDebug.datasetConfig.${key}`)}
tip={t(`appDebug.datasetConfig.${key}Tip`) as string}
id='top_k'
name={t('appDebug.datasetConfig.top_k')}
tip={t('appDebug.datasetConfig.top_kTip') as string}
{...VALUE_LIMIT} {...VALUE_LIMIT}
value={value} value={value}
enable={enable} enable={enable}

Loading…
Откажи
Сачувај