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

Improve HF integration #1

Open
NielsRogge opened this issue Sep 23, 2024 · 0 comments
Open

Improve HF integration #1

NielsRogge opened this issue Sep 23, 2024 · 0 comments

Comments

@NielsRogge
Copy link

Hi @haidog-yaqub and team,

Niels here from the open-source team at Hugging Face. I discovered your work through the daily papers: https://huggingface.co/papers/2409.10819 (feel free to claim authorship with your HF account). I work together with AK on improving the visibility of researchers' work on the hub.

I see you already made a demo on the 🤗 hub which is great. I've got a couple of suggestions on improving the HF integration:

We can then also add tags to the model repos, such as pipeline_tag: text-to-audio, so that people find your models at https://huggingface.co/models?pipeline_tag=text-to-audio&sort=trending.

Uploading models

See here for a guide: https://huggingface.co/docs/hub/models-uploading. In case the models are custom PyTorch model, we could probably leverage the PyTorchModelHubMixin class which adds from_pretrained and push_to_hub to each model. 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. Moreover, we can then link the checkpoints to the paper page, improving their visibility.

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

Cheers,

Niels
ML Engineer @ HF 🤗

cc @Vaibhavs10

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

1 participant