Upload nle_hf_dataset.py
Browse files- nle_hf_dataset.py +4 -16
nle_hf_dataset.py
CHANGED
@@ -22,19 +22,6 @@ import datasets
|
|
22 |
|
23 |
|
24 |
_CITATION = """\
|
25 |
-
@inproceedings{hambro2022dungeonsanddata,
|
26 |
-
author = {Eric Hambro and
|
27 |
-
Roberta Raileanu and
|
28 |
-
Danielle Rothermel and
|
29 |
-
Vegard Mella and
|
30 |
-
Tim Rockt{\"{a}}schel and
|
31 |
-
Heinrich K{\"{u}}ttler and
|
32 |
-
Naila Murray},
|
33 |
-
title = {{Dungeons and Data: A Large-Scale NetHack Dataset}},
|
34 |
-
booktitle = {Thirty-sixth Conference on Neural Information Processing Systems Datasets and Benchmarks Track},
|
35 |
-
year = {2022},
|
36 |
-
url = {https://openreview.net/forum?id=zHNNSzo10xN}
|
37 |
-
}
|
38 |
"""
|
39 |
|
40 |
_DESCRIPTION = """\
|
@@ -45,10 +32,11 @@ _HOMEPAGE = ""
|
|
45 |
|
46 |
_LICENSE = ""
|
47 |
|
48 |
-
|
|
|
49 |
_URLS = {
|
50 |
-
"data": [f"data/{i}.hdf5" for i in range(1,
|
51 |
-
"metadata": [f"metadata/{i}.json" for i in range(1,
|
52 |
}
|
53 |
|
54 |
class NleHfDataset(datasets.GeneratorBasedBuilder):
|
|
|
22 |
|
23 |
|
24 |
_CITATION = """\
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
"""
|
26 |
|
27 |
_DESCRIPTION = """\
|
|
|
32 |
|
33 |
_LICENSE = ""
|
34 |
|
35 |
+
|
36 |
+
_TOTAL_EPISODES = 6
|
37 |
_URLS = {
|
38 |
+
"data": [f"data/{i}.hdf5" for i in range(1, _TOTAL_EPISODES)],
|
39 |
+
"metadata": [f"metadata/{i}.json" for i in range(1, _TOTAL_EPISODES)],
|
40 |
}
|
41 |
|
42 |
class NleHfDataset(datasets.GeneratorBasedBuilder):
|