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

Sharing your models on the Hugging Face Hub #3

Open
NimaBoscarino opened this issue Jun 27, 2022 · 3 comments
Open

Sharing your models on the Hugging Face Hub #3

NimaBoscarino opened this issue Jun 27, 2022 · 3 comments

Comments

@NimaBoscarino
Copy link

Hello there! First of all, thank you for open-sourcing your work!

I saw that you're hosting the GNet and MNet model files on your website – Would you be interested in also sharing them as gated models on the Hugging Face Hub?

The Hub makes it easy to freely download and upload models, and it can make models more accessible and visible to the rest of the ML community. It's good way to share useful metadata and metrics, and we also support features like TensorBoard visualizations and PapersWithCode integrations. Since models are hosted as Git repos, they're also automatically versioned with a commit history and diffs. We could even help you set up an organization (e.g. see the Facebook AI or Stanford NLP organizations).

We have a step-by-step guide that explains the process for uploading the model to the Hub, in case you're interested. We also have a library for programmatic access to uploading and downloading models, which includes features like caching for downloaded models.

We also host datasets on the Hub, so I'll open up a separate issue over on https://github.com/otaheri/GRAB/ in case you're interested in making the dataset available on Hugging Face too 😊

Please let us know if you have any questions, and we'd be happy to guide you through the process!

Nima and the Hugging Face team

cc @osanseviero @lhoestq

@otaheri
Copy link
Owner

otaheri commented Aug 10, 2022

Hi @NimaBoscarino , thank you for reaching out regarding publishing our work on the great hugging face space.

Definitely, I would be interested in adding this work and our two other works on hugging face. However, there are some challenges in this regard like 1. The license for our body/hand models (SMPLX and MANO models), 2. The license for the 3D objects in our GRAB dataset, and 3. The trained models. I am sure you have a solution for these :). If so, I would be more than happy to start adding them on hugging face and would appreciate your help along the way.

Please let me know if you have any solutions and then I will get my hands on moving to hugging face hub ;).

Best,
Omid

@NimaBoscarino
Copy link
Author

NimaBoscarino commented Aug 15, 2022

Hi @otaheri, apologies for the delayed reply! Glad to hear you're interested in publishing your work on Hugging Face 😄 As for the challenges:

  1. For models I don't think you would need to worry about the licenses of the dependencies since you'd only be uploading your model's weights, but if you wanted to make a demo on Hugging Face Spaces it could be something to consider. For SMPLX, for the Yuliang/ICON space it looks like the author added it directly into their code repo. In your code, you install it in the requirements.txt which is also good! There would be no need to upload SMPLX to the Hugging Face Hub, and users on the Hub won't be able to directly access that model's checkpoints, so (from the way I understand SMPLX's license) I think that it would be okay as it is. Likewise for the MANO models!
  2. We have a number of licenses included in the Hub, and you could also specify your own license like you've done on GitHub! If you'd like to add further restrictions on how the GRAB dataset can be accessed, you could do it by making it a "gated" dataset, or you could even make it a private dataset if you only want to share it with other members of your research group.
  3. Same as with datasets, you can add your own license, and even restrict the model as a "gated" model or a private model.

Hopefully that helps a bit! Let me know if there are still open questions 😄

Also, if you'd like, I can create a "Max Planck Institute for Intelligent Systems" organization on Hugging Face so that all your material can live in there!

@NimaBoscarino
Copy link
Author

Hey @otaheri! Just bumping this in case you're still interested 😄 I'm happy to help out with it!

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