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-image to the YAML metadata, which ensures the model is correctly categorized and discoverable on the Hugging Face Hub.
  • Adding library_name: diffusers to the YAML metadata. Evidence from the GitHub README (pip install git+https://github.com/huggingface/diffusers) and the inference code demonstrates compatibility with diffusers, 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.

Jinpeng Group org

Thank you so much!!! I will modify model card quickly

Cannot merge
This branch has merge conflicts in the following files:
  • README.md

Sign up or log in to comment