Spaces:
Runtime error
Runtime error
fix path to point to mounted drive
Browse files
utils.py
CHANGED
@@ -132,8 +132,8 @@ def download_wikipedia(ds_name, ds_config):
|
|
132 |
|
133 |
temp = ds2.select(range(start_idx, end_idx))
|
134 |
|
135 |
-
temp.to_parquet(f"wiki_chunks/chunk_{chunk_num}")
|
136 |
-
filenames.append(f"wiki_chunks/chunk_{chunk_num}")
|
137 |
|
138 |
return load_dataset("parquet", data_files=filenames, split="train")
|
139 |
|
|
|
132 |
|
133 |
temp = ds2.select(range(start_idx, end_idx))
|
134 |
|
135 |
+
temp.to_parquet(f"/data/wiki_chunks/chunk_{chunk_num}")
|
136 |
+
filenames.append(f"/data/wiki_chunks/chunk_{chunk_num}")
|
137 |
|
138 |
return load_dataset("parquet", data_files=filenames, split="train")
|
139 |
|