Upload nle_hf_dataset.py
Browse files- nle_hf_dataset.py +14 -5
nle_hf_dataset.py
CHANGED
@@ -14,6 +14,7 @@
|
|
14 |
|
15 |
""" Dungeons and Data: A Large-Scale NetHack Dataset. """
|
16 |
|
|
|
17 |
import h5py
|
18 |
import json
|
19 |
import os
|
@@ -21,11 +22,18 @@ import datasets
|
|
21 |
|
22 |
|
23 |
_CITATION = """\
|
24 |
-
@
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
}
|
30 |
"""
|
31 |
|
@@ -37,6 +45,7 @@ _HOMEPAGE = ""
|
|
37 |
|
38 |
_LICENSE = ""
|
39 |
|
|
|
40 |
_URLS = {
|
41 |
"data": [f"data/{i}.hdf5" for i in range(1, 6)],
|
42 |
"metadata": [f"metadata/{i}.json" for i in range(1, 6)],
|
|
|
14 |
|
15 |
""" Dungeons and Data: A Large-Scale NetHack Dataset. """
|
16 |
|
17 |
+
import glob
|
18 |
import h5py
|
19 |
import json
|
20 |
import os
|
|
|
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 |
|
|
|
45 |
|
46 |
_LICENSE = ""
|
47 |
|
48 |
+
print(glob.glob("metadata/*.json"))
|
49 |
_URLS = {
|
50 |
"data": [f"data/{i}.hdf5" for i in range(1, 6)],
|
51 |
"metadata": [f"metadata/{i}.json" for i in range(1, 6)],
|