correct readme
Browse files
README.md
CHANGED
@@ -1,20 +1,19 @@
|
|
1 |
---
|
2 |
-
pretty_name: Download Zenodo
|
3 |
---
|
4 |
|
5 |
-
#
|
6 |
|
7 |
-
|
8 |
-
from datasets import load_dataset
|
9 |
-
dataset = load_dataset("zenodo", "10.5281/zenodo.4285300")
|
10 |
-
```
|
11 |
|
12 |
-
|
|
|
13 |
|
14 |
```python
|
15 |
from datasets import load_dataset
|
16 |
-
|
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
|