def boolq_preprocess(*, common_config, data_dir,
                     download_dir):
  """Preprocess boolq as fever-like claims TFDS format.

  Args:
    common_config: Common global config
    data_dir: Where to write data to
    download_dir: Where to download data to, unused but required by TFDS API
  """
  logging.info('Creating claim dataset builder')
  builder = boolq_tfds.BoolQClaims(
      boolq_train_path=common_config.boolq_train,
      boolq_dev_path=common_config.boolq_dev,
      data_dir=data_dir,
  )
  download_config = tfds.download.DownloadConfig()
  builder.download_and_prepare(
      download_dir=download_dir, download_config=download_config)
Preprocess boolq as fever-like claims TFDS format.

  Args:
    common_config: Common global config
    data_dir: Where to write data to
    download_dir: Where to download data to, unused but required by TFDS API
  
language/serene/fever_cli.py