osbm commited on
Commit
bff2d7d
1 Parent(s): 9f57957

correct readme

Browse files
Files changed (1) hide show
  1. README.md +8 -9
README.md CHANGED
@@ -1,20 +1,19 @@
1
  ---
2
- pretty_name: Download Zenodo Datasets
3
  ---
4
 
5
- # download zenodo datasets using huggingface datasets
6
 
7
- ```python
8
- from datasets import load_dataset
9
- dataset = load_dataset("zenodo", "10.5281/zenodo.4285300")
10
- ```
11
 
12
- or download the dataset to a desired directory
 
13
 
14
  ```python
15
  from datasets import load_dataset
16
- dataset = load_dataset("zenodo", "10.5281/zenodo.4285300", data_dir="path/to/dataset")
17
  ```
18
 
 
19
 
20
-
 
1
  ---
2
+ pretty_name: Download Zenodo Dataset files
3
  ---
4
 
5
+ # Download zenodo dataset files using huggingface datasets
6
 
7
+ You can download a specific file from the Zenodo dataset using the following code:
 
 
 
8
 
9
+ Zenodo id : 5172018
10
+ File name : FDB-17-fragmentset.smi.gz
11
 
12
  ```python
13
  from datasets import load_dataset
14
+ load_dataset("osbm/zenodo", "5172018_FDB-17-fragmentset.smi.gz")
15
  ```
16
 
17
+ This command will also copy the file into your current directory so that you can use it directly.
18
 
19
+ Here is an example notebook: https://gist.github.com/osbm/35a499f5756df22de30be20463aa6331