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 discoverability of your work on HF #2

Open
NielsRogge opened this issue Jul 26, 2024 · 0 comments
Open

Improve discoverability of your work on HF #2

NielsRogge opened this issue Jul 26, 2024 · 0 comments

Comments

@NielsRogge
Copy link

Hi,

Niels here from the open-source team at Hugging Face. I discovered your work through the paper page: https://huggingface.co/papers/2407.15060 (feel free to claim the paper so that it appears at your HF account!).

However there are a couple of things which could improve the discoverability of your work, which I've listed below.

Add a model card

I see the model is already on the hub: https://huggingface.co/Cyan0731/MusiConGen, however it currently has no model card. Would be great to add one!

See here: https://huggingface.co/docs/hub/en/model-cards.

Moreover, the model could be linked with the paper, see here on how to do that: https://huggingface.co/docs/hub/en/model-cards#linking-a-paper

Ensuring downloads work

Secondly, the download stats don't work for your model since the repository does not contain a config.json.

We recommend leveraging the PyTorchModelHubMixin to push your model to the hub and reload it using from_pretrained. This ensures a config.json along with safetensors weights are pushed to the hub.

Alternatively, we offer https://huggingface.co/docs/transformers/custom_models which ensures your model can be loaded using Transformers, with trust_remote_code=True.

Let me know if you need any help regarding this!

Cheers,

Niels
ML Engineer @ HF 🤗

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