Update reranker/rankllm.py
Browse files- 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 |
-
|
| 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:
|