Datasets:
ronaldahmed
commited on
Commit
•
22b1571
1
Parent(s):
d2e8a01
challenge sets: abstractivity and topic diversity
Browse files- wiki_cat_sum.py +3 -3
wiki_cat_sum.py
CHANGED
@@ -187,10 +187,10 @@ class WikiCatSum(datasets.GeneratorBasedBuilder):
|
|
187 |
my_urls = _URLs[self.config.name]
|
188 |
d_conf = dl_manager.download_and_extract(my_urls)
|
189 |
challenge_sets = [
|
190 |
-
("challenge_test_abstractivity_%d" % lvl,
|
191 |
-
for lvl in
|
192 |
] + [
|
193 |
-
("challenge_test_topic_diversity_%d" % lvl,d_conf["cs_tdiv"]["test-%s_tdiv_%d.jsonl" % (self.config.name,lvl)]) \
|
194 |
for lvl in range(4)
|
195 |
]
|
196 |
|
|
|
187 |
my_urls = _URLs[self.config.name]
|
188 |
d_conf = dl_manager.download_and_extract(my_urls)
|
189 |
challenge_sets = [
|
190 |
+
("challenge_test_abstractivity_%d" % (lvl), fname) \
|
191 |
+
for lvl,fname in enumerate(d_conf["cs_abs"])
|
192 |
] + [
|
193 |
+
("challenge_test_topic_diversity_%d" % (lvl),d_conf["cs_tdiv"]["test-%s_tdiv_%d.jsonl" % (self.config.name,lvl)]) \
|
194 |
for lvl in range(4)
|
195 |
]
|
196 |
|