Closed NielsRogge closed 8 hours ago
Thank you very much for your suggestions! If there are updates I will let you know immediately.
Hi @NielsRogge
Thanks for your valuable suggestions. We've now:
Your assistance is greatly appreciated!
Best, Bin
Thanks, looking great!
Note that for download stats to work, you will need to run the code snippet above for each of the model repos (basically overwriting them). As the class now inherits from PyTorchModelHubMixin
, a config.json along with safetensors
weights will be pushed.
Thanks, looking great!
Note that for download stats to work, you will need to run the code snippet above for each of the model repos (basically overwriting them). As the class now inherits from
PyTorchModelHubMixin
, a config.json along withsafetensors
weights will be pushed.
Noted, thanks for your contribution again!
Hi @wangbinDL,
Thanks for this nice work, great to see the models being released on the hub! Your paper was featured on the daily papers: https://huggingface.co/papers/2410.12628. Would be great to link the models to the paper.
To make download stats work, I wrote a PR similar to https://github.com/THU-MIG/yolov10/pull/168 which I did for the YOLOv10 repository.
It leverages the PyTorchModelHubMixin developed by the š¤ team to make sure a custom PyTorch model like yours:
from_pretrained
andpush_to_hub
methodsUsage is as follows:
Besides that, some more suggestions to improve the HF release:
Let me know whether you need any help!
Kind regards,
Niels from HF