code: def get_test_index(path):
      with open(path, "r", encoding="utf-8") as in_f:
          lines = in_f.readlines()
      index_l = []
      for i in range(1, len(lines)):
          index_l.append(lines[i].split()[0])
      return index_l
  
file_path: autogluon/examples/automm/text_prediction/generate_submission.py
imports: import pandas
  from autogluon.multimodal import MultiModalPredictor
  import argparse
  import os
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: get_test_index(path) and returns: index_l