code: def create_data_augmenter(
      data_augmenter_spec: DataAugmenterSpec,
  ) -> DataAugmenter:
      """Creates a DataAugmenter from a DataAugmenterSpec."""
      return DataAugmenter(
          perturbations=data_augmenter_spec.perturbations
      )
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/augmentations/data_augmenter.py
imports: from dataclasses import dataclass, field
  from typing import List
  from helm.common.hierarchical_logger import htrack, hlog
  from helm.common.general import parallel_map
  from helm.benchmark.augmentations.perturbation import Perturbation, PerturbationSpec, create_perturbation
  from helm.benchmark.scenarios.scenario import Instance
label_desc: Use image node_id 1 for calling a global function with example usage: create_data_augmenter(data_augmenter_spec) and returns: DataAugmenter