code: def get_best_indexes(logits, n_best_size):
      """Get the n-best logits from a list."""
      best_indices = np.argsort(logits)[::-1]
      return best_indices[:n_best_size]
  
imports: import collections
  from typing import List
  import ijson
  import numpy
  from transformers.models.bert.tokenization_bert import BasicTokenizer
  from nemo.collections.nlp.data.data_utils import DataProcessor, check_chinese_char, normalize_answer, normalize_chinese_answer
  from nemo.utils import logging
label_desc: Use image node_id 2 for calling a global function with example usage: get_best_indexes(logits, n_best_size) and returns: best_indices