def dataset_path(*, data_dir, scrape_type,
                 include_not_enough_info, title_in_scoring,
                 n_similar_negatives, n_background_negatives):
  """Return the dataset path based on its configuration.

  For example, {data_dir}/type=drqa,n_similar=5,n_background=10,include_nei=true

  Args:
    data_dir: The parent directory to use
    scrape_type: The scrape type (e.g., drqa, lucene)
    include_not_enough_info: Whether to include not enough information claims
    title_in_scoring: Whether to include title in evidence for tfidf scoring
    n_similar_negatives: How many similar negatives tare used
    n_background_negatives: How many background negatives are used

  Returns:
    Path for FeverEvidence TFDS to write to
  """
  parts = [
      f'train_type={scrape_type}', f'n_similar={n_similar_negatives}',
      f'n_background={n_background_negatives}',
      f'include_nei={include_not_enough_info}',
      f'score_title={title_in_scoring}'
  ]
  parts = sorted(parts)
  directory = ','.join(parts)
  return os.path.join(data_dir, directory)
Return the dataset path based on its configuration.

  For example, {data_dir}/type=drqa,n_similar=5,n_background=10,include_nei=true

  Args:
    data_dir: The parent directory to use
    scrape_type: The scrape type (e.g., drqa, lucene)
    include_not_enough_info: Whether to include not enough information claims
    title_in_scoring: Whether to include title in evidence for tfidf scoring
    n_similar_negatives: How many similar negatives tare used
    n_background_negatives: How many background negatives are used

  Returns:
    Path for FeverEvidence TFDS to write to
  
language/serene/fever_tfds.py