You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`AsyncAcuRankStrategy`의 `batch_parallelism`은 같은 iteration 안의 독립 batch를
159
+
동시에 호출하되, posterior update는 deterministic batch order로 적용합니다.
162
160
163
-
> **참고**: `strategy`를 명시하지 않으면 기본적으로 `ListwiseStrategy(algorithm="rankgpt_sliding_window")`가 자동으로 적용됩니다. Pairwise PRP, Setwise, TourRank-r, AcuRank는 기본 listwise보다 LLM 호출 수가 많을 수 있으므로 live benchmark 전 호출 수를 확인해야 합니다.
161
+
> **참고**: `strategy`를 명시하지 않으면 기본적으로 `ListwiseStrategy()`(RankGPT sliding window)가 자동으로 적용됩니다. Pairwise PRP, Setwise, TourRank-r, AcuRank는 기본 listwise보다 LLM 호출 수가 많을 수 있으므로 live benchmark 전 호출 수를 확인해야 합니다.
164
162
165
163
## 커스텀 Strategy
166
164
167
-
커스텀 reranking 메소드는 `ListwiseStrategy.algorithm`에 새 문자열 값을 추가하는
165
+
커스텀 reranking 메소드는 내장 Strategy 클래스를 수정하는
168
166
방식보다, 새 Strategy 클래스로 구현하는 방식을 권장합니다. Strategy는 정규화된
169
167
`Document` 목록, model client, 선택적 `top_k`를 받아 `RerankResult` 목록을 반환합니다.
For small candidate sets, `target_rank` is clipped to the number of documents.
160
158
`max_adaptive_reranker_calls` limits only the adaptive refinement phase; the
161
-
optional initial pass is counted separately in result metadata.
162
-
`batch_parallelism`parallelizes independent batches within the same AcuRank
163
-
iteration, while posterior updates are still applied in deterministic batch
164
-
order.
159
+
optional initial pass is counted separately in result metadata. On
160
+
`AsyncAcuRankStrategy`, `batch_parallelism`runs independent batches within the
161
+
same iteration concurrently, while posterior updates are still applied in
162
+
deterministic batch order.
165
163
166
-
> **Note**: If `strategy` is not provided, it defaults to `ListwiseStrategy(algorithm="rankgpt_sliding_window")`. Pairwise PRP, Setwise, TourRank-r, and AcuRank can use more LLM calls than basic listwise reranking, so check call estimates before live benchmarks.
164
+
> **Note**: If `strategy` is not provided, it defaults to `ListwiseStrategy()` (RankGPT sliding window). Pairwise PRP, Setwise, TourRank-r, and AcuRank can use more LLM calls than basic listwise reranking, so check call estimates before live benchmarks.
167
165
168
166
## Custom Strategies
169
167
170
168
Custom reranking methods should be implemented as new strategy classes instead
171
-
of adding new string values to `ListwiseStrategy.algorithm`. A strategy receives
169
+
of patching the built-in strategy classes. A strategy receives
172
170
the normalized `Document` objects, a model client, and optional `top_k`, then
0 commit comments