Add cache
Browse files- wikipedia.py +1 -1
wikipedia.py
CHANGED
@@ -1025,7 +1025,7 @@ class Wikipedia(datasets.GeneratorBasedBuilder):
|
|
1025 |
|
1026 |
print("Parsing and cleaning Wikipedia examples")
|
1027 |
|
1028 |
-
result_q = multiprocess.Queue()
|
1029 |
processes = []
|
1030 |
for filepath in filepaths:
|
1031 |
def parse_and_clean():
|
|
|
1025 |
|
1026 |
print("Parsing and cleaning Wikipedia examples")
|
1027 |
|
1028 |
+
result_q = multiprocess.Queue(1024)
|
1029 |
processes = []
|
1030 |
for filepath in filepaths:
|
1031 |
def parse_and_clean():
|