Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release artifacts (models, dataset) on Hugging Face #1

Open
NielsRogge opened this issue Dec 17, 2024 · 2 comments
Open

Release artifacts (models, dataset) on Hugging Face #1

NielsRogge opened this issue Dec 17, 2024 · 2 comments

Comments

@NielsRogge
Copy link

Hi @wzk1015,

Niels here from the open-source team at Hugging Face. I discovered your work through Hugging Face's daily papers as yours got featured: https://huggingface.co/papers/2412.09428.
The paper page lets people discuss about your paper and lets them find artifacts about it (your models, datasets or demo for instance), you can also claim
the paper as yours which will show up on your public profile at HF.

It'd be great to make the checkpoints and dataset available on the 🤗 hub, 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-or-username/your-dataset")

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

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 🤗

@wbs2788
Copy link
Owner

wbs2788 commented Dec 23, 2024

Hi Niels,

Thank you for reaching out and for featuring our paper on Hugging Face's daily papers! It’s great to see the support and resources that Hugging Face offers to the research community.

I’m very interested in making our checkpoints and dataset available on the 🤗 Hub to enhance their visibility and usability. Your detailed guidance and links to the resources are very helpful—I appreciate the effort you've put into this.

Thank you again for the encouragement and support!

Best regards,
Baisen Wang

@wbs2788 wbs2788 closed this as completed Dec 23, 2024
@NielsRogge
Copy link
Author

Thank you for the reply! Would it be possible to keep this issue open so that we can track it?

@wbs2788 wbs2788 reopened this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants