Improve model card: Add `library_name`, GitHub link, and project overview

#1
by nielsr HF Staff - opened

This PR enhances the model card by:

  • Adding the library_name: transformers tag to the metadata, enabling the automated "how to use" widget on the Hub, as the model is compatible with the transformers library (evidenced by Qwen2ForCausalLM architecture in config.json).
  • Updating the introductory text and adding an explicit link to the GitHub repository (https://github.com/xingbpshen/prompt4trust) in the main content for better discoverability of the codebase.
  • Incorporating the detailed "Overview" section from the project's GitHub README to provide a more comprehensive description of the model, replacing the less descriptive "Repository Content." The image path within this section has been updated to an absolute URL to ensure correct rendering on the Hub.
  • Specifying python for the usage code block for improved syntax highlighting.

Please review and merge if these updates look good.

xingshen changed pull request status to merged

Sign up or log in to comment