JusperLee / SonicSim

http://cslikai.cn/SonicSim/
Creative Commons Attribution Share Alike 4.0 International
145 stars 22 forks source link

Release SonicSim models + datasets on Hugging Face #4

Open NielsRogge opened 2 weeks ago

NielsRogge commented 2 weeks ago

Hi @JusperLee,

Niels here from the open-source team at Hugging Face. I discovered your work as it got featured by AK's daily papers: https://huggingface.co/papers/2410.01481. The paper page lets people discuss the paper, and discover its artifacts (such as models, dataset, a demo in the form of a πŸ€— Space).

It'd be great to make the checkpoints and dataset available on the πŸ€— hub, rather than OneDrive, to improve their discoverability/visibility. We can add tags so that people find them when filtering https://huggingface.co/models and https://huggingface.co/datasets.

Uploading models

See here for a guide: https://huggingface.co/docs/hub/models-uploading.

In this case, we could leverage the PyTorchModelHubMixin class which adds from_pretrained and push_to_hub to any custom nn.Module. Alternatively, one can leverages the hf_hub_download one-liner to download a checkpoint from the hub.

We encourage researchers to push each model checkpoint to a separate model repository, so that things like download stats also work. We can then also link the checkpoints to the paper page.

Uploading dataset

Would be awesome to make the dataset available on πŸ€— , so that people can do:

from datasets import load_dataset

dataset = load_dataset("your-hf-org/your-dataset")

See here for a guide: https://huggingface.co/docs/datasets/audio_load

Besides that, there's the dataset viewer which allows people to quickly explore the first few rows of the data in the browser.

Let me know if you're interested/need any help regarding this!

Cheers,

Niels ML Engineer @ HF πŸ€—

JusperLee commented 1 week ago

Hi Niels,

Thank you for reaching out and for your interest in our work.

I will be uploading the model soon. However, the dataset might take a bit more time to prepare. I can package it and upload it once it’s ready.

Best regards, JusperLee