docstr: Initializes reranker.
docstr_tok: ["Initializes","reranker","."]
code: def __init__(self, opt: Opt, shared=None):
      """
      Initializes reranker.
      """
      super().__init__(opt, shared)
      self.include_label_cand_only = opt["include_label_cand_only"]
      self.target_label = opt["target_label"]
  
file_path: ParlAI/parlai/agents/reranker/classifier_reranker.py
imports: from typing import Optional, List
  from parlai.core.agents import create_agent_from_model_file
  from parlai.core.message import Message
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.agents.reranker.reranker import AbstractReranker, AbstractGeneratorRerankAgent
label_desc: Use image node_id 1 to create a new ClassifierReranker object from inherited base classes: AbstractReranker with example: obj = ClassifierReranker(opt, shared)