code: def load_data(dataset_name):
      if dataset_name == "schools":
          return load_schools()
      elif dataset_name == "songs":
          return load_songs()
      elif dataset_name == "football_teams":
          return load_football_teams()
      elif dataset_name == "basketball_players":
          return load_basketball_players()
      elif dataset_name == "words":
          return load_word_dataset()
      elif dataset_name == "trivia_qa":
          return load_trivia_qa_dataset()
      elif dataset_name == "hallucination_senator":
          senators = pd.read_csv(
              "./rare_knowledge/data/hallucination_senator.csv"
          )
          senators = senators.to_dict(orient="records")
          return senators, None, None
      elif dataset_name == "counterfact":
          counterfact = json.load(
              open("./rare_knowledge/data/counterfact.json")
          )
          for item in counterfact:
              item["prompt"] = item["requested_rewrite"][
                  "prompt"
              ].format(item["requested_rewrite"]["subject"])
          return counterfact, None, None
      else:
          raise ValueError()
  
imports: import streamlit
  import numpy
  import os
  import torch
  import pandas
  import json
  from tqdm import tqdm
  import transformers
  from model_lib.hf_tooling import HF_LM
  from easydict import EasyDict
  from scipy.special import softmax
  import seaborn
  import matplotlib.pyplot
  from hooks import *
  from model_lib.misc_utils import *
  from model_lib.streamlit_frontend import css
  from rare_knowledge.collection import *
label_desc: Use image node_id 5 for calling a global function with example usage: load_data(dataset_name) and returns: load_schools, load_songs, load_football_teams, load_basketball_players, load_word_dataset, load_trivia_qa_dataset, senators,  None,  None, counterfact,  None,  None