https://github.com/osbm/huggingface-zenodo-datasets
https://github.com/osbm/huggingface-zenodo-datasets
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/osbm/huggingface-zenodo-datasets
- Owner: osbm
- License: mit
- Created: 2022-09-26T10:39:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-12T11:41:03.000Z (about 3 years ago)
- Last Synced: 2025-03-27T21:16:03.566Z (over 1 year ago)
- Language: Python
- Size: 14.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
pretty_name: Download Zenodo Dataset files
---
# Download zenodo dataset files using huggingface datasets
You can download a specific file from the Zenodo dataset using the following code:
Zenodo id : 5172018
File name : FDB-17-fragmentset.smi.gz
```python
from datasets import load_dataset
load_dataset("osbm/zenodo", "5172018_FDB-17-fragmentset.smi.gz")
```
This command will also copy the file into your current directory so that you can use it directly.
Here is an example notebook: https://gist.github.com/osbm/35a499f5756df22de30be20463aa6331
# Contribution
[The huggingface repository](https://huggingface.co/datasets/osbm/zenodo) is actually a mirror of the github repository [osbm/zenodo](https://github.com/osbm/huggingface-zenodo-datasets). If you want to open an issue or PR, please do it on the github repository. I chose to do it this way because I wanted to use github actions. Currently only github action is mirroring the repository to huggingface. 😅