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

Upload models to the Hugging Face Hub #1

Open
osanseviero opened this issue Jun 22, 2023 · 4 comments
Open

Upload models to the Hugging Face Hub #1

osanseviero opened this issue Jun 22, 2023 · 4 comments

Comments

@osanseviero
Copy link

Hi!

Very cool work! It would be nice to have the model checkpoints on the Hugging Face Hub rather than a Dropbox link

Some of the benefits of sharing your models through the Hub would be:

  • versioning, commit history and diffs
  • repos provide useful metadata about their tasks, languages, metrics, etc that make them discoverable
  • multiple features from TensorBoard visualizations, PapersWithCode integration, and more
  • wider reach of your work to the ecosystem

Creating the repos and adding new models should be a relatively straightforward process if you've used Git before. This is a step-by-step guide explaining the process in case you're interested. Please let us know if you would be interested and if you have any questions.

@yilunliao
Copy link
Member

Hi @osanseviero

I see. Thanks for the suggestion!

Let me ask other people to see if that is ok to them.
If yes, I will do that this weekend or next week and get back to you.

Please ping me if you do not receive my response after that.

@yilunliao
Copy link
Member

Hi @osanseviero

I have uploaded models to my personal Hugging Face Hub.

Just curious if you have some good examples of using the Hub to store models.

The checkpoints of this work would be stored along with other OCP models.
However, I would use the Hub to store models in my future works.

@osanseviero
Copy link
Author

osanseviero commented Jun 29, 2023

Hi there! You can explore some of the most popular models here, from Stable Diffusion to StarCoder, bert, Falcon, and many others :) In general, we recommend one model repository per model.

Model cards are recommended to ensure the community is able to understand the model, how to use and which are its limitations or intended use cases. We have docs about them in https://huggingface.co/docs/hub/model-cards.

You can also use the huggingface_hub Python library to access models on the Hub programmatically

@yilunliao
Copy link
Member

@osanseviero I see. That looks pretty great. Let me learn more and use it for future works if applicable.

Thanks for the comment.

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