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: transformersmetadata, which enables the automated "how to use" widget on the Hugging Face Hub, showcasing integration with thetransformerslibrary. - Updating the
Quick Startsection to feature the explicittransformers-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, andRepository Structure, to provide a more comprehensive overview of the model and its usage. - Removing the redundant
text-generationtag from the metadata.
These changes make the model card more informative and user-friendly for the Hugging Face community.