indraroy
commited on
Commit
·
b658338
1
Parent(s):
dd0c2ea
Update data card
Browse files
README.md
CHANGED
|
@@ -78,7 +78,8 @@ import pickle
|
|
| 78 |
|
| 79 |
path = hf_hub_download(
|
| 80 |
"structlearning/isonetpp-benchmark",
|
| 81 |
-
filename="corpus/aids240k_corpus_subgraphs.pkl"
|
|
|
|
| 82 |
)
|
| 83 |
with open(path, "rb") as f:
|
| 84 |
corpus_graphs = pickle.load(f)
|
|
@@ -92,13 +93,15 @@ import pickle
|
|
| 92 |
|
| 93 |
queries = pickle.load(open(
|
| 94 |
hf_hub_download("structlearning/isonetpp-benchmark",
|
| 95 |
-
filename="splits/train/train_aids240k_query_subgraphs.pkl"
|
|
|
|
| 96 |
"rb"
|
| 97 |
))
|
| 98 |
|
| 99 |
labels = pickle.load(open(
|
| 100 |
hf_hub_download("structlearning/isonetpp-benchmark",
|
| 101 |
-
filename="splits/train/train_aids240k_rel_nx_is_subgraph_iso.pkl"
|
|
|
|
| 102 |
"rb"
|
| 103 |
))
|
| 104 |
```
|
|
|
|
| 78 |
|
| 79 |
path = hf_hub_download(
|
| 80 |
"structlearning/isonetpp-benchmark",
|
| 81 |
+
filename="corpus/aids240k_corpus_subgraphs.pkl",
|
| 82 |
+
repo_type="dataset"
|
| 83 |
)
|
| 84 |
with open(path, "rb") as f:
|
| 85 |
corpus_graphs = pickle.load(f)
|
|
|
|
| 93 |
|
| 94 |
queries = pickle.load(open(
|
| 95 |
hf_hub_download("structlearning/isonetpp-benchmark",
|
| 96 |
+
filename="splits/train/train_aids240k_query_subgraphs.pkl",
|
| 97 |
+
repo_type="dataset"),
|
| 98 |
"rb"
|
| 99 |
))
|
| 100 |
|
| 101 |
labels = pickle.load(open(
|
| 102 |
hf_hub_download("structlearning/isonetpp-benchmark",
|
| 103 |
+
filename="splits/train/train_aids240k_rel_nx_is_subgraph_iso.pkl",
|
| 104 |
+
repo_type="dataset"),
|
| 105 |
"rb"
|
| 106 |
))
|
| 107 |
```
|