Skip to content

Improve discoverability on HF, make download stats work #1

Description

@NielsRogge

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 🤗

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions