Improve model card: Add pipeline tag, library name, and direct links

#1
by nielsr HF Staff - opened

This PR enhances the model card for DiagAgent-7B by:

  • Adding the pipeline_tag: text-generation to improve discoverability on the Hugging Face Hub, as this model performs diagnostic reasoning through text generation.
  • Adding library_name: transformers to enable the automated "how to use" widget, as the model is explicitly shown to be compatible with the πŸ€— Transformers library in its quickstart.
  • Adding prominent links to the paper, project page, and GitHub repository at the top of the model card for easier access.
  • Updating the paper link in the "Details can be found in our paper" section to point to the official Hugging Face paper page.
  • Converting relative internal links (e.g., to evaluation and training scripts) into absolute GitHub URLs for better robustness.
  • Ensuring the citation block is correctly formatted as a bibtex block.
  • Replacing the brief "Training Details" with the more comprehensive "Model Training" section from the project's GitHub README.

These additions and improvements will make the model more accessible and informative for users.

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

Sign up or log in to comment