def METHOD_NAME(input_dir):
  """Creates and returns function serving unlabelled data for scoring.
  Args:
    input_dir: string, path to input data.
  Returns:
    Serving function.
  """
  raw_metadata = metadata_io.read_metadata(
      posixpath.join(input_dir, constants.PATH_INPUT_SCHEMA))
  transform_fn_path = posixpath.join(
      input_dir, constants.PATH_INPUT_TRANSFORMATION, 'transform_fn')
  return input_fn_maker.build_default_transforming_serving_input_receiver_fn(
      raw_metadata=raw_metadata,
      transform_savedmodel_dir=transform_fn_path,
      exclude_raw_keys=[constants.LABEL_COLUMN],
      include_raw_keys=constants.FEATURE_COLUMNS + [constants.KEY_COLUMN])