ooyiyangc commited on
Commit
945d7c4
·
verified ·
1 Parent(s): 065bad3

Update AmericanStories.py

Browse files
Files changed (1) hide show
  1. AmericanStories.py +2 -2
AmericanStories.py CHANGED
@@ -14,7 +14,7 @@ def make_year_file_splits():
14
  list: A list of years.
15
  """
16
 
17
- base_url = "https://huggingface.co/datasets/dell-research-harvard/AmericanStories/resolve/main/"
18
 
19
  # Make a list of years from 1774 to 1960
20
  # TODO: can we set up to check the actual files in the repo instead of relying on the offline list?
@@ -153,7 +153,7 @@ class AmericanStories(datasets.GeneratorBasedBuilder):
153
  name=year,
154
  gen_kwargs={
155
  "files": dl_manager.iter_archive(archive[year]),
156
- "year_dir": "/".join(["mnt", "122a7683-fa4b-45dd-9f13-b18cc4f4a187", "ca_rule_based_fa_clean", "faro_" + year]),
157
  "split": year,
158
  "associated": True if not self.config.name.endswith("content_regions") else False,
159
  },
 
14
  list: A list of years.
15
  """
16
 
17
+ base_url = "https://huggingface.co/datasets/dell-research-harvard/AmericanStories/resolve/refs/pr/14/"
18
 
19
  # Make a list of years from 1774 to 1960
20
  # TODO: can we set up to check the actual files in the repo instead of relying on the offline list?
 
153
  name=year,
154
  gen_kwargs={
155
  "files": dl_manager.iter_archive(archive[year]),
156
+ "year_dir": "/".join(["faro_" + year]),
157
  "split": year,
158
  "associated": True if not self.config.name.endswith("content_regions") else False,
159
  },