down_on / down_on_hub.py
MatsRooth's picture
Upload 3 files
d16e9f3 verified
raw
history blame contribute delete
425 Bytes
# See https://huggingface.co/docs/datasets/audio_dataset
from datasets import load_dataset
# Upload the down_on dataset to huggingfacehub
# This magically does the right thing to create the dataset, including
# setting the label names and IDs.
ds = load_dataset("audiofolder", data_dir="down_on/data")
from huggingface_hub import login
login()
ds.push_to_hub("MatsRooth/down_on",private=False,embed_external_files=True)