96abhishekarora
commited on
Commit
•
ee7a75b
1
Parent(s):
040b1a0
test
Browse files- AmericanStories.py +2 -1
AmericanStories.py
CHANGED
@@ -144,6 +144,7 @@ class AmericanStories(datasets.GeneratorBasedBuilder):
|
|
144 |
year_list=self.config.year_list
|
145 |
|
146 |
data_dir = dl_manager.download_and_extract(urls)
|
|
|
147 |
|
148 |
###REturn a list of splits - but each split is for a year!
|
149 |
return [
|
@@ -151,7 +152,7 @@ class AmericanStories(datasets.GeneratorBasedBuilder):
|
|
151 |
name=year,
|
152 |
# These kwargs will be passed to _generate_examples
|
153 |
gen_kwargs={
|
154 |
-
"year_dir": os.path.join(data_dir[year][0], "mnt
|
155 |
"split": year,
|
156 |
},
|
157 |
) for year in year_list
|
|
|
144 |
year_list=self.config.year_list
|
145 |
|
146 |
data_dir = dl_manager.download_and_extract(urls)
|
147 |
+
print(data_dir)
|
148 |
|
149 |
###REturn a list of splits - but each split is for a year!
|
150 |
return [
|
|
|
152 |
name=year,
|
153 |
# These kwargs will be passed to _generate_examples
|
154 |
gen_kwargs={
|
155 |
+
"year_dir": os.path.join(data_dir[year][0], "mnt","122a7683-fa4b-45dd-9f13-b18cc4f4a187","ca_rule_based_fa_clean","faro_"+year),
|
156 |
"split": year,
|
157 |
},
|
158 |
) for year in year_list
|