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 on HF, make download stats work #1

Open
NielsRogge opened this issue Jul 15, 2024 · 3 comments
Open

Improve discoverability on HF, make download stats work #1

NielsRogge opened this issue Jul 15, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@NielsRogge
Copy link

NielsRogge commented Jul 15, 2024

Hi @wanghao9610,

Congrats on this work! Niels here from the open-source team at Hugging Face. It's great to see you're releasing models on HF :) however some remarks:

Download stats

I also see that currently download stats aren't working for your models. This is due to the model repository containing various checkpoints, which do not contain a config.json file. See here for more info: https://huggingface.co/docs/hub/models-download-stats. Usually we recommend to push checkpoints each to a single repository.

Hence I was wondering whether you would be interested in leveraging either hf_hub_download or the PyTorchModelHubMixin to push model checkpoints to separate model repositories, each containing a config.json and safetensors file (which is considered safer than pickle). This would ensure downloads are working.

Discoverability

Next to that, we could also improve the discoverability of your models by adding a "zero-shot-object-detection" tag, along with a model card. See here for more info: https://huggingface.co/docs/huggingface_hub/en/guides/model-cards.

This ensures people can find your models at https://huggingface.co/models?pipeline_tag=zero-shot-object-detection&sort=trending.

Let me know if you need any help!

Cheers,

Niels
ML Engineer @ HF 🤗

@wanghao9610
Copy link
Owner

Thanks for your advice @NielsRogge , I will continue to add our code with hf_hub_download in the next few weeks, I may ask for your help. Thanks again in advanced.

@robinjoe93
Copy link

robinjoe93 commented Aug 6, 2024

@wanghao9610 预计什么时候可以在hf上跑你们的模型?感觉你们的模型跟grounding dino1.5Pro效果差不多诶。

@wanghao9610
Copy link
Owner

@robinjoe93 hf transformers的适配有点繁琐,还有一些其他的工作需要完成。我会尽快的,预计8月中下旬可以完成

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants