Spaces:
Paused
Paused
Commit
·
37ac0f8
1
Parent(s):
337d883
Update mapper.py
Browse files
mapper.py
CHANGED
@@ -9,4 +9,4 @@ class Mapper:
|
|
9 |
data_emb = self.__model.encode(data)
|
10 |
|
11 |
scores: list[float] = util.dot_score(query_emb, data_emb)[0].cpu().tolist()
|
12 |
-
return
|
|
|
9 |
data_emb = self.__model.encode(data)
|
10 |
|
11 |
scores: list[float] = util.dot_score(query_emb, data_emb)[0].cpu().tolist()
|
12 |
+
return scores
|