code: def load_groups(file_path):
      groups = []
      with open(file_path, "r") as f:
          for line in f.readlines():
              if line.strip() != "":
                  groups.append(int(line.strip()))
  
      return groups
  
imports: import sys
  import thundergbm
  from sklearn.datasets import load_svmlight_file
label_desc: Use image node_id 2 for calling a global function with example usage: load_groups(file_path) and returns: groups