Improve model card: Add `library_name` metadata and comprehensive sample usage

#1
by nielsr HF Staff - opened

This PR enhances the model card by:

  • Adding library_name: transformers to the metadata, enabling the "how to use" button and better discoverability on the Hugging Face Hub.
  • Expanding the "How to use" section with detailed code examples for text generation and demonstrating how to obtain expert routing probabilities, which is a key feature of this Mixture-of-Experts (MoE) model and aligns with the paper's focus on interpretability.
  • Adding a brief introduction to summarize the paper's core contributions and the model's purpose.
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment