Sean MacAvaney commited on
Commit
1120768
1 Parent(s): 9017984

commit files to HF hub

Browse files
Files changed (2) hide show
  1. README.md +9 -2
  2. antique_test_non-offensive.py +0 -1
README.md CHANGED
@@ -21,9 +21,16 @@ This dataset provides:
21
 
22
  ```python
23
  from datasets import load_dataset
24
- dataset = load_dataset({repr("irds/"+hgf_id)})
25
- ```
26
 
 
 
 
 
 
 
 
 
 
27
 
28
  ## Citation Information
29
 
 
21
 
22
  ```python
23
  from datasets import load_dataset
 
 
24
 
25
+ queries = load_dataset('irds/antique_test_non-offensive', 'queries')
26
+ for record in queries:
27
+ record # {'queries': Ellipsis, 'qrels': Ellipsis}
28
+
29
+ qrels = load_dataset('irds/antique_test_non-offensive', 'qrels')
30
+ for record in qrels:
31
+ record # {'queries': Ellipsis, 'qrels': Ellipsis}
32
+
33
+ ```
34
 
35
  ## Citation Information
36
 
antique_test_non-offensive.py CHANGED
@@ -16,7 +16,6 @@ _DESCRIPTION = "" # TODO
16
 
17
  class antique_test_non_offensive(datasets.GeneratorBasedBuilder):
18
  BUILDER_CONFIGS = [datasets.BuilderConfig(name=e) for e in IRDS_ENTITY_TYPES]
19
- DEFAULT_CONFIG_NAME = list(IRDS_ENTITY_TYPES)[0]
20
 
21
  def _info(self):
22
  return datasets.DatasetInfo(
 
16
 
17
  class antique_test_non_offensive(datasets.GeneratorBasedBuilder):
18
  BUILDER_CONFIGS = [datasets.BuilderConfig(name=e) for e in IRDS_ENTITY_TYPES]
 
19
 
20
  def _info(self):
21
  return datasets.DatasetInfo(