class_docstr: Individual fairness perturbation for gender terms and pronouns.
class_docstr_tok: ["Individual","fairness","perturbation","for","gender","terms","and","pronouns","."]
docstr: Load mappings as a list.
docstr_tok: ["Load","mappings","as","a","list","."]
code: def load_mappings(mapping_file_path: str) -> List[Tuple[str, ...]]:
      """Load mappings as a list."""
      with open(mapping_file_path, "r") as f:
          loaded_json = json.load(f)
          return [
              tuple([str(e).lower() for e in t]) for t in loaded_json
          ]
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/augmentations/gender_perturbation.py
imports: from dataclasses import dataclass
  import json
  from random import Random
  import re
  from typing import Dict, List, Optional, Tuple
  from helm.common.general import match_case
  from .perturbation_description import PerturbationDescription
  from .perturbation import Perturbation
label_desc: Use image node_id 3 for calling the GenderPerturbation obj's underlying member method code with example usage: obj.load_mappings(mapping_file_path) and returns: unknown