code: def load_sample(self, sample: Dict[str, Any]) -> Any:
      if DataKeys.TARGET in sample:
          sample[DataKeys.TARGET] = self.format_target(
              sample[DataKeys.TARGET]
          )
      return sample
  
imports: from functools import partial
  from typing import Any, Dict, List, Optional, Union
  import pandas
  from flash.core.data.io.classification_input import ClassificationInputMixin
  from flash.core.data.io.input import DataKeys, Input
  from flash.core.data.utilities.classification import MultiBinaryTargetFormatter, TargetFormatter
  from flash.core.data.utilities.loading import load_data_frame
  from flash.core.data.utilities.paths import PATH_TYPE
  from flash.core.utilities.imports import _TOPIC_TEXT_AVAILABLE, requires
label_desc: Use image node_id 3 for calling the TextClassificationInput obj's underlying member method code with example usage: obj.load_sample(sample) and returns: sample