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

HuggingFace integration #23

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

not-lain
Copy link

@not-lain not-lain commented Sep 23, 2024

This PR will allow your model to be available on huggingface making users to access it with ease.
the PyTorchModelHubMixin will add 3 methods to your model similar to the transformers library :

  • push_to_hub
  • from_pretrained
  • save_pretrained

to help you setup your model on the hub you can follow the instructions in this colab notebook :
https://colab.research.google.com/drive/1FmInXvJ1v6WJ7TbqXAVvIrth7kwO_Scx?usp=sharing

By using PyTorchModelHub you can get access to :

  • know how many times your model has been downloaded from huggingface each month
  • filter huggingface and check how many deet models exist on the hub

If you have any questions or feedback feel free to let me know.

Regards

  • Hafedh Hichri (Lain)

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

Successfully merging this pull request may close these issues.

1 participant