Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

[ReRanker] Add reranker-delimiter, adapt it slightly to work with SeeKeR #4469

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

jxmsML
Copy link
Contributor

@jxmsML jxmsML commented Mar 31, 2022

Patch description
Changes:

  1. Add reranker_delimiter arg as otherwise it will share the same delimiter as the transformer generator agent
  2. Add field to change the inference opt key. For SeeKeR, the inference key in op is 'drm_inference' not 'inference'
  3. Add the get_observations_for_reranker function. Again useful for SeeKeR case, where the observations come from observations['knowledge_agent']

Testing steps

Other information

@jxmsML jxmsML merged commit 732c112 into main Apr 1, 2022
@jxmsML jxmsML deleted the reranker_0331 branch April 1, 2022 01:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants