docstr: [summary]
  
  Args:
      gold_list (List[List[Dict]]): List of Sentece, each sentence contains a List of Relation Dict
          [
              [
                  {
                      'type': 'Part-whole',
                      'args': [{'type': 'Location', 'offset': [11], 'text': 'lot'}, {'type': 'Geo-political', 'offset': [14], 'text': 'city'}]
                  }, ...
              ],
              [...],
          ]
  
  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_gold_list(gold_list: List[List[Dict]]):
      """[summary]
  
      Args:
          gold_list (List[List[Dict]]): List of Sentece, each sentence contains a List of Relation Dict
              [
                  [
                      {
                          'type': 'Part-whole',
                          'args': [{'type': 'Location', 'offset': [11], 'text': 'lot'}, {'type': 'Geo-political', 'offset': [14], 'text': 'city'}]
                      }, ...
                  ],
                  [...],
              ]
  
      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'), ...]
                  }
              ]
      """
      gold_instance_list = []
      for gold in gold_list:
          gold_instance = defaultdict(list)
          for record in gold:
              assert len(record["args"]) == 2
              gold_instance["offset"] += [
                  (
                      record["type"],
                      record["args"][0]["type"],
                      tuple_offset(record["args"][0]["offset"]),
                      record["args"][1]["type"],
                      tuple_offset(record["args"][1]["offset"]),
                  )
              ]
              gold_instance["string"] += [
                  (
                      record["type"],
                      record["args"][0]["type"],
                      record["args"][0]["text"],
                      record["args"][1]["type"],
                      record["args"][1]["text"],
                  )
              ]
          gold_instance_list += [gold_instance]
  
      return gold_instance_list
  
imports: from collections import defaultdict
  from copy import deepcopy
  from typing import Dict, List
  import sys
label_desc: Use image node_id 1 for calling the RelationScorer obj's underlying member method code with example usage: obj.load_gold_list(gold_list) and returns: gold_instance_list