mrinjera commited on
Commit
5f345a8
·
verified ·
1 Parent(s): 0bc5e4e

Update reranker/rankllm.py

Browse files
Files changed (1) hide show
  1. reranker/rankllm.py +2 -2
reranker/rankllm.py CHANGED
@@ -354,8 +354,8 @@ class RankLLM(ABC):
354
  return unique_response
355
 
356
  def _clean_response(self, response: str) -> str:
357
- if self._rerank_type == "code_reasoning":
358
- response, _ = self.parse_reasoning_permutation(response)
359
 
360
  new_response = ""
361
  for char in response:
 
354
  return unique_response
355
 
356
  def _clean_response(self, response: str) -> str:
357
+ # if self._rerank_type == "code_reasoning":
358
+ # response, _ = self.parse_reasoning_permutation(response)
359
 
360
  new_response = ""
361
  for char in response: