Improve model card: Add metadata, tags, and usage example

#1
by nielsr HF Staff - opened

This PR significantly improves the model card by:

  • Adding pipeline_tag: text-generation and library_name: transformers to the metadata, which enhances discoverability and indicates compatibility with the Hugging Face ecosystem.
  • Including additional tags such as speculative-decoding and inference-acceleration for more granular filtering.
  • Expanding the model description with an overview of SpecDec++ derived from the paper's abstract, providing better context.
  • Integrating a comprehensive and runnable Python code snippet directly from the paper's GitHub repository (specdec_pp/sample.py), guiding users on how to load and use the Acceptance Prediction Head for accelerated text generation.

The existing arXiv paper link and GitHub repository link are preserved. As no explicit project page URL was provided, it has not been included.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment