Improve model card: Add paper details, metadata, and usage for Switch Generation

#1
by nielsr HF Staff - opened

This PR significantly improves the model card for the Switch Generation model.

Key changes include:

  • Updating the metadata with pipeline_tag: text-generation and license: apache-2.0 for better discoverability and clarity. The library_name: transformers has been confirmed based on file evidence (tokenizer_config.json, generation_config.json, adapter_config.json).
  • Replacing placeholder content with a detailed model description derived from the paper's abstract.
  • Adding direct links to the research paper (Don't Throw Away Your Pretrained Model) and the GitHub repository (BunsenFeng/switch_generation).
  • Including the "Quick Start" code snippet directly from the GitHub README to provide immediate, actionable sample usage instructions.
  • Adding a proper BibTeX citation for the paper.

These updates will greatly enhance the model's visibility, provide essential context, and improve the user experience on the Hugging Face Hub.

bunsenfeng changed pull request status to merged

Sign up or log in to comment