Improve model card: Add pipeline tag, library name, project page, and usage example
#1
by
nielsr
HF Staff
- opened
This PR significantly enhances the model card by adding:
- The
pipeline_tag: image-text-to-text, ensuring the model is discoverable under its relevant task on the Hugging Face Hub. - The
library_name: transformers, to enable the "How to use" widget and provide a direct code snippet for users, as the model is compatible with the 🤩 Transformers library. - A link to the official project page: https://tpr-dpo.github.io.
- An updated link to the main GitHub repository: https://github.com/tpr-dpo/tpr-dpo.
- A "Usage" section with a Python code snippet from the GitHub repository, demonstrating how to perform inference.
- Improved the main title and added sections like "Overview" and "Dialogue Examples" from the GitHub README for better context.
These additions make the model card more comprehensive, user-friendly, and aligned with Hugging Face best practices.