Update model card: add pipeline, library tags, correct license, and fix paper link

#1
by nielsr HF Staff - opened

This PR improves the model card for the C3-Context-Cascade-Compression model by:

  • Adding pipeline_tag: text-generation for better discoverability on the Hub, as the model performs text compression and decoding.
  • Adding library_name: transformers, enabling the automated "How to use" widget, as evidenced by the transformers library usage in the code snippet and config.json.
  • Updating the license from mit to apache-2.0, aligning with the code license explicitly specified in the GitHub repository.
  • Correcting the broken paper link in the main title to the official Hugging Face paper page.
  • Removing a redundant metadata block (--- license: mit ---) from the content section, as metadata should only appear in the YAML front matter.

These changes enhance the model's visibility and user experience on the Hugging Face Hub.

liufanfanlff changed pull request status to merged

Sign up or log in to comment