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

PYRA on Hugging Face #1

Open
NielsRogge opened this issue Sep 28, 2024 · 2 comments
Open

PYRA on Hugging Face #1

NielsRogge opened this issue Sep 28, 2024 · 2 comments

Comments

@NielsRogge
Copy link

Hello @Bostoncake 🤗

I'm Niels and I work on computer vision at Hugging Face. I see your paper is accepted as ECCV Poster, congratulations! I will index it here https://huggingface.co/papers/2403.09192 at paper pages. The paper page lets people discuss about your paper and lets them find artifacts about it (your model for instance) you can also claim the paper as yours which will show up on your public profile at HF.

Would you like to host the model you've pre-trained with this technique on https://huggingface.co/models? I see you're using Google Drive for it. Hosting on Hugging Face will give you more visibility.

If you're down, leaving a guide here. If it's a PyTorch model, you can use PyTorchModelHubMixin class which adds from_pretrained and push_to_hub to the model which lets you to upload the model and people to download and use models right away.
If you do not want this and directly want to upload model through UI or however you want, people can also use hf_hub_download.

After uploaded, we can also link the models to the paper page (read here) so people can discover your model.
You can also build a demo to your model on Spaces we can provide you an A100 grant.

What do you think?

@Bostoncake
Copy link
Collaborator

Bostoncake commented Oct 17, 2024

Hi @NielsRogge,

Sorry for the late reply. Thank you so much for your congratulations and for indexing our paper on the Hugging Face platform. We appreciate the visibility and opportunities it provides.

Regarding your suggestion to host the model on Hugging Face, I’d like to clarify that our PYRA method is specifically a fine-tuning technique applied to pre-trained models for downstream tasks rather than a pre-training approach. The models available on Google Drive are pre-trained models for reproducing the fine-tuning experiments outlined in our paper. Therefore, we do not have any model weights ready for deployment at this time.

However, we would be happy to host our code on huggingface if that’s possible, and we appreciate any guidance on that front.

Thank you again for your support and assistance!

@NielsRogge
Copy link
Author

I see, thanks for clarifying :)

Nevertheless, we hope that researchers like you upload their artifacts to the hub in the future for easier discoverability/accessilbility :) it can have a massive impact on the visibility of your work.

Regarding hosting the code, sure that is possible, although the hub is mostly meant to host models, datasets and demos (in the form of a Gradio, Streamlit or Docker demo on Spaces).

Do you have any future works that you plan to release anytime soon? We're happy to assist with the integration :)

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