code: def get_dataset(url: str) -> list[Sample]:
      parsed = urlparse(url)
      if parsed.scheme == "hf":
          query = parse_qs(parsed.query)
          query = {k: v[0] for k, v in query.items()}
  
          path = parsed.netloc
  
          dataset = load_dataset(path, **query)
          if path == "hellaswag":
              return [
                  Sample(
                      question=sample["ctx"],
                      answers=sample["endings"],
                      label=int(sample["label"]),
                  )
                  for sample in dataset
              ]
          elif path == "hendrycks_test":
              return [
                  Sample(
                      question=sample["question"],
                      answers=sample["choices"],
                      label=sample["answer"],
                  )
                  for sample in dataset
              ]
  
      raise ValueError(f"Unknown question dataset {url}")
  
file_path: evals/evals/elsuite/multiple_choice.py
imports: from typing import Optional
  from urllib.parse import parse_qs, urlparse
  from datasets import load_dataset
  from pydantic import BaseModel
  import evals
  import evals.metrics
  from evals.api import CompletionFn
  from evals.formatting import make_abc
  from evals.record import RecorderBase
label_desc: Use image node_id 1 for calling a global function with example usage: get_dataset(url) and returns: unknown, unknown