Closed IT-coach-666 closed 2 years ago
In line 214 of the simcse/tool.py: lack of threshold and top_k parameters. results = self.search(query, device)
simcse/tool.py
threshold
top_k
results = self.search(query, device)
It should be: results = self.search(query, device, threshold, top_k)
results = self.search(query, device, threshold, top_k)
Thanks for your feedback. The bug has been fixed.
In line 214 of the
simcse/tool.py
: lack ofthreshold
andtop_k
parameters.results = self.search(query, device)
It should be:
results = self.search(query, device, threshold, top_k)