huggingface / diffusers

🤗 Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch and FLAX.
https://huggingface.co/docs/diffusers
Apache License 2.0
26.09k stars 5.38k forks source link

(Re)implement model cards for the training examples #1021

Open anton-l opened 2 years ago

anton-l commented 2 years ago

748 didn't account for diffusers.hub_utils.create_model_card() (called by hub_utils.push_to_hub() which was replaced by repo.push_to_hub()) that was responsible for creating model cards like https://huggingface.co/anton-l/ddpm-ema-flowers-64 , so now they come out empty.

But since the model card generation logic is now available in huggingface_hub, we can start implementing it across all of the the training scripts (not just the unconditional example).

patrickvonplaten commented 2 years ago

Agree