code: def sampling_method_selector(self):
      args = self.args
      logger.info(f"selected sampler: {args.sampling_method}")
      if args.sampling_method == "uniform":
          return uniform
      elif args.sampling_method == "temperature" or self.is_adaptive():
          return make_temperature_sampling(
              float(args.sampling_temperature)
          )
      else:
          # default to concating all data set together
          return None
  
file_path: fairseq/fairseq/data/multilingual/sampling_method.py
imports: import logging
  from typing import List
label_desc: Use image node_id 5 for calling the SamplingMethod obj's underlying member method code with example usage: obj.sampling_method_selector() and returns: uniform, make_temperature_sampling, None