lukemelas commited on
Commit
9100988
1 Parent(s): 8b6b3f1
Files changed (1) hide show
  1. test-dataset-debug.py +10 -6
test-dataset-debug.py CHANGED
@@ -8,7 +8,6 @@ import datetime
8
  import pandas as pd
9
  import numpy as np
10
  from pathlib import Path
11
- # from sklearn.utils import shuffle
12
 
13
  import datasets
14
 
@@ -26,17 +25,22 @@ year={2020}
26
  # TODO: Add description of the dataset here
27
  _DESCRIPTION = """TODO: Add description"""
28
 
29
- # URLs for production
30
- _METADATA_URL = "https://patentdiag.blob.core.windows.net/patent-data/metadata-2021-02-10.feather"
31
- # _METADATA_URL = "https://patentdiag.blob.core.windows.net/patent-data/metadata-2021-01-21.feather"
32
- _DATA_URL = "https://patentdiag.blob.core.windows.net/patent-data/distilled-2021-01-07.tar"
33
- _DATA_SUBFOLDER_NAME = 'distilled'
34
 
35
  # # URLs for debugging
36
  # _METADATA_URL = _DEBUG_METADATA_URL = "https://patentdiag.blob.core.windows.net/patent-data/metadata_debug-2021-02-10.feather"
37
  # _DATA_URL = _DEBUG_DATA_URL = "https://patentdiag.blob.core.windows.net/patent-data/distilled_debug-2021-01-07.tar"
38
  # _DATA_SUBFOLDER_NAME = _DATA_SUBFOLDER_NAME = 'debug_distilled'
39
 
 
 
 
 
 
40
  RANDOM_STATE = 1729
41
 
42
 
 
8
  import pandas as pd
9
  import numpy as np
10
  from pathlib import Path
 
11
 
12
  import datasets
13
 
 
25
  # TODO: Add description of the dataset here
26
  _DESCRIPTION = """TODO: Add description"""
27
 
28
+ # # URLs for production
29
+ # _METADATA_URL = "https://patentdiag.blob.core.windows.net/patent-data/metadata-2021-02-10.feather"
30
+ # # _METADATA_URL = "https://patentdiag.blob.core.windows.net/patent-data/metadata-2021-01-21.feather"
31
+ # _DATA_URL = "https://patentdiag.blob.core.windows.net/patent-data/distilled-2021-01-07.tar"
32
+ # _DATA_SUBFOLDER_NAME = 'distilled'
33
 
34
  # # URLs for debugging
35
  # _METADATA_URL = _DEBUG_METADATA_URL = "https://patentdiag.blob.core.windows.net/patent-data/metadata_debug-2021-02-10.feather"
36
  # _DATA_URL = _DEBUG_DATA_URL = "https://patentdiag.blob.core.windows.net/patent-data/distilled_debug-2021-01-07.tar"
37
  # _DATA_SUBFOLDER_NAME = _DATA_SUBFOLDER_NAME = 'debug_distilled'
38
 
39
+ # URLs for figuring out the Huggingface Hub
40
+ _METADATA_URL = "https://huggingface.co/datasets/greeneggsandyaml/test-dataset-debug/resolve/main/metadata--Jan2016--2021-02-10.feather"
41
+ _DATA_URL = "https://huggingface.co/datasets/greeneggsandyaml/test-dataset-debug/resolve/main/json-files-Jan2016.tar"
42
+ _DATA_SUBFOLDER_NAME = 'json-files-Jan2016'
43
+
44
  RANDOM_STATE = 1729
45
 
46