From 5acab7a46f42e4c7234c36e56a8c0e84694fdee2 Mon Sep 17 00:00:00 2001 From: zhaochang Date: Sun, 17 Nov 2024 20:12:34 +0800 Subject: [PATCH] todo --- src/AntSK.Domain/Domain/Other/Bge/BegRerankConfig.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/AntSK.Domain/Domain/Other/Bge/BegRerankConfig.cs b/src/AntSK.Domain/Domain/Other/Bge/BegRerankConfig.cs index 40f0ece..382d629 100644 --- a/src/AntSK.Domain/Domain/Other/Bge/BegRerankConfig.cs +++ b/src/AntSK.Domain/Domain/Other/Bge/BegRerankConfig.cs @@ -77,9 +77,10 @@ namespace AntSK.Domain.Domain.Other.Bge //BAAI/bge-reranker-v2-minicpm-layerwise // https://www.modelscope.cn/models/AI-ModelScope/bge-reranker-v2-m3 - PyList cutoffLayers = new PyList(); - cutoffLayers.Append(new PyInt(8)); - dynamic scores = model.compute_score(pyList, cutoff_layers: cutoffLayers); + + //PyList cutoffLayers = new PyList(); + //cutoffLayers.Append(new PyInt(8)); + //dynamic scores = model.compute_score(pyList, cutoff_layers: cutoffLayers); return result.ConvertToDouble(); }