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 project with Hugging Face Hub #1

Open
qubvel opened this issue Jul 30, 2024 · 1 comment
Open

Improve discoverability of your project with Hugging Face Hub #1

qubvel opened this issue Jul 30, 2024 · 1 comment

Comments

@qubvel
Copy link

qubvel commented Jul 30, 2024

Hey!

I'm Pavel, from the open-source team at Hugging Face. Congrats on your work and acceptance to ECCV2024!

It would be great to make the checkpoints available on HF, along with dedicated model cards, which also enhance the visibility of your work. People can find them when searching https://huggingface.co/models?pipeline_tag=mask-generation&sort=trending.

This also comes with download stats, so that you see how many times people download your models.
e.g. clip-vit-large-patch14 has been downloaded 42M times last month: https://huggingface.co/openai/clip-vit-large-patch14.

  1. Upload checkpoints in separate model repos.
    Ideally, each checkpoint is pushed to a separate model repository. Here's a guide for uploading models to the 🤗 hub: https://huggingface.co/docs/hub/models-uploading. For this use case, I assume that the PyTorchModelHubMixin class is best suited, it creates a config.json along with safetensors for each model.

  2. Make the model Transformers compatible.
    In case you want your models to be usable through the Transformers library with trust_remote_code=True, I highly recommend following this guide: https://huggingface.co/docs/transformers/custom_models. It allows people to use your backbones using the AutoModel and AutoModelForMaskGeneration APIs. We recently did the same with the MambaVision author, as shown here: https://huggingface.co/collections/nvidia/mambavision-66943871a6b36c9e78b327d3.

Let me know if you need any help regarding this!

Thanks,

Pavel
ML Engineer @ HF 🤗

@bit-scientist
Copy link

I believe @byminji can help.

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