docstr: [summary]
  
  Args:
      pred_list (List[Dict]): List of Sentece, each sentence contains two List (offset, string) of Relation List
          [
              {
                  'offset': [['Part-whole', 'Geo-political', [0], 'Geo-political', [2]]],
                  'string': [['Part-whole', 'Geo-political', 'MULTAN', 'Geo-political', 'Pakistan']],
              }, ...
          ]
  Returns:
      List[Dict]: List of Sentece, each sentence contains two List (offset, string) of Relation Tuple
          [
              {
                  'offset': [('Part-whole', 'Geo-political', (0,), 'Geo-political', (2,))],
                  'string': [('Part-whole', 'Geo-political', 'MULTAN', 'Geo-political', 'Pakistan')]
              }, ...
          ]
code: def load_pred_list(pred_list):
      """[summary]
  
      Args:
          pred_list (List[Dict]): List of Sentece, each sentence contains two List (offset, string) of Relation List
              [
                  {
                      'offset': [['Part-whole', 'Geo-political', [0], 'Geo-political', [2]]],
                      'string': [['Part-whole', 'Geo-political', 'MULTAN', 'Geo-political', 'Pakistan']],
                  }, ...
              ]
      Returns:
          List[Dict]: List of Sentece, each sentence contains two List (offset, string) of Relation Tuple
              [
                  {
                      'offset': [('Part-whole', 'Geo-political', (0,), 'Geo-political', (2,))],
                      'string': [('Part-whole', 'Geo-political', 'MULTAN', 'Geo-political', 'Pakistan')]
                  }, ...
              ]
      """
      pred_instance_list = list()
      for pred in pred_list:
          for offset_pred in pred["offset"]:
              if not isinstance(offset_pred[2], tuple):
                  offset_pred[2] = tuple_offset(offset_pred[2])
  
              if not isinstance(offset_pred[4], tuple):
                  offset_pred[4] = tuple_offset(offset_pred[4])
  
          pred["offset"] = [tuple_offset(p) for p in pred["offset"]]
          pred["string"] = [tuple_offset(p) for p in pred["string"]]
          pred_instance_list += [pred]
      return pred_instance_list
  
imports: from collections import defaultdict
  from copy import deepcopy
  from typing import Dict, List
  import sys
label_desc: Use image node_id 2 for calling the RelationScorer obj's underlying member method code with example usage: obj.load_pred_list(pred_list) and returns: pred_instance_list