Sean MacAvaney
commited on
Commit
·
783516b
1
Parent(s):
2dc3d03
commit files to HF hub
Browse files- README.md +9 -2
- antique_train.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_train', 'queries')
|
26 |
+
for record in queries:
|
27 |
+
record # {'queries': Ellipsis, 'qrels': Ellipsis}
|
28 |
+
|
29 |
+
qrels = load_dataset('irds/antique_train', 'qrels')
|
30 |
+
for record in qrels:
|
31 |
+
record # {'queries': Ellipsis, 'qrels': Ellipsis}
|
32 |
+
|
33 |
+
```
|
34 |
|
35 |
## Citation Information
|
36 |
|
antique_train.py
CHANGED
@@ -16,7 +16,6 @@ _DESCRIPTION = "" # TODO
|
|
16 |
|
17 |
class antique_train(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_train(datasets.GeneratorBasedBuilder):
|
18 |
BUILDER_CONFIGS = [datasets.BuilderConfig(name=e) for e in IRDS_ENTITY_TYPES]
|
|
|
19 |
|
20 |
def _info(self):
|
21 |
return datasets.DatasetInfo(
|