Improve model card: Add pipeline tag, library name, paper, project, and code links
#1
by
nielsr
HF Staff
- opened
This PR significantly enhances the model card for the "Glance: Accelerating Diffusion Models with 1 Sample" model by:
- Adding
pipeline_tag: text-to-imageto the YAML metadata, which ensures the model is correctly categorized and discoverable on the Hugging Face Hub. - Adding
library_name: diffusersto the YAML metadata. Evidence from the GitHub README (pip install git+https://github.com/huggingface/diffusers) and the inference code demonstrates compatibility withdiffusers, enabling the automated "how to use" widget on the Hub. - Adding a clear main title reflecting the paper: "Glance: Accelerating Diffusion Models with 1 Sample".
- Including explicit links at the top to the Hugging Face paper page, the official project page (
https://zhuobaidong.github.io/Glance/), and the GitHub repository (https://github.com/CSU-JPG/Glance) for easy access to more information. - Adding a concise "About" section derived from the paper's abstract to quickly inform users about the model's contributions.
- Preserving the existing "Usage" and "Inference" sections, including the Python code snippet, as found in the GitHub README.
- Including the "Training" section and the BibTeX citation from the GitHub repository for completeness and proper attribution.
- Removing redundant metadata (
--- license: apache-2.0 ---) from the markdown content, consolidating all metadata in the YAML front matter.
These updates make the model card more informative, discoverable, and user-friendly for the community.
Thank you so much!!! I will modify model card quickly