code: def _dedupe(name):
      rate = None
      if name in _GLUE_WEIGHT_MAPPING:
          rate = _GLUE_WEIGHT_MAPPING[name]
      elif name in _SUPER_GLUE_WEIGHT_MAPPING:
          rate = _SUPER_GLUE_WEIGHT_MAPPING[name]
      if rate is None:
          return t5.data.rate_num_examples
      if "glue" in name and "rte" in name:
          rate *= 0.5
      return rate
  
imports: import seqio
  import t5.data
  from t5.data.glue_utils import get_glue_weight_mapping
  from t5.data.glue_utils import get_super_glue_weight_mapping
  from t5.data.glue_utils import get_super_glue_weight_mapping_sentinel
  import t5.data.tasks
label_desc: Use image node_id 1 for calling a global function with example usage: _dedupe(name) and returns: rate, t5