DaniilAlpha commited on
Commit
37ac0f8
·
1 Parent(s): 337d883

Update mapper.py

Browse files
Files changed (1) hide show
  1. mapper.py +1 -1
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 sorted(scores, reverse=True)
 
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