Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
100K - 1M
License:
Zhangir Azerbayev
commited on
Commit
•
f34a2b4
1
Parent(s):
bc04843
production mode
Browse files- fetch_arxiv.py +3 -3
fetch_arxiv.py
CHANGED
@@ -232,7 +232,7 @@ def main():
|
|
232 |
"""
|
233 |
math_ids = get_math_ids()
|
234 |
|
235 |
-
save_dir = "
|
236 |
Path(save_dir).mkdir(exist_ok=True)
|
237 |
manifest_path = os.path.join(save_dir, "manifest.xml")
|
238 |
|
@@ -265,8 +265,8 @@ def main():
|
|
265 |
os.remove(manifest_path)
|
266 |
|
267 |
if __name__=="__main__":
|
268 |
-
|
269 |
-
|
270 |
for f in tqdm(os.listdir("arxiv")):
|
271 |
f_path = os.path.join("arxiv", f)
|
272 |
make_archive(f_path)
|
|
|
232 |
"""
|
233 |
math_ids = get_math_ids()
|
234 |
|
235 |
+
save_dir = "arxiv"
|
236 |
Path(save_dir).mkdir(exist_ok=True)
|
237 |
manifest_path = os.path.join(save_dir, "manifest.xml")
|
238 |
|
|
|
265 |
os.remove(manifest_path)
|
266 |
|
267 |
if __name__=="__main__":
|
268 |
+
main()
|
269 |
+
_delete_files_except_pattern("arxiv", r".*\.tex$", transform=clean_tex_file_some_more)
|
270 |
for f in tqdm(os.listdir("arxiv")):
|
271 |
f_path = os.path.join("arxiv", f)
|
272 |
make_archive(f_path)
|