Datasets:
Tasks:
Graph Machine Learning
Modalities:
Text
Formats:
text
Size:
10K - 100K
ArXiv:
Tags:
art
License:
SauravMaheshkar
commited on
docs: add usage
Browse files
README.md
CHANGED
@@ -14,6 +14,18 @@ license: cc
|
|
14 |
|:-------:|:-------:|:----------:|
|
15 |
| 7,600 | 33,544 | 931 |
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
## Citations
|
18 |
|
19 |
```
|
|
|
14 |
|:-------:|:-------:|:----------:|
|
15 |
| 7,600 | 33,544 | 931 |
|
16 |
|
17 |
+
## Usage
|
18 |
+
|
19 |
+
```python
|
20 |
+
from huggingface_hub import hf_hub_download
|
21 |
+
|
22 |
+
hf_hub_download(repo_id="SauravMaheshkar/Actor", filename="processed/actor.bin", local_dir="./data/", repo_type="dataset")
|
23 |
+
|
24 |
+
dataset, _ = dgl.load_graphs("./data/processed/actor.bin")
|
25 |
+
```
|
26 |
+
|
27 |
+
Thank you [@severo](https://huggingface.co/severo) for helping me [figure out the usage](https://discuss.huggingface.co/t/can-i-use-a-pickle-file-with-the-data-files-argument-with-datasets/72189/2?u=sauravmaheshkar).
|
28 |
+
|
29 |
## Citations
|
30 |
|
31 |
```
|