code: def filter_crossencoder_tensor_input(
      context_input_list, label_input_list, candidate_input_list
  ):
      # remove the - 1 : examples for which gold is not among the candidates
      context_input_list_filtered = [
          x
          for x, y, z in zip(
              context_input_list, candidate_input_list, label_input_list
          )
          if z != -1
      ]
      label_input_list_filtered = [
          z
          for x, y, z in zip(
              context_input_list, candidate_input_list, label_input_list
          )
          if z != -1
      ]
      candidate_input_list_filtered = [
          y
          for x, y, z in zip(
              context_input_list, candidate_input_list, label_input_list
          )
          if z != -1
      ]
      return (
          context_input_list_filtered,
          label_input_list_filtered,
          candidate_input_list_filtered,
      )
  
file_path: BLINK/blink/crossencoder/data_process.py
imports: import torch
  import sys
  import numpy
  from tqdm import tqdm
  import blink.biencoder.data_process
  from blink.common.params import ENT_START_TAG, ENT_END_TAG
label_desc: Use image node_id 3 for calling a global function with example usage: filter_crossencoder_tensor_input(context_input_list, label_input_list, candidate_input_list) and returns: context_input_list_filtered,  label_input_list_filtered,  candidate_input_list_filtered