devnote5676
commited on
Commit
•
c4757ef
1
Parent(s):
feca7cf
Upload SOCKET.py
Browse files
SOCKET.py
CHANGED
@@ -38,7 +38,6 @@ _HOMEPAGE = "TBD"
|
|
38 |
_LICENSE = ""
|
39 |
|
40 |
#set up url or the file dir here
|
41 |
-
URL = "SOCKET_DATA/"
|
42 |
URL = "https://huggingface.co/datasets/Blablablab/SOCKET/resolve/main/SOCKET_DATA/"
|
43 |
|
44 |
TASK_DICT = {
|
@@ -364,11 +363,8 @@ class SOCKET(datasets.GeneratorBasedBuilder):
|
|
364 |
|
365 |
def _split_generators(self, dl_manager):
|
366 |
"""Returns SplitGenerators."""
|
367 |
-
print("Testing _split_generators")
|
368 |
my_urls = _URLs[self.config.type]
|
369 |
-
print('my_urls: ',my_urls)
|
370 |
data_dir = dl_manager.download_and_extract(my_urls)
|
371 |
-
print('data_dir: ',data_dir)
|
372 |
return [
|
373 |
datasets.SplitGenerator(
|
374 |
name=datasets.Split.TRAIN,
|
|
|
38 |
_LICENSE = ""
|
39 |
|
40 |
#set up url or the file dir here
|
|
|
41 |
URL = "https://huggingface.co/datasets/Blablablab/SOCKET/resolve/main/SOCKET_DATA/"
|
42 |
|
43 |
TASK_DICT = {
|
|
|
363 |
|
364 |
def _split_generators(self, dl_manager):
|
365 |
"""Returns SplitGenerators."""
|
|
|
366 |
my_urls = _URLs[self.config.type]
|
|
|
367 |
data_dir = dl_manager.download_and_extract(my_urls)
|
|
|
368 |
return [
|
369 |
datasets.SplitGenerator(
|
370 |
name=datasets.Split.TRAIN,
|