Add `library_name: transformers` and enhance model card with detailed usage

#1
by nielsr HF Staff - opened

This PR significantly improves the model card by:

  • Adding the library_name: transformers metadata, which enables the automated "how to use" widget on the Hugging Face Hub, showcasing integration with the transformers library.
  • Updating the Quick Start section to feature the explicit transformers-based model loading and generation code snippet from the GitHub README, ensuring consistency and clarity for users.
  • Incorporating additional valuable sections from the GitHub README, including Data Processing, Training, Evaluation, and Repository Structure, to provide a more comprehensive overview of the model and its usage.
  • Removing the redundant text-generation tag from the metadata.

These changes make the model card more informative and user-friendly for the Hugging Face community.

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

Sign up or log in to comment