use full dataset
Browse files- yttemporal180m.py +2 -7
yttemporal180m.py
CHANGED
@@ -19,12 +19,9 @@ that covers diverse topics.
|
|
19 |
_URL_BASE = "https://rowanzellers.com/merlot/#data"
|
20 |
|
21 |
url_numbers = ["00" + str(i) if i < 10 else "0" + str(i) for i in range(100)]
|
22 |
-
# _DL_URLS = [
|
23 |
-
# f"https://storage.googleapis.com/merlot/yttemporal180m/yttemporal180m_{num}of100.jsonl.gz"
|
24 |
-
# for num in url_numbers
|
25 |
-
# ]
|
26 |
_DL_URLS = [
|
27 |
-
f"https://storage.googleapis.com/merlot/yttemporal180m/
|
|
|
28 |
]
|
29 |
|
30 |
|
@@ -137,5 +134,3 @@ class yttemporal180m(datasets.GeneratorBasedBuilder):
|
|
137 |
caption = ""
|
138 |
else:
|
139 |
caption += el["word"] + " "
|
140 |
-
if idx > 1000:
|
141 |
-
break
|
|
|
19 |
_URL_BASE = "https://rowanzellers.com/merlot/#data"
|
20 |
|
21 |
url_numbers = ["00" + str(i) if i < 10 else "0" + str(i) for i in range(100)]
|
|
|
|
|
|
|
|
|
22 |
_DL_URLS = [
|
23 |
+
f"https://storage.googleapis.com/merlot/yttemporal180m/yttemporal180m_{num}of100.jsonl.gz"
|
24 |
+
for num in url_numbers
|
25 |
]
|
26 |
|
27 |
|
|
|
134 |
caption = ""
|
135 |
else:
|
136 |
caption += el["word"] + " "
|
|
|
|