code: def select_best(self):
      models = sorted(
          self.models.items(), key=lambda x: self._get_sort_key(x)
      )
      first_metric = list(self.metrics.items())[0][1]
      model_number = models[0][0][-1]
      logger.info(
          "Using model {} ({}={:1f})".format(
              model_number + 1, first_metric.name, models[0][0][0]
          )
      )
      self.selected_model = model_number
      return models[0][1], models[0][0]
  
file_path: small-text/small_text/integrations/pytorch/model_selection.py
imports: import logging
  from collections import OrderedDict
  from pathlib import Path
  from small_text.integrations.pytorch.exceptions import PytorchNotFoundError
  from small_text.utils.annotations import deprecated
label_desc: Use image node_id 3 for calling the PytorchModelSelection obj's underlying member method code with example usage: obj.select_best() and returns: models,  models