Explorar el Código

素材召回增加数据

luojunhui hace 1 día
padre
commit
d8db11af7a
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 2 2
      src/components/RankingSettingsButton.tsx
  2. 2 2
      src/utils/scoring.ts

+ 2 - 2
src/components/RankingSettingsButton.tsx

@@ -203,7 +203,7 @@ function RovClipRows({ params, update }: { params: RankingParams; update: PatchF
           max={1}
           step={0.001}
           value={params.rovClipLow}
-          onChange={(v) => update({ rovClipLow: typeof v === 'number' ? v : 0 })}
+          onChange={(v) => update({ rovClipLow: typeof v === 'number' ? v : 0.005 })}
           style={{ width: 120 }}
         />
       </Row>
@@ -213,7 +213,7 @@ function RovClipRows({ params, update }: { params: RankingParams; update: PatchF
           max={1}
           step={0.001}
           value={params.rovClipHigh}
-          onChange={(v) => update({ rovClipHigh: typeof v === 'number' ? v : 0.07 })}
+          onChange={(v) => update({ rovClipHigh: typeof v === 'number' ? v : 0.1 })}
           style={{ width: 120 }}
         />
       </Row>

+ 2 - 2
src/utils/scoring.ts

@@ -69,8 +69,8 @@ export const DEFAULT_RANKING_PARAMS: RankingParams = {
   simThreshold: 0.65,
   simThresholdsByCode: {},
   boostsByCode: {},
-  rovClipLow: 0,
-  rovClipHigh: 0.07,
+  rovClipLow: 0.005,
+  rovClipHigh: 0.1,
   alpha: 0.6,
   deconstructBoost: 0.4,
   wCtr: 0.2,