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

Hugging Face Hub Integration #2

Open
osanseviero opened this issue Aug 24, 2021 · 6 comments
Open

Hugging Face Hub Integration #2

osanseviero opened this issue Aug 24, 2021 · 6 comments

Comments

@osanseviero
Copy link

Hi there!

Focal Transfomers look very interesting! I see you currently save your model checkpoints through links to a hosted server. Would you be interested in sharing the pretrained models in the Hugging Face Hub through the Microsoft organization?

The Hub offers free hosting of over 20K models, and it would make your work more accessible and visible to the rest of the community. Some of the benefits of sharing your models would be:

  • versioning
  • commit history and diffs
  • branches
  • repos provide useful metadata about their tasks, languages, metrics, etc

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.

Happy to hear your thoughts,
Omar and the Hugging Face team

cc @LysandreJik

@jwyang
Copy link
Member

jwyang commented Aug 25, 2021

Hi, Omar,

Very glad that you noticed our work! That would be great if the models can be integrated into the Hugging Face Hub! I do not have any experience with this. What should I do for this goal? Should I follow the step-by-step guide you shared above?

thanks,
Jianwei

@osanseviero
Copy link
Author

Hi Jianwei!

If you share your Hugging Face username, I can add you to the Microsoft organization. Once that's done, I think you can follow the step-by-step guide for each model:

  1. Create a repo under the Microsoft org
  2. Clone locally
  3. Add your checkpoint
  4. And push :)

I would also suggest to create a nice model card that provides information about the model. I'm happy to give further pointers and guide you through the process via Slack as well if you prefer!

@jwyang
Copy link
Member

jwyang commented Aug 25, 2021

Hi, Omar,

Thanks for your instructions! I just created a user account and the username is jw2yang. Once you add me to the Microsoft organization, I can try to follow your step-by-step guide to push the models. I will be very likely to ask you more questions through slack, :)

thanks!

@osanseviero
Copy link
Author

Cool! We've added you to the organization!

@jwyang
Copy link
Member

jwyang commented Aug 25, 2021

thanks!

@mathshangw
Copy link

excuse me does the code exist in hugging face yet or not

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

3 participants