Spaces:
Paused
Paused
update
Browse files
zip_datasets.py → compress_datasets.py
RENAMED
|
@@ -1,4 +1,12 @@
|
|
| 1 |
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
# file: zip_datasets.py
|
| 3 |
# time: 05/11/2022 17:10
|
| 4 |
# author: yangheng <hy345@exeter.ac.uk>
|
|
@@ -44,14 +52,14 @@ def cascade_zip_datasets():
|
|
| 44 |
|
| 45 |
|
| 46 |
if __name__ == "__main__":
|
| 47 |
-
if os.path.exists('integrated_datasets'):
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
|
| 57 |
cascade_zip_datasets()
|
|
|
|
| 1 |
# -*- coding: utf-8 -*-
|
| 2 |
+
# file: compress_datasets.py
|
| 3 |
+
# time: 19:13 2023/2/5
|
| 4 |
+
# author: yangheng <hy345@exeter.ac.uk>
|
| 5 |
+
# github: https://github.com/yangheng95
|
| 6 |
+
# huggingface: https://huggingface.co/yangheng
|
| 7 |
+
# google scholar: https://scholar.google.com/citations?user=NPq5a_0AAAAJ&hl=en
|
| 8 |
+
# Copyright (C) 2021. All Rights Reserved.
|
| 9 |
+
# -*- coding: utf-8 -*-
|
| 10 |
# file: zip_datasets.py
|
| 11 |
# time: 05/11/2022 17:10
|
| 12 |
# author: yangheng <hy345@exeter.ac.uk>
|
|
|
|
| 52 |
|
| 53 |
|
| 54 |
if __name__ == "__main__":
|
| 55 |
+
# if os.path.exists('integrated_datasets'):
|
| 56 |
+
# try:
|
| 57 |
+
# shutil.rmtree('integrated_datasets')
|
| 58 |
+
# except:
|
| 59 |
+
# os.system('rm -rf integrated_datasets')
|
| 60 |
+
#
|
| 61 |
+
# from pyabsa import download_all_available_datasets
|
| 62 |
+
#
|
| 63 |
+
# download_all_available_datasets()
|
| 64 |
|
| 65 |
cascade_zip_datasets()
|
emergency_notification.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
If you find any problem, please report on GitHub. Thanks!
|
integrated_datasets.zip
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f629b55b71de662877e5058f02cb78a2dcb30f7184f0fe33457a6395fe720495
|
| 3 |
-
size 161427491
|
|
|
|
|
|
|
|
|
|
|
|