TART

The TART module is a reranker based on TART. It is designed to rerank passages using specific instructions. The primary functionality of this class lies in its ability to rerank a list of passages based on a given query and instruction.

Module Parameters

(Optional) instruction

  • Specifies instructions for the reranking process.

  • default is Find passage to answer given question

(Optional) batch

  • Specify the batch size of the query to the TART model.

  • default is 64.

Example config.yaml

modules:
  - module_type: tart