Datasets:

Modalities:
Audio
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
sshon-asapp commited on
Commit
c5df0c6
1 Parent(s): 2f23b31

update test labels

Browse files
data/slue-hvb.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7602ceb8fb8c5badc9af9916ba5e25c001f58492b218c6919153682f5a277414
3
+ size 1086778430
data/slue-sqa5.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8504ffb20b479cbb74aa34acbb17596b4f89ddd42af685f42ccd8cf2fe974fc5
3
+ size 43389086505
data/slue-vp_nel.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d51bb4e73b5d8c9b44cf3a2d23e28bb3066163260a3e6726b6ed33c0b819e94
3
+ size 168703692
slue-phase-2.py CHANGED
@@ -13,9 +13,9 @@ logger = get_logger(__name__)
13
  _URL = "https://asappresearch.github.io/slue-toolkit/"
14
 
15
  _DL_URLS = {
16
- "slue-hvb": "data/slue-hvb_blind.zip",
17
- "slue-sqa5": "data/slue-sqa5_blind.zip",
18
- "slue-vp_nel": "data/slue-vp_nel_blind.zip",
19
  "slue-ted": "data/slue-ted",
20
  }
21
 
@@ -265,7 +265,8 @@ class SLUE2(datasets.GeneratorBasedBuilder):
265
  if config_name=="slue-ted":
266
  train_dl_dir = dl_manager.download_and_extract(_DL_URLS[config_name]+"_train.zip")
267
  valid_dl_dir = dl_manager.download_and_extract(_DL_URLS[config_name]+"_dev.zip")
268
- test_dl_dir = dl_manager.download_and_extract(_DL_URLS[config_name]+"_test_blind.zip")
 
269
  else:
270
  dl_dir = dl_manager.download_and_extract(_DL_URLS[config_name])
271
  data_dir = os.path.join(dl_dir, config_name)
@@ -289,7 +290,7 @@ class SLUE2(datasets.GeneratorBasedBuilder):
289
  name=datasets.Split.TRAIN,
290
  gen_kwargs={
291
  "filepath": os.path.join(
292
- os.path.join(train_dl_dir, config_name) or "", f"{config_name}_fine-tune.tsv"
293
  ),
294
  "data_dir": os.path.join(train_dl_dir, config_name),
295
  },
@@ -311,7 +312,7 @@ class SLUE2(datasets.GeneratorBasedBuilder):
311
  name=datasets.Split.TEST,
312
  gen_kwargs={
313
  "filepath": os.path.join(
314
- os.path.join(test_dl_dir, config_name+"_test") or "", f"{config_name}_test_blind.tsv"
315
  ),
316
  "data_dir": os.path.join(test_dl_dir, config_name+"_test"),
317
  },
@@ -334,7 +335,7 @@ class SLUE2(datasets.GeneratorBasedBuilder):
334
  name=datasets.Split.TEST,
335
  gen_kwargs={
336
  "filepath": os.path.join(
337
- data_dir or "", f"{config_name}_test_blind.tsv"
338
  ),
339
  "data_dir": data_dir,
340
  },
@@ -346,7 +347,7 @@ class SLUE2(datasets.GeneratorBasedBuilder):
346
  name="verified_test",
347
  gen_kwargs={
348
  "filepath": os.path.join(
349
- data_dir or "", f"{config_name}_verified-test_blind.tsv"
350
  ),
351
  "data_dir": data_dir,
352
  },
 
13
  _URL = "https://asappresearch.github.io/slue-toolkit/"
14
 
15
  _DL_URLS = {
16
+ "slue-hvb": "data/slue-hvb.zip",
17
+ "slue-sqa5": "data/slue-sqa5.zip",
18
+ "slue-vp_nel": "data/slue-vp_nel.zip",
19
  "slue-ted": "data/slue-ted",
20
  }
21
 
 
265
  if config_name=="slue-ted":
266
  train_dl_dir = dl_manager.download_and_extract(_DL_URLS[config_name]+"_train.zip")
267
  valid_dl_dir = dl_manager.download_and_extract(_DL_URLS[config_name]+"_dev.zip")
268
+ test_dl_dir = dl_manager.download_and_extract(_DL_URLS[config_name]+"_test.zip")
269
+ print(train_dl_dir)
270
  else:
271
  dl_dir = dl_manager.download_and_extract(_DL_URLS[config_name])
272
  data_dir = os.path.join(dl_dir, config_name)
 
290
  name=datasets.Split.TRAIN,
291
  gen_kwargs={
292
  "filepath": os.path.join(
293
+ os.path.join(train_dl_dir, f"{config_name}_train") or "", f"{config_name}_train.tsv"
294
  ),
295
  "data_dir": os.path.join(train_dl_dir, config_name),
296
  },
 
312
  name=datasets.Split.TEST,
313
  gen_kwargs={
314
  "filepath": os.path.join(
315
+ os.path.join(test_dl_dir, config_name+"_test") or "", f"{config_name}_test.tsv"
316
  ),
317
  "data_dir": os.path.join(test_dl_dir, config_name+"_test"),
318
  },
 
335
  name=datasets.Split.TEST,
336
  gen_kwargs={
337
  "filepath": os.path.join(
338
+ data_dir or "", f"{config_name}_test.tsv"
339
  ),
340
  "data_dir": data_dir,
341
  },
 
347
  name="verified_test",
348
  gen_kwargs={
349
  "filepath": os.path.join(
350
+ data_dir or "", f"{config_name}_verified-test.tsv"
351
  ),
352
  "data_dir": data_dir,
353
  },