SauravMaheshkar commited on
Commit
82f87c5
·
verified ·
1 Parent(s): 5b22b73

docs: add usage

Browse files
Files changed (1) hide show
  1. README.md +12 -0
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
  ```